# NexusAPI Text Language Detection

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

Detects or identifies the language of a given text string

## Facts

- Endpoint: POST https://nexus-api-virid.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/nexusapi-text-language-detection-01f82e3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0piEyDRnWbxWzEth1ObMa

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-01f82e3f -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call language detection with no API key setup, especially useful in agentic pipelines that process multilingual text and need to route, filter, or translate content based on its language. Ideal for workflows that don't justify a dedicated NLP subscription.

## Known failure modes

- Empty or very short input text may result in low-confidence or incorrect detection
- Mixed-language text may return only the dominant language or fail to detect accurately
- Extremely rare or low-resource languages may not be recognized
- Invalid or malformed request body returns a 400 error
- Payment failure or insufficient USDC balance returns a 402 error

## 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 a JSON object indicating the detected language of the input text, likely including the language name, ISO language code (e.g. 'fr', 'de', 'zh'), and possibly a confidence score or probability.

## 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-01f82e3f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-virid.vercel.app](https://www.zero.xyz/host/nexus-api-virid.vercel.app/llms.txt)
