Identifies the language of the provided text and returns the language name, ISO 639-1 code, and confidence score.
Scanned 9/22/2026
npx -y skills add bobadilla-tech/requiems-api-skills --skill detect-language-post-detect-language --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Detect Language Post Detect Language?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/bobadilla-tech-detect-language-post-detect-language)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
name: detect-language-post-detect-language
api: Language Detection
method: POST
path: /v1/text/detect-language
base_url: https://requiems.xyz
description: Identifies the language of the provided text and returns the language name, ISO 639-1 code, and confidence score.
---
## Endpoint
**POST https://requiems.xyz/v1/text/detect-language**
## Detect Language
Identifies the language of the provided text and returns the language name, ISO 639-1 code, and confidence score.
## Parameters
| Name | Type | Required | Location | Description |
| ---- | ---- | -------- | -------- | ----------- |
| `text` | string | yes | body | The text whose language should be detected. |
## Request Example
```json
{
"text": "Bonjour, comment ça va?"
}
```
## Response Example
```json
{
"data": {
"language": "French",
"code": "fr",
"confidence": 0.98
},
"metadata": {
"timestamp": "2026-01-01T00:00:00Z"
}
}
```
## Response Fields
| Field | Type | Description |
| ----- | ---- | ----------- |
| `language` | string | Full name of the detected language (e.g. French, English, Spanish) |
| `code` | string | ISO 639-1 two-letter language code (e.g. fr, en, es). Empty string when detection is unreliable. |
| `confidence` | number | Confidence score between 0.0 and 1.0. 0.0 is returned when the language cannot be reliably detected. |
## Errors
- `422` **validation_failed** — The text field is missing or empty.
- `400` **bad_request** — The request body is missing or malformed.
- `500` **internal_error** — Unexpected server error.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!