# Language Detection API

> Language Detection API is a paid API for AI agents from engedi.digi-life17.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Detects the language of a given text string and returns the identified language with a confidence score

## Facts

- Endpoint: GET https://engedi.digi-life17.workers.dev/api/detect-language
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/language-detection-api-ca1dd648
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yzdekzDW1D41oilz95Ek7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability language-detection-api-ca1dd648
```

Example prompt: What language is this text written in? 'Bonjour, comment allez-vous aujourd'hui?'

## When to prefer this

Use this endpoint when you need a quick, low-cost language detection call for a single text string, especially within AI pipelines or multilingual workflows where you need to programmatically identify language before routing to translation, moderation, or NLP services. It is well-suited for per-request language classification rather than bulk batch operations.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Very short or ambiguous text may produce low confidence results
- Mixed-language text may return only the dominant language
- Extremely rare or constructed languages may not be detected accurately
- Empty string input likely returns an error or zero confidence result

## How this service works

51 REST endpoints for AI agents. Weather, news, crypto, stocks, products, courses, real estate, and 42 more. Pay per call in USDC/USDT via x402.

## Output

Returns a JSON object with the detected language (likely language code/name), a confidence score, and metadata fields including whether the result was cached, the source, and the last updated timestamp.

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/language-detection-api-ca1dd648/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from engedi.digi-life17.workers.dev](https://www.zero.xyz/host/engedi.digi-life17.workers.dev/llms.txt)
