Code language

Detect language

Detect the language in which the provided text is written.

POSThttp://analytics.eventregistry.org/api/v1/detectLanguage

BodyJSON, with Content-Type: application/json. GET with query parameters also works.

Examples

Detect the language of a text
REST request

How it works

Use the API call to detect the language in which the provided text is written. The output will provide a information about the reliability of the detected language as well as the list of most likely languages and the probability of that language. The languages as provided using their ISO1 and ISO3 language codes.

Parameters

Send them in the JSON body; the same names work as GET query parameters.

Core

2
apiKeyRequired
string
Your API key
textRequired
string
Text on which you want to detect the language.

Response

Example output is a real response; Output schema lists the fields the endpoint can return.

200 · application/json