Languagelayer is a simple and powerful REST API built to effiently match text of any length to its corresponding language, cross-referencing single words, expressions and grammatical constructions, as well as taking into account any existing accents, dialects and other linguistic deviations.
The languagelayer API relies on an ever-advancing, powerful and AI-based (Artificial Intelligence) detection algorithm, which increases in complexity and performance with each language detection API request performed. Only this way the languagelayer service can be capable of processing over 170 different languages & accents worldwide.
Despite its complexity behind the curtains, our language detection API continuously manages to stand out due to its easy-to-use REST interface, simple JSON response format, quick response time and low bandwidth consumption.
The languagelayer API is a product built and maintained by apilayer, an Austrian technology company aiming to help developers, startups and larger companies automate and outsource complex processes by serving them with dedicated and handy programming interfaces.
Our goal is to offer quick and simple access to our software with the objective of speeding up development of your applications and easing the burden on your back-end.
In a nutshell, language detection is based on probability. As a first step the languagelayer checks the requested query text against a number of known tri-grams for each supported (and for the particular request relevant) language. Let's take "What language is this?" as an example query text. In this case the first tri-gram is "Wha", the second tri-gram is "hat", the third tri-gram is "at", and so on, looping through the entire text until a general idea about which type of language we are dealing with is establshed.
In the next step, each word and word sequence contained in the query text will be processed separately, checked against known common words (confidence words) and cross-referenced with a number of language-specific word sequences.
Finally, each word is broken down into bits and checked against an constantly improving probability matrix containing rules about how one bit follows another bit in each particular language and language family.
Each step adds to the overall probability value for each language, and the language presenting the highest probability value is most likely the language the query text is written in. One last thing worth mentioning: The more words provided, the more accurate language detection results will be.
Each API request allows the languagelayer API to learn more about words, word sequences and linguistic contexts, which makes it the most reliable and consistent tool for automating language detection currently on the market.
Every registered user is assigned a personal Access Key, a unique "password" that can be used to access and query the languagelayer API. If you are logged in, you can find it in your Account Dashboard and in all interactive links contained in the API's Documentation.
In your Account Dashboard you can reset your Access Key at any given time.
In order to make an API Request, you are required to attach your Access Key to a valid API endpoint URL.
A key factor to this API's pricing model is the number of monthly API Requests offered for each individual Subscription Plan. Making a standard language detection request using the API's detect endpoint will increment your API usage by 1. A batch request will increment your API usage by the number of query parameters you are using.
Users will be automatically notified via e-mail and on their Account Dashboard once at least 75%, 90%, and 100% of their monthly API Request allowance has been reached.
Since our team is aware that requirements may be very variable, a Subscription Plan's Request volume may be exceeded by a maximum of 20%, which means that the actual hard-limit of - e.g. - the Professional Plan is 6,000, instead of 5,000.
Please rest assured that exceeding the monthly API Request allowance will not cause any additional charges.
The languagelayer API's system status is being closely monitored around the clock. Since every effort is made to ensure the highest possible level of consistency, we are happy to announce that our API's uptime is at around 99.9%. At the current stage we are not offering any public statistics, but we will be happy to provide you with recent uptime reports - ask us »
The Free Plan is set out to be a "trial version" without a time limit, offering a volume of 5,000 monthly API requests.
Paid Subscription Plans feature significantly higher API request volumes, ensure secure datastreams via 256-bit HTTPS Encryption, include unlimited and prioritised technical support, and offer a variety of must-have API functionalities.
As soon as you or your application requires more than 5,000 API requests per month and more professional API functionality, you would be well-advised to sign up for one of the paid Subscription Plans, starting at only USD 4.99 per month, or at a 20% discount - if you decide to pay anually.
There are two ways to change your payment frequency:
Change it manually 1. Downgrade your subscription to the Free Plan. (don't worry, your current Subscription Plan will remain active until the end of the current billing period) 2. Once the current billing period has ended, hence, once you are subscribed to the Free Plan, upgrade back to your preferred Subscription Plan - you will be asked to choose a new payment frequency.