Table of Contents

GET /v1/words/languages

Languages the String field supports in Word mode. Word and Sentence mode support the same languages, so the response is the same as GET /v1/sentences/languages.

Request

No body, no query parameters.

curl https://api.alchemy.example/v1/words/languages \
  -H "X-Api-Key: YOUR_API_KEY"

Response

An array of { code, name }, alphabetical by name. A String field's language property accepts the name, such as Arabic, in any case. It does not accept the code.

[
  { "code": "ar", "name": "Arabic" },
  { "code": "bn", "name": "Bengali" },
  { "code": "en", "name": "English" }
]

The entries above are an example. Call the endpoint for the current list.

Requires an API key (see Authentication) but is not billed.