Supported Languages
Get a list of all supported languages with their codes.
Endpoint
GET /v2/supported-languagesDescription
Get a list of all supported languages with their codes. TranslatePlus supports 100+ languages for translation.
💡
Use "auto" as the source language code to automatically detect the language of your text.
Headers
X-API-KEY string (required)
: Your API key for authentication
Example Request
curl https://api.translateplus.io/v2/supported-languages \
-H "X-API-KEY: your_api_key"Success Response (200 OK)
{
"supported_languages": {
"Auto Detect": "auto",
"English": "en",
"French": "fr",
"Spanish": "es",
"German": "de",
"Chinese (Simplified)": "zh-CN",
"Arabic": "ar",
"Japanese": "ja",
"Russian": "ru",
"Portuguese (Portugal, Brazil)": "pt"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
supported_languages | object | Object mapping language names to language codes |
Error Responses
401 Unauthorized
Invalid or missing API key:
{
"detail": "API key is required. Please provide X-API-KEY header."
}403 Forbidden
Invalid API key:
{
"detail": "Invalid API key. Please verify your API key is valid."
}