Textual Amount

Convert numbers to words in multiple languages and formats.

Currently only English, Latvian and Russian languages are supported.
twelve million three hundred and forty-five thousand six hundred and seventy-eight euros, 90 cents

API Documentation

https://api.prompt.lv/api/v1/info/numbers/textual/{number}/{format?}

Convert numeric amount to textual representation.

Method: GETResponse Format: JSONHeaders: Accept-Language
eurEuro currency format
usdUS Dollar currency format
noneBasic textual representation without currency
rawRaw amount without cents/subunits processing
GET https://api.prompt.lv/api/v1/info/numbers/textual/12345678.90/eur
Accept-Language: en
{
    "success": true,
    "code": 200,
    "result": {
        "text": "twelve million three hundred and forty-five thousand six hundred and seventy-eight euros, 90 cents"
    }
}
200Successful operation
404Unsupported locale
422Validation error