# NeuroFi Language Detection

> NeuroFi Language Detection is a paid API for AI agents from neuroavichi.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 and returns the language name and ISO code

## Facts

- Endpoint: GET https://neuroavichi.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/neurofi-language-detection-f9e361bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9cojx_iXV9SsSZ4XSoP0X

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 neurofi-language-detection-f9e361bb
```

Example prompt: What language is this text written in: 'Bonjour, comment puis-je vous aider aujourd'hui?' — give me the language name and its ISO code.

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.01 USDC) language detection call integrated within a broader NeuroFi AI workflow, especially if you are already using other NeuroFi endpoints for crypto intelligence or content tasks and want to consolidate API providers.

## Known failure modes

- Missing or empty text parameter returns error or undefined result
- Very short or ambiguous text may yield incorrect language detection
- Unsupported or mixed-language text may return low-confidence or wrong result
- Service unavailable if x402 micropayment on Base fails or is rejected
- Malformed request may return 400-level error

## How this service works

NeuroFi 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 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/neurofi-language-detection-f9e361bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from neuroavichi.vercel.app](https://www.zero.xyz/host/neuroavichi.vercel.app/llms.txt)
