# Axon Language Detection

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

Detects the language of a given text string, returning the language name and ISO code

## Facts

- Endpoint: GET https://axonx.vercel.app/api/detect
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axon-language-detection-9bb77651
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PE86ywszVhVmKApTUZ2Qs

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-9bb77651
```

Example prompt: Can you detect what language this text is written in: 'Bonjour, comment allez-vous aujourd'hui?' — I need the language name and its ISO code.

## When to prefer this

Use this endpoint when you need a quick, paid, AI-backed language detection result with a clean JSON response including both the ISO code and human-readable language name — especially in crypto or Web3 agent workflows already using x402 micropayments on Base.

## Known failure modes

- Missing or empty text parameter returns an error
- Ambiguous or very short text may produce low-confidence or incorrect language detection
- Unsupported or extremely rare languages may not be identified correctly
- Payment failure via x402 micropayment on Base will block the request
- Mixed-language text may default to the dominant language only

## 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 language's full name (e.g. 'English'), and the ISO language code (e.g. 'en').

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