# Axon Language Detection

> Axon Language Detection is a paid API for AI agents from aiaia-xaxon402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Detects the language of a given text string, returning the language name and BCP-47 code

## Facts

- Endpoint: GET https://aiaia-xaxon402.vercel.app/api/detect
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axon-language-detection-49efe0a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jDo1NMgQoQJ-xs5yOLmk8

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 axon-language-detection-49efe0a3
```

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

## When to prefer this

Choose this endpoint when you need fast, pay-per-call language detection integrated into a crypto-native or x402-compatible workflow. It is well-suited for agents already operating in the Axon ecosystem that also use its translation or content generation endpoints. Prefer alternatives if you need confidence scores, batch processing, or do not want to manage Base USDC micropayments.

## Known failure modes

- Empty or missing text input returns an error or indeterminate result
- Very short or ambiguous text (e.g. single characters or numbers) may return low-confidence or incorrect language detection
- Mixed-language text may only detect the dominant language
- Micropayment failure on Base (x402) will block the request
- Rate limiting or service unavailability on the Vercel deployment

## How this service works

Axon provides AI-powered crypto intelligence endpoints covering token research, market analysis, contract auditing, sentiment tracking, news summarization, portfolio advice, deep research, text translation, language detection, SEO content generation, and contract explanation. All analytical endpoints require x402 micropayment on Base.

## Output

Returns a JSON object containing the original text, the detected BCP-47 language code (e.g. 'en', 'fr', 'de'), and the full human-readable language name (e.g. 'English', 'French', 'German').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "hello",
  "langName": "English",
  "detectedLang": "en"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axon-language-detection-49efe0a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aiaia-xaxon402.vercel.app](https://www.zero.xyz/host/aiaia-xaxon402.vercel.app/llms.txt)
