How to programmatically detect that the quota is reached with a premium subscription


I integrate LT in my solution and I want to notify my users that they have reached the limit (number of requests per day, or other limit). Is there a http response code, a http header, or should I find a keyword in the response body ?

I can’t find how to correctly detect this on the documentation LanguageTool HTTP API

If I test with more than 20 requests in a minute on the free endpoint (, the error will be similar ?


The LT server usually sends code 429 if there are too many requests.

1 Like