# Language Tag Normalize

> Language Tag Normalize is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Normalizes BCP 47 / IETF language tags to a canonical, well-formed format

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/language-tag-normalize?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/language-tag-normalize-e97b406c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aYYhSBxcoguWjwoaZ0wnX

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 language-tag-normalize-e97b406c -d '<json body>'
```

Example prompt: Normalize the language tag 'en_us' to its canonical BCP 47 form — fix the casing and separator so it's properly formatted.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use normalization of individual language tags without setting up a full i18n library. Ideal for agents handling user-submitted locale strings, data pipeline cleaning, or API integrations requiring strict BCP 47 compliance. At $0.01 USDC per call via x402, it suits low-to-moderate volume use cases where a hosted microservice is preferable to bundling a locale library.

## Known failure modes

- Invalid or unrecognizable language tag input returns an error
- Malformed input value (null, empty string, non-string) may return a validation error
- Network timeout or service unavailability on Render's free tier may cause 502/503 errors
- Payment failure via x402 protocol results in 402 Payment Required before processing

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object with a 'result' field containing the normalized, canonical BCP 47 language tag, and an 'operation' field confirming 'language_tag_normalize'. The result corrects casing, separator characters, and subtag ordering to conform to IETF standards.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {},
  "options": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "language_tag_normalize"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/language-tag-normalize-e97b406c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
