# Locale and Formatting Tools – List Formatter

> Locale and Formatting Tools – List Formatter is a paid API for AI agents from locale-tools.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Joins a list of items into a natural-language list string (e.g. 'a, b, and c' or 'a, b, or c') formatted according to a specified locale and style.

## Facts

- Endpoint: GET https://locale-tools.x402tookit.com/list-format?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/locale-and-formatting-tools-list-formatter-a4067158
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2-y2hQ5-ZyT0senzh9ZNV

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 locale-and-formatting-tools-list-formatter-a4067158
```

Example prompt: Format the list ['apples', 'bananas', 'cherries'] as a natural-language conjunction list in Spanish (es) using the long style — give me the 'a, b y c' style output.

## When to prefer this

Choose this endpoint when you need locale-aware natural-language list formatting (conjunction or disjunction) across multiple languages and locales, particularly when Unicode CLDR rules matter. Prefer this over simple string join operations when the output must be grammatically correct for a specific language (e.g. Spanish 'y', German 'und', Japanese list styles) or when you need short/narrow style variants for compact UIs.

## Known failure modes

- More than 100 items submitted — items list exceeds the maximum allowed count
- Individual item exceeds 100 characters — truncation or rejection
- Invalid BCP47 locale tag — locale may fall back to en-US or return an error
- Invalid conjunction type or style value — defaults may be applied or error returned
- Malformed items string — missing pipe/newline delimiters or invalid JSON array

## How this service works

Join items into a natural-language and/or list for a locale ('a, b, and c' in en, 'a, b y c' in es).

## Output

Returns a formatted string (e.g. 'a, b, and c') along with metadata including the resolved locale, item count, ICU version, CLDR version, Unicode version, and any degradation notices or disclaimers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "items"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "conjunction (and, default), disjunction (or) or unit (no word)"
      },
      "items": {
       "type": "string",
       "description": "Items separated by | or newline, or a JSON array of strings; at most 100 items of 100 characters"
      },
      "style": {
       "type": "string",
       "description": "long (default), short or narrow"
      },
      "locale": {
       "type": "string",
       "description": "BCP47 tag such as en-US, en-GB, es, de (default en-US)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "locale": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "formatted": {
       "type": [
        "null",
        "string"
       ]
      },
      "itemCount": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "icuVersion": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "cldrVersion": {
       "type": [
        "null",
        "string"
       ]
      },
      "resolvedLocale": {
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/locale-and-formatting-tools-list-formatter-a4067158/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from locale-tools.x402tookit.com](https://www.zero.xyz/host/locale-tools.x402tookit.com/llms.txt)
