---
title: Language Detection API
slug: language-detection
url: https://apyverse.com/apyhub/service/language-detection
provider: ApyHub
categories: [Artificial Intelligence, Developer Tools]
tags: [language-detection, text-classification, nlp, multilingual, content-analysis]
auth: api_key
---

# Language Detection API

Detect the language of a text sample and get language, ISO codes, script, and confidence. Useful for routing multilingual content and NLP workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/detect/language` | What it does Detects the language of the provided text sample and returns language identification d… | 50 |

## About

## What it does
Language Detection identifies the language of a text sample and returns the result in multiple standard formats. Send a body containing `text` with at least 50 characters, and get back the detected `language`, ISO 639-3 `code`, ISO 639-1 `iso_code`, `script`, and a numeric `confidence` score.

Use Language Detection when you need to route user content, pick the right translation pipeline, or apply language-specific processing in a product workflow. It is useful for content moderation, multilingual support tools, document ingestion, and any system that needs to classify incoming text before taking the next step.

The response is compact and easy to consume in automation. You can store the language label, compare it against expected input, or use the confidence score to decide whether to fall back to manual review or a secondary detector. Because the service returns both human-readable and machine-friendly codes, it fits cleanly into search, tagging, and NLP pipelines.

If you process user-submitted text, feeds, tickets, or documents, Language Detection gives you a straightforward way to identify what language you are dealing with before you translate, index, or analyse it.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/apyhub/service/language-detection
