API Almanac
API reference › Numbers

Spell an integer in English words, cardinal or ordinal

GET/v1/numbers/words

GET/v1/numbers/words

Spell an integer in English words, cardinal or ordinal

PARAMETERS
nquery · stringREQUIRED
The integer
e.g. 1234
ordinalquery · boolean
true → "one thousand two hundred thirty-fourth"
e.g. false
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/numbers/words?n=1234" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "n": "1234",
  "words": "one thousand two hundred thirty-four",
  "ordinal": false
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.