freeapis

Detect Language

Detects text language

Authentication
API Key
HTTPS
Yes
CORS
Unknown
Data source
public-apis + marcelscruz
Documentation / URL
https://detectlanguage.com/

Overview

Detect Language identifies the language of text — 160+ languages with confidence scores. Auth is a free API key (an invalid key returns 401 with {"error":{"code":1,"message":"Invalid API key"}} — verified).

Quick Start

Detect (replace YOUR_KEY):

curl "https://ws.detectlanguage.com/0.2/detect?q=hello+world" \
  -H "Authorization: Bearer YOUR_KEY"
{
  "data": {
    "detections": [ { "language": "en", "isReliable": true, "confidence": 99.8 } ]
  }
}

With text in the body:

curl -X POST "https://ws.detectlanguage.com/0.2/detect" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "Bonjour le monde"}'

Authentication

  • Register at detectlanguage.com → free API key.
  • Send it as the Authorization: Bearer YOUR_KEY header (invalid key → 401, verified).

Rate Limits & Notes

  • Free tier: ~10,000 characters/day (check the docs); paid plans scale.
  • Detects 160+ languages; results include confidence and isReliable.
  • Batch and user-agent endpoints available.

FAQ

Is Detect Language free? Free tier with a daily character allowance; more is paid.

How do I get a key? Register at detectlanguage.com — the key is emailed.

What’s the auth style? Authorization: Bearer header (verified).

More in Text Analysis

APIAuthHTTPSCORS
AI Text Moderation, Toxicity & Sentiment Analyzer

Detect sentiment, toxicity, and emotional aspects in text with AI moderation

API KeyYesUnknown↗
AI Translate text API

The Text Translation API translates text into any of the 80 supported languages, providing accurate and context-aware translations

API KeyYesUnknown↗
Analyse Keywords API

This API lets you extract high-frequency keywords, key phrases and latent semantic keywords from any URL

API KeyYesUnknown↗
apilayer languagelayer

Language Detection JSON API supporting 173 languages

OAuthYesUnknown↗
Audexum

Text-to-speech REST API with 43 voices and 33 languages

API KeyYesYes↗