Number to words in 12 languages, with ordinal and currency forms
number_to_wordsNumber to words: spell a number out in English, Dutch, German, French, Spanish, Italian, Portuguese, Polish, Russian, Turkish, Swedish or Japanese, in cardinal, ordinal or currency form. Currency form agrees the number with the currency noun and gives real minor-unit names for 19 currencies (EUR, USD, GBP, CHF, SEK, NOK, DKK, PLN, RUB, TRY, CNY, INR, BRL, MXN, CAD, AUD, NZD, CZK, HUF); any other ISO 4217 code uses a fraction such as 56/100. Values up to 10^15. Price: $0.05 per successful call, paid over x402 (USDC on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | No | lower (default), sentence or title. Accepted: lower, sentence, title. | |
| form | No | cardinal (default), ordinal, currency or year. Accepted: cardinal, ordinal, currency, year. | |
| lang | No | Language, ISO 639-1. Default en. Accepted: en, nl, de, fr, es, it, pt, pl, ru, tr, sv, ja. | |
| value | Yes | Integer or decimal, absolute value below 1e15. Accepted: absolute value below 1e15. | |
| currency | No | ISO 4217 code. Required when form=currency, rejected otherwise. Accepted: an ISO 4217 alpha-3 code. |