# Vextorium Language Detection (AI-Powered)

> Vextorium Language Detection (AI-Powered) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-16).

Detects the natural language of a given text using a local AI model, returning the language name, ISO code, confidence score, and other candidate languages.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/detect-language-ai?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-language-detection-ai-powered-a06e53a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uouf-z-JoPlf-OPrnjKsw

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 vextorium-language-detection-ai-powered-a06e53a4 -d '<json body>'
```

Example prompt: What language is this text written in? 'El temps d'avui és molt agradable' — give me the language name, ISO code, and how confident you are.

## When to prefer this

Choose this endpoint when you need AI-powered language detection with a confidence score and alternative language candidates, especially for multilingual pipelines, content routing, or preprocessing before translation. It is particularly strong on regional and minority European languages (e.g. Catalan). Prefer it over rule-based detectors when accuracy and confidence scoring matter more than latency, and when payment per call via x402/USDC is acceptable.

## Known failure modes

- Empty or whitespace-only text input returns an error or null language
- Very short text (single word) may yield low confidence and multiple candidates
- Ambiguous closely related languages (e.g. Spanish vs Catalan) may have lower confidence
- Non-linguistic input (code, numbers, symbols) may return null or incorrect language
- Missing required 'text' field in body causes a 400-level validation error

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

A JSON object containing: the detected language name (e.g. 'Catalan'), the ISO 639-1 language code (e.g. 'ca'), a confidence score between 0 and 1, the model used for inference (e.g. 'Qwen3-8B (local)'), and an array of other possible language candidates (e.g. ['es']).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to analyse"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Catalan",
  "model": "Qwen3-4B (local)",
  "language": "ca",
  "confidence": 0.95,
  "other_languages": [
   "es"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-language-detection-ai-powered-a06e53a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
