# NexusAPI Text Language Detection

> NexusAPI Text Language Detection is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.178905/call, status unknown (last checked 2026-09-15).

Detects the language of a given text input and returns the identified language

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/tools/text/language
- Price: $0.178905/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-text-language-detection-7ee63a7b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K1Hvv77MV16HfoLVLgjV1

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 nexusapi-text-language-detection-7ee63a7b -d '<json body>'
```

Example prompt: What language is this text written in: 'El clima es perfecto para salir a caminar hoy por la tarde'?

## When to prefer this

Use this endpoint when you need to programmatically identify the language of arbitrary text without managing API keys, paying per call via USDC on Base. Ideal for AI agents that need language detection as part of a pipeline (e.g. routing multilingual user input, preprocessing text before translation, or filtering content by language).

## Known failure modes

- Empty or missing query string returns an error
- Very short text (single characters or words) may yield low-confidence or incorrect detection
- Mixed-language text may cause ambiguous results
- Rare or minority languages may not be supported and return unknown
- Payment failure in USDC on Base will result in 402 response before processing

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the detected language of the input text, likely including the language name and/or ISO language code, and potentially a confidence score indicating how certain the detection is.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nexusapi-text-language-detection-7ee63a7b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
