# OmniAPI Text Language Detection

> OmniAPI Text Language Detection is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.12842/call, status unknown (last checked 2026-09-15).

Detects the language of a given text input, returning language identification results

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/tools/text/language
- Price: $0.12842/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-text-language-detection-1592c59b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZiAW50tg_jtWC_vUbbvzu

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 omniapi-text-language-detection-1592c59b -d '<json body>'
```

Example prompt: Can you detect what language this text is written in: 'Bonjour, comment allez-vous aujourd'hui?'

## When to prefer this

Use this endpoint when you need a quick, pay-per-call language detection without managing your own NLP infrastructure. Suitable for pipelines that need to identify language before routing, translating, or moderating text. Best for single text inputs where you need a lightweight, on-demand language identification step.

## Known failure modes

- Very short or ambiguous text may produce low-confidence or incorrect language identification
- Mixed-language text may only identify the dominant language
- Uncommon or rare languages may not be recognized or may be misclassified
- Empty or whitespace-only query returns an error
- Highly transliterated or code-switched text may produce unreliable results

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns an object containing the detected language name, ISO language code, and likely a confidence score indicating how certain the model is about the language identification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-text-language-detection-1592c59b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
