# NeuroFi Language Detection

> NeuroFi Language Detection is a paid API for AI agents from neurofi-chi.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://neurofi-chi.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-47b6fd19
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JqdXpEk5lcFshaAvWe2j1

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-47b6fd19
```

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 per-call language identification for arbitrary text strings, especially within a crypto or AI agent workflow already using x402 micropayments on Base. It is part of the NeuroFi multi-capability platform, so it pairs naturally with translation and other NLP endpoints on the same service.

## Known failure modes

- Missing or empty text parameter returns an error
- Very short or ambiguous text may yield incorrect or low-confidence detection
- Unsupported or extremely rare languages may not be identified correctly
- Payment failure via x402 returns a 402 status and the request is not processed

## 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

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