# Number to Words Converter (Cardinal, Ordinal, Currency)

> Number to Words Converter (Cardinal, Ordinal, Currency) is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Converts a numeric value into its English word representation in cardinal, ordinal, or currency (dollars and cents) form for use in checks, invoices, and documents.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/number-to-words
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/number-to-words-converter-cardinal-ordinal-currency-c8777292
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a8TdhiS5RggGV4le9476P

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 number-to-words-converter-cardinal-ordinal-currency-c8777292 -d '<json body>'
```

Example prompt: Spell out the number 4250.75 in currency form — dollars and cents — like you'd write it on a check.

## When to prefer this

Choose this endpoint when you need to programmatically spell out numbers in English for financial documents (checks, invoices), legal text, or user-facing content that requires written-out numbers. It handles cardinal, ordinal, and currency formats in a single call at low cost, making it ideal for document generation pipelines or form-filling agents.

## Known failure modes

- Non-numeric input returns a validation error
- Unsupported mode/form parameter returns a bad request error
- Extremely large numbers may exceed supported range and return an error
- Missing required fields (number or mode) result in a 400 response

## How this service works

Spell a number in English words: cardinal, ordinal, or currency (dollars and cents) form for checks and invoices.

## Output

Returns the English word representation of the input number in the requested form: cardinal (e.g. 'one thousand forty-two'), ordinal (e.g. 'forty-second'), or currency (e.g. 'one thousand forty-two dollars and fifty cents').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "form": {
   "type": "string"
  },
  "number": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "form": "cardinal",
  "words": "one thousand two hundred thirty-four",
  "number": 1234
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/number-to-words-converter-cardinal-ordinal-currency-c8777292/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
