Text Language API

POST

Identify the language behind any incoming text snippet.

Text Language detects the language of any input string, returning the full language name and its two-letter ISO 639-1 code. Send plain text passages or short snippets to identify incoming multilingual content.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/textlanguage
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "language": "french",
    "iso": "fr"
  }
}

About the Text Language API

Text Language works by analyzing the text and comparing it to a database of languages and ai models. It uses advanced algorithms to detect the language of the text and returns the language.

What people use it for

Localized Helpdesk Queuing
Helpdesk software inspects inbound contact messages to route each ticket to an agent fluent in the detected language.
User Review Indexing
When customers submit feedback across regional app stores, marketplaces tag each comment with its ISO code for localized sentiment tracking.
Forum Post Moderation
Community platforms check new discussion submissions to assign posts to regional moderators based on the returned language name.
Speech Engine Selection
Before generating synthetic audio, narration tools check input snippets to select the voice model matching the detected ISO code.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Text Language

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Text Language API.

Read the docs
Which plan fits 50,000 language checks a month?
Starter easily covers 50,000 language checks a month. At 2 credits per call, that volume uses 100,000 credits, which is half of the Starter allowance. It works out to about $0.30 per 1,000 calls. For evaluation, the Free plan includes 100 checks each month.
What identifiers does the response provide for a detected language?
Every successful check returns both the full English language name, such as French, and its standard ISO 639-1 code. This lets you present human-readable labels to users while using standardized two-letter codes in your database or routing logic.
What parameters are required to check a snippet?
You only need to submit a single required string in the text parameter. The service evaluates the content of that string and returns the identified language without requiring any optional configuration.
Can I submit short phrases as well as longer passages?
Yes. The endpoint accepts any plain text string, whether you send a brief user comment or a multi-sentence document. It analyzes the characters and words provided to detect the language.
Can the returned language code be used to triage incoming support tickets?
Yes. Multilingual support and ticket triage are standard use cases for Text Language. You can inspect the returned ISO 639-1 code to automatically route incoming customer messages to the appropriate localized queue or team.

Ready to build with Text Language? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs