Skip to main content
POST
Language Id

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Text to identify the language of.

text
string
required

The text to identify the language of

Required string length: 3 - 200

Response

Successful Response

Identified language of the submitted text.

language
string
required

The identified language code

confidence
number | null

Model confidence in the identified language, 0-1. Omitted when the model does not report one. Callers wanting a stricter bar than the server's own threshold can filter on this.

Required range: 0 <= x <= 1