GET /language/{code}
Language API
Pass en or ja. Get the name, script, and direction.
Try it
{
"language": "en",
"name": "English",
"name_local": null,
"script": "Latn",
"direction": "ltr",
?deep=true
}1M requests · $20/mo. Get started
What comes back.
name
English name
name_local
The language's own name for itself (日本語 for ja), null when absent or identical to name
script
ISO 15924 script code (Latn, Jpan, Arab)
direction
ltr or rtl
deep.countries
ISO2 countries listing this language
1
Pass a code
ISO 639-1 or 639-3. Same record either way.
2
Get the native name
English name, endonym, script, LTR or RTL.
3
Pair it with /country
Country responses already carry these codes.
Coverage
Official language records.
- 159
- with a native name
- 15
- right-to-left
Pass en, ja, or gsw for the language name, native name, script, and reading direction. Both code lengths work: /language/en and /language/eng identify the same language.
Add deep=true for its three-letter code and associated countries, included on every plan. Country responses already include language codes.
SPEED
How long /language takes.
Median time to first byte over the last seven days. Warm requests, measured every 30 minutes. Live verification and other request variants can take longer.
US
19ms
EU
18ms
APAC
35ms
LatAm
20ms
ME
89ms
Make your first request.
One key works across the APIs. Copy a request in your language and get JSON back.
curl "https://api.parseapi.com/language/en" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Parse-Version: 2.0.0"// Example response · 200{"language": "en", "name": "English", "name_local": null, "script": "Latn", "direction": "ltr" }
API referenceSDKsKeys and authentication
Every response field
Response fields
- language
- BCP 47 shortest code. ISO 639-1 when it exists (en), ISO 639-3 otherwise (gsw)
- name
- English name
- name_local
- The language's own name for itself (日本語 for ja), null when absent or identical to name
- script
- ISO 15924 script code (Latn, Jpan, Arab)
- direction
- ltr or rtl
Deep fields
- deep.iso3
- ISO 639-3 code
- deep.countries
- ISO2 countries listing this language
QUESTIONS
- Which codes work?
- ISO 639-1 or 639-3. Same record either way.
- What comes back?
- Language code, English name, native name, script, and direction. Add deep=true for the three-letter code and associated countries, included on every plan.
Speak their language.
Language names, scripts, and text direction. Every plan.
Start includes 1M API requests a month for $20/mo.