# minia2a Language Detect

> minia2a Language Detect is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Detects the natural language of a given text input and returns the identified language.

## Facts

- Endpoint: GET https://minia2a.uk/x402/language-detect
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-language-detect-ab25b3ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RcwVpk4a74-JW6nVBtRwF

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 minia2a-language-detect-ab25b3ce
```

Example prompt: Can you detect what language this text is written in: 'Bonjour, comment allez-vous?'

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call language detection service without committing to a subscription, especially in agentic or automated pipelines that process sporadic or variable volumes of multilingual text. Prefer this over heavy NLP SDKs when you just need a language label without additional linguistic analysis.

## Known failure modes

- Empty or missing input text returns an error
- Very short or ambiguous text may result in low-confidence or incorrect detection
- Text with mixed languages may only detect the dominant language
- Non-text binary input may cause a parsing error
- Rate-limited or unpaid requests return a 402 Payment Required response

## How this service works

minia2a service: x402-language-detect

## Output

Returns the identified language (e.g. language name or ISO code) for the provided text input, potentially with a confidence score indicating how certain the detection is.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-language-detect-ab25b3ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
