For Agents
Detect the language of any text and return ISO codes with confidence scores. Supports 216 languages, batch detection, and account quota lookup.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Detect Language API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Detect Language 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
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 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.
Retrieve the full list of 216 supported languages with their ISO codes
Tag inbound user-generated content with a detected language code for routing
Patterns agents use Detect Language 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.
Specific to using Detect Language 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.