Detect Language API#



Detects text language

Input Params#

Parameter Type Requirement Explanation
q string required Any language text

Response Params#

Parameter Type Explanation
language string ISO Language Code
isReliable boolean text contains words in different languages then isReliable: true would identify that first detected language is significantly more probable than the second one. When only one language is detected isReliable: false would mean that confidence is very low.
confidence double Confidence value depends on how much text you pass and how well it is identified. The more text you pass, the higher confidence value will be. It is not a range, it can be higher than 100.

curl -H "Authorization: {api_key}" ""

Example Requests#

GET curl -H "Authorization: {api_key}" -L "{{url}}"

Example Response#


Error Handling#

HTTP response codes to indicate the success or failure of an API request.

Code Status Explanation
200 OK Successful request.
400 Bad Request Invalid request, or invalid parameters .
403 Authentication Not authorized.
404 Not Found The resource requested was not found.
5xx Server Error A fatal error occurred while processing the request. Try again.

All errors will be JSON object with a String array of errors:

  "errors": ["Malformed request"]

Plans Description#

Plan API Calls Price
Basic 5,000 requests/day 1 MB/day $5/Month Get this
Starter 100,000 requests/day 20 MB/day $15/Month Get this
Professional 1M requests/day 200 MB/day $30/Month Get this
Professional Plus 10M requests/day 2 GB/day $60/Month Get this

Try Now#

Input Params


↑ Was this documentation useful? Yes No

Ready to Get Started?#

Get API Key