# Axon Language Detection

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

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

## Facts

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

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

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 for a text snippet, especially within a pipeline that already uses Axon's crypto intelligence or translation endpoints and benefits from a single provider. At $0.01 USDC per call it is well-suited for per-message language gating in multilingual applications.

## Known failure modes

- Missing or empty text input returns an error
- Very short or ambiguous text may yield incorrect language detection
- Non-linguistic or numeric input may fail to detect a language
- Payment failure (x402 micropayment not completed) blocks the 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 containing the original input text, the detected language name (e.g. 'English'), and the ISO 639-1 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-bd9a8e8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aiaxaxon402.vercel.app](https://www.zero.xyz/host/aiaxaxon402.vercel.app/llms.txt)
