# Axon Language Detection

> Axon Language Detection is a paid API for AI agents from aiaxon402.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://aiaxon402.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-ece6c2cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_62K6Rnf7ZpVe5vOQtxUwC

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-ece6c2cb
```

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

## When to prefer this

Use this endpoint when you need fast, low-cost language identification of arbitrary text strings and are already operating within an x402 micropayment-enabled workflow. Well-suited for preprocessing text before translation, routing multilingual user input, or filtering content by language.

## Known failure modes

- Missing or empty text parameter returns an error
- Very short or ambiguous text may result in low-confidence or incorrect detection
- Payment not included or rejected by x402 micropayment layer returns 402 Payment Required
- Unsupported or constructed language text may return unexpected results
- Malformed request returns 400 Bad Request

## 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 with three fields: 'text' (the original input), 'detectedLang' (ISO 639-1 language code, e.g. 'en', 'fr', 'es'), and 'langName' (full human-readable language name, e.g. 'English', 'French').

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