# money.openverbs.com Currency Formatter

> money.openverbs.com Currency Formatter is a paid API for AI agents from money.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Formats a numeric amount as a locale-aware currency string using Intl, respecting the currency's minor-unit convention and configurable display style.

## Facts

- Endpoint: POST https://money.openverbs.com/v1/format
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/money-openverbs-com-currency-formatter-1c2700b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qBRiNcoldOqbRqd9y9zaM

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 money-openverbs-com-currency-formatter-1c2700b0 -d '<json body>'
```

Example prompt: Format 1299.99 as US dollars using the en-US locale with the standard currency symbol.

## When to prefer this

Choose this endpoint when you need locale-aware, minor-unit-correct currency formatting without implementing Intl yourself — especially useful in agent workflows that handle multiple currencies and locales and need reliable, consistent display strings. Prefer it over ad-hoc string formatting when you need to support currencies with non-standard decimal places (like JPY or KWD) or when you need flexible display modes (symbol vs ISO code vs full name).

## Known failure modes

- Unknown ISO 4217 currency code returns a clean 400 error
- Invalid or unsupported BCP-47 locale returns a clean 400 error
- Amount not provided returns a validation error
- Currency code not exactly 3 characters returns a 400 error

## How this service works

Format a numeric amount as currency for a given locale using Intl, honouring the currency's own minor-unit convention (USD→2, JPY→0). display selects the symbol, narrow symbol, ISO code or full name. An unknown currency or locale is a clean 400.

## Output

A formatted currency string that respects the currency's minor-unit convention (e.g. '¥1,299' for JPY with zero decimals, '$1,299.99' for USD with two decimals), rendered according to the specified locale and display style (symbol, narrowSymbol, code, or name). Returns HTTP 400 for unknown or invalid currency codes or locales.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "amount": {
       "type": "number",
       "description": "The amount to format."
      },
      "currency": {
       "type": "string",
       "minLength": 3,
       "maxLength": 3,
       "description": "ISO 4217 currency code, e.g. USD, EUR, JPY."
      },
      "locale": {
       "type": "string",
       "description": "BCP-47 locale, e.g. en-US, de-DE. Default en-US."
      },
      "display": {
       "type": "string",
       "enum": [
        "symbol",
        "narrowSymbol",
        "code",
        "name"
       ],
       "description": "How to display the currency. Default symbol."
      }
     },
     "required": [
      "amount",
      "currency"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/money-openverbs-com-currency-formatter-1c2700b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from money.openverbs.com](https://www.zero.xyz/host/money.openverbs.com/llms.txt)
