APIs/Language

Language API

GET /language/{code}

Pass en, ja, or gsw and get back the language name, its 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/{code} already returns languages as these codes. Come here for the full record, native name and direction included.

225
languages
159
with a native name
15
right-to-left
100%
ISO 639 codes

Try it

$ curl "https://api.parseapi.com/language/en" \
  -H "X-API-Key: YOUR_API_KEY"

// 200 · ~16ms · USA
{
  "language": "en",
  "iso3": "eng",
  "name": "English",
  "local_name": "English",
  "script": "Latn",
  "direction": "ltr",
  "countries": [
    "AG",
    "AI",
    "AS",
    "AU",
    "BB",
    // ... 86 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

SPEED

Fast from everywhere.

Median time for a core lookup to reach a real city, first byte back, measured live from 16 cities.

US

16ms

EU

19ms

APAC

45ms

LatAm

20ms

ME

127ms

See live status →