L

Language Detection & Transliteration API

Freemium

Detect the language of any text (55 languages), transliterate Indian scripts (नमस्ते → namaste) and identify writing scripts.

No reviews yet
0.0Popularity—Service Level—Latency
Translationlanguage detectiontransliterationhindi to englishindian languages

Documentation

Detect the language of any text (55 languages), transliterate Indian scripts (नमस्ते → namaste) and identify writing scripts.

What you get

  • Language detection for 55 languages, with confidence
  • Batch detection — up to 100 texts
  • Transliteration between Devanagari, Bengali, Tamil, Telugu, Gujarati and other Indian scripts and Roman (IAST, ITRANS…)
  • Script detection — which writing systems a text uses

Great for content moderation, routing support tickets, search, chat apps and Indian-language products.

Quick start

Subscribe to a plan (the Basic plan is free), then call the API at https://language-detection.p.apihiver.com with your key in the X-API-Key header:

curl -X POST "https://language-detection.p.apihiver.com/v1/detect" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Bonjour tout le monde"}'

Endpoints

MethodPathWhat it does
POST/v1/detectDetect the language of a text
POST/v1/detect/batchDetect languages for up to 100 texts
GET/v1/languagesSupported languages
POST/v1/transliterateTransliterate between Indian scripts and Latin (e.g. नमस्ते → namaste)
POST/v1/scriptWhich writing systems (scripts) a text uses, with proportions

Open the Endpoints tab to see every parameter, example request and example response, and to try the API live.

Errors

Every error is JSON with the same shape:

{"error": {"code": "INVALID_INPUT", "message": "text: Field required"}}
HTTPCodeMeaning
400INVALID_INPUTA parameter is missing or has the wrong format — the message says which
401UNAUTHORIZEDMissing or invalid X-API-Key
429—Plan quota or rate limit reached (see the X-RateLimit-* headers)
502 / 503 / 504—A data source or the API server is temporarily unavailable — retry after a few seconds

Data & privacy

Data comes from langdetect and indic-transliteration, running on our servers.

Language Detection & Transliteration API FAQ

Is the Language Detection & Transliteration API free?
Yes. The Basic plan is free and includes 500 requests per month — no card needed. Paid plans start at ₹299 per month for 10,000 requests.
How much does the Language Detection & Transliteration API cost?
Basic: free for 500 requests; Pro: ₹299/month for 10,000 requests; Ultra: ₹999/month for 50,000 requests; Mega: ₹2,499/month for 2,00,000 requests. Billing is monthly and you can cancel any time.
How do I use the Language Detection & Transliteration API?
Subscribe to a plan on APIHiver, create an API key in the Console, then send requests to https://language-detection.p.apihiver.com with your key in the X-API-Key header. You can also try every endpoint in the browser playground first.
What endpoints does the Language Detection & Transliteration API have?
It has 5 endpoints: Detect the language of a text (POST /v1/detect); Detect languages for up to 100 texts (POST /v1/detect/batch); Supported languages (GET /v1/languages); Transliterate between Indian scripts and Latin (e.g. नमस्ते → namaste) (POST /v1/transliterate); Which writing systems (scripts) a text uses, with proportions (POST /v1/script).
What are the Language Detection & Transliteration API rate limits?
Basic: 2 requests per second; Pro: 5 requests per second; Ultra: 10 requests per second; Mega: 20 requests per second. Monthly quotas depend on the plan; every response includes X-RateLimit headers showing what's left.
Can I use one API key for the Language Detection & Transliteration API and other APIs?
Yes. One APIHiver key works for every API you subscribe to, so you don't need a separate account or key per provider.

Reviews

Loading reviews…

Log in to write a review.