← Docs

Language API

A language by ISO 639 code, name, script, direction.

Pass en, ja, or gsw. The English name, the language's own name for itself, the script it writes in, and whether it reads left-to-right or right-to-left. Both code lengths work: /language/en and /language/eng return the same thing.

/country already returns languages as these codes. Come here for the full record.

Lookup

GET
api.parseapi.com/language/{code}
By ISO 639 code. Name, native name, script, direction, countries
curl "https://api.parseapi.com/language/en" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "language": "en",
  "iso3": "eng",
  "name": "English",
  "local_name": "English",
  "script": "Latn",
  "direction": "ltr",
  "countries": [
    "AG",
    "AI",
    "AS",
    "AU",
    "BB",
    // ... 86 more
  ]
}
curl "https://api.parseapi.com/language/ja" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "language": "ja",
  "iso3": "jpn",
  "name": "Japanese",
  "local_name": "日本語",
  "script": "Jpan",
  "direction": "ltr",
  "countries": [
    "JP"
  ]
}
curl "https://api.parseapi.com/language/ar" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "language": "ar",
  "iso3": "ara",
  "name": "Arabic",
  "local_name": "العربية",
  "script": "Arab",
  "direction": "rtl",
  "countries": [
    "AE",
    "BH",
    "DJ",
    "DZ",
    "EG",
    // ... 20 more
  ]
}

Response fields

language
BCP 47 shortest code. ISO 639-1 when it exists (en), ISO 639-3 otherwise (gsw)
iso3
ISO 639-3 code
name
English name
local_name
The language's own name for itself (日本語 for ja), null when unknown
script
ISO 15924 script code (Latn, Jpan, Arab)
direction
ltr or rtl
countries
ISO2 countries listing this language

/language/eng resolves to the same en row.

curl "https://api.parseapi.com/language/eng" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "language": "en",
  "iso3": "eng",
  "name": "English",
  "local_name": "English",
  "script": "Latn",
  "direction": "ltr",
  "countries": [
    "AG",
    "AI",
    "AS",
    "AU",
    "BB",
    // ... 86 more
  ]
}

Questions? Email