# Delx Language Script Detect

> Delx Language Script Detect is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Detects the dominant Unicode script families (e.g. Latin, Cyrillic, Arabic, Han) present in a caller-supplied text sample

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/language-script-detect
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-language-script-detect-fcec4177
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yXc1lhK-PmZYgpc-PhBqr

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 delx-language-script-detect-fcec4177 -d '<json body>'
```

Example prompt: Can you detect which Unicode script family dominates this text: 'Привет мир, это тест'?

## When to prefer this

Choose this endpoint when you already hold a text string and need a fast, stateless, deterministic classification of its Unicode script family — particularly useful in multilingual NLP pipelines, content routing, pre-processing for translation or OCR, and RAG chunking workflows. Prefer over language-detection APIs when you specifically need script/writing-system identification rather than spoken language detection, and when you want a local, zero-retention computation at very low cost.

## Known failure modes

- Empty or whitespace-only text input returns ambiguous or null script result
- Highly mixed-script input may return multiple families without a clear dominant result
- Very short inputs (single characters) may produce low-confidence classifications
- Non-UTF-8 encoded bytes passed as string may cause parse errors
- Exceeding input size limits may result in truncation or rejection

## How this service works

Detect dominant Unicode script families in a text sample — call when detecting dominant Unicode script families. Use on text/URLs the agent already holds—adjacent to high-volume extract demand, never advertised as general web or X search. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results a…

## Output

Returns a deterministic machine-readable JSON object identifying the dominant Unicode script family or families detected in the input text, along with distribution or confidence signals for each script present.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "UTF-8 text to encode, chunk, index, or analyze (caller-supplied only)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-language-script-detect/v1",
  "scripts": {
   "latin": {
    "count": 9,
    "percent": 64.2857
   },
   "japanese": {
    "count": 5,
    "percent": 35.7143
   }
  },
  "sample_chars": 16,
  "dominant_script": "latin"
 }
}
```

## More

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