For Agents
Detect the language of any text and return ISO codes with confidence scores. Supports 216 languages, batch detection, and account quota lookup.
Get started with Detect Language API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"detect text language"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with Detect Language API API.
Identify the language of a single text string with a confidence score and reliability flag
Run batch language detection against an array of texts in one call
Check current account status including remaining daily detection quota
Retrieve the full list of 216 supported languages with their ISO codes
GET STARTED
Use for: Detect what language this text is written in, Run batch language detection on a list of customer messages, Check how many language detections we have left today, List all supported languages and their ISO codes
Not supported: Does not perform translation, transliteration, or content moderation — use for language identification only.
Jentic publishes the only available OpenAPI document for Detect Language API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for Detect Language API, keeping it validated and agent-ready. Detect Language is a hosted language identification service that detects the language of arbitrary text across 216 languages. It returns confidence scores and reliability indicators per detection, supports both single-text and batch detection, and exposes account status so applications can monitor remaining quota. Typical use cases include routing inbound messages to the right localisation pipeline and tagging user-generated content.
Tag inbound user-generated content with a detected language code for routing
Patterns agents use Detect Language API API for, with concrete tasks.
★ Inbound Message Routing
Customer support and community platforms use Detect Language to tag incoming messages with a language code so they can route to the correct language-skilled agent or auto-translate before display. The single-call /detect endpoint returns ISO 639-1 codes with confidence and reliability flags, suitable for sub-second routing decisions on chat or email ingestion.
Call POST /detect with the body of an inbound support ticket and assign the ticket to the queue matching the returned language code.
Bulk Content Classification
Product catalogues, review sites, and UGC platforms run periodic batch jobs to backfill language tags across millions of records. The /detect/batch endpoint accepts an array of texts and returns one detection per item, reducing the per-record HTTP overhead compared to single calls.
Send POST /detect/batch with an array of 100 review texts and persist the language code for each review back to the database.
Quota Monitoring and Alerting
Teams that depend on Detect Language for production traffic poll the /user/status endpoint to track daily quota burn-down. This lets ops set up alerts before exhaustion and decide whether to upgrade the plan or queue non-critical detections.
Call GET /user/status and post an alert to Slack if remaining daily detections drops below 10% of the plan limit.
Agent-Driven Multilingual Triage
AI agents handling multilingual user input use Detect Language through Jentic to identify the input language before deciding whether to translate, route, or escalate. Jentic stores the bearer token in the credential vault and the agent calls the API without ever seeing the secret.
Search Jentic for 'detect text language', load the /detect operation schema, and execute it with the user's stored Detect Language token to return a language code.
4 endpoints — jentic publishes the only available openapi specification for detect language api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/detect
Detect the language of a single text
/detect/batch
Detect language for an array of texts in one call
/user/status
Retrieve account status and remaining quota
/languages
List all supported language codes
/detect
Detect the language of a single text
/detect/batch
Detect language for an array of texts in one call
/user/status
Retrieve account status and remaining quota
/languages
List all supported language codes
Three things that make agents converge on Jentic-routed access.
Credential isolation
The Detect Language bearer token is stored encrypted in the Jentic vault. Agents receive scoped execution and never see the raw token — Jentic injects it into the Authorization header at call time.
Intent-based discovery
Agents search Jentic by intent (e.g. 'detect what language this text is') and Jentic returns the matching /detect operation with its input schema so the agent does not need to browse Detect Language docs.
Time to first call
Direct Detect Language integration: a few hours for auth and error handling. Through Jentic: under 15 minutes — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Google Cloud Translation API
Google Cloud Translation includes language detection alongside translation in a single SDK.
Choose Google Cloud Translation when the workflow also needs translation, not just detection, and you already use GCP for billing and IAM.
OpenAI API
Pair Detect Language for fast cheap detection with OpenAI for translation or downstream understanding.
Use Detect Language for the fast detection pass, then route to an OpenAI completion only when downstream reasoning or translation is needed.
Anthropic Messages API
Use Anthropic Messages for downstream multilingual response generation after detection.
Use Anthropic for response generation in the detected language once Detect Language has classified the inbound text.
Specific to using Detect Language API API through Jentic.
Why is there no official OpenAPI spec for Detect Language API?
Detect Language does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Detect Language API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Detect Language API use?
Detect Language uses bearer token authentication. The token is sent in the Authorization header. Through Jentic, the bearer token is stored encrypted in the credential vault and injected at call time.
Can I run batch language detection with the Detect Language API?
Yes — POST /detect/batch accepts an array of texts and returns one detection per item, which is significantly more efficient than calling /detect in a loop for large content sets.
How many languages does the Detect Language API support?
The API detects 216 languages. Call GET /languages for the full list with ISO codes; this list is the canonical reference for what the /detect endpoint can return.
What are the rate limits for the Detect Language API?
Limits are tied to the account's daily detection quota rather than per-second rate limits. Call GET /user/status to read remaining quota and set up alerts before exhaustion.
How do I detect the language of an inbound message through Jentic?
Search Jentic for 'detect text language', load the /detect operation, and execute it with the message text. Jentic injects your bearer token at execution and returns the language code with confidence.