» Seamless Language Detection powered by Artificial Intelligence «

Language Detection

Offering a uniquely simple way to automate language detection using any programming language, accurate, efficient, and lightning fast »

Simple & Fast

Requested using an easy-to-integrate URL structure, processed by an ever-advancing AI engine, delivered in lightweight JSON format »

Advanced Features

Perform single language detection queries or even throw an entire array of query texts at us - we've got you covered, no queuing, no server load »

Easy on your Budget

Language detection is meant to be cost-effective - 5,000 monthly requests are free. Need more? Subscriptions start at friendly $9.99 per month »

Advanced Features

Perform single language detection queries or even throw an entire array of query texts at us - we've got you covered, no queuing, no server load »

Easy on your Budget

Language detection is meant to be cost-effective - 5,000 monthly requests are free. Need more? Subscriptions start at friendly $9.99 per month »


Scroll down and learn more
Scroll up and learn more

Powered by AI

Our detection algorithm is based on a system that improves continously with each detection performed.

173 Languages

At the current stage the API is capable of identifying text in 173 different languages and accents.

256-bit HTTPS

Ensure secure and encrypted datastreams by connecting to the API via industry-standard HTTPS.

Interactive Documentation

Once signed up, you will be able to try out the API's features as you go through their Documentation.

World-Class Tech Support

Our technical support team is great at giving you exactly the information that you need, when you need it.

Extended Usage Statistics

Track your API usage on a daily or monthly basis, and receive automatic notifications if you are running low.

Scroll down and learn more
Scroll up and learn more

Save bandwidth

Our language detection API is loved by developers all around the world for its efficient design, quick responses and low bandwidth consumption.

Integrate anywhere, any way

Our system is compatible with any programming language. Just make a request using the simple URL structure, and let our API do the rest »

Documentation
// standard (single) language detection

https://apilayer.net/api/detect

    ? access_key = YOUR_ACCESS_KEY
    & query = Hello+World  


// API returns matching languages 
// for the query "Hello World"
Scroll down and learn more
Scroll up and learn more

Standard Detection

Detect any of 173 languages simply by passing in your URL encoded query text into the API's request URL.

Batch Detection

Use the batch language detection endpoint to request the API to identify a series of query texts at once.

Probability Score

Each language match comes with a probability score based on how well the respective language was identified.

Confidence Percentage

Responses also include a confidence percentage indicating the API's level of confidence about the detection.

Reliable Result

JSON response object indicating whether or not the API is completely confident about the detection result.

[ and more ]

JSON Formatting, JSONP Callbacks, Access-Control (CORS) headers, HTTPS Encryption, and more.

Scroll down and learn more
Scroll up and learn more

Free Plan

Try it for Free
USD
0.00
/ mo
no catches
5,000 API Requests
 
 

Basic Plan

Standard Kit
50,000 API Requests
Batch Requests
Secure Datastreams

Professional Plan

Best Value
500,000 API Requests
Batch Requests
Secure Datastreams

Enterprise Plan

The All-Inclusive Suite
Unlimited API Requests
Batch Requests
Secure Datastreams