Text
Number to currency words API
Spells a monetary amount as legal/check phrasing in both a spoken form and a check-writing 'and NN/100 dollars' form, with configurable unit names. Answers 'how do I write this amount on a check?', 'what is the legal words form of $1234.50?'.
Price$0.03per request
MethodPOST
Route/v1/text/number-to-currency-words
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
textcurrencynumber-to-wordscheck-writingmoneyspell-outlegalamount
API URL
Integration docshttps://x402.hexl.dev/v1/text/number-to-currency-wordsExample request
{
"amount": 1234.5
}Example response
{
"spoken": "one thousand two hundred thirty-four dollars and fifty cents",
"checkStyle": "One thousand two hundred thirty-four and 50/100 dollars",
"dollars": 1234,
"cents": 50,
"currency": "USD"
}Input schema
{
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"examples": [
1234.5
]
},
"currency": {
"type": "string",
"examples": [
"USD"
]
},
"unit": {
"type": "string",
"examples": [
"dollar"
]
},
"subunit": {
"type": "string",
"examples": [
"cent"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}