The Number to Text Pro API converts numerical values into their textual representations, supporting a wide range of languages, formatting styles, and currencies. This documentation outlines the key parameters—languageCode, formatStyle, and currencyCode—including their possible values, to ensure proper usage.
https://zylalabs.com/api-marketplace/tools+%26+utilities/number+to+text+pro+api/6348en - English (Dialects: US, UK, AU, CA, IN)es - Spanishfr - Frenchde - Germanit - Italianpt - Portuguesenl - Dutchru - Russianar - Arabic (Dialects: EG, SA, AE, MA)zh - Chineseja - Japaneseko - Koreanhi - Hinditr - Turkishpl - Polishsv - Swedishno - Norwegianda - Danishfi - Finnishel - Greekcs - Czechhu - Hungarianro - Romanianth - Thaivi - Vietnameseid - Indonesianms - Malayhe - Hebrewuk - Ukrainianbg - Bulgarianhr - Croatiansr - Serbiansk - Slovaksl - Slovenianlt - Lithuanianlv - Latvianet - Estonianis - Icelandicen) dialects can be specified (e.g., US for American English, GB for Britsh English and IN for Indian English). Other languages do not require dialect specification in this context.standard - Default text representation (e.g., "one hundred twenty-three").check - Format suitable for financial checks (e.g., "one hundred twenty-three and 00/100").legal - Formal legal format (e.g., "One Hundred Twenty-Three").standard.USD - US Dollar ($)EUR - Euro (€)GBP - British Pound (£)JPY - Japanese Yen (¥)CAD - Canadian Dollar (C$)AUD - Australian Dollar (A$)CHF - Swiss Franc (Fr)CNY - Chinese Yuan (¥)INR - Indian Rupee (₹)BRL - Brazilian Real (R$)RUB - Russian Ruble (₽)KRW - South Korean Won (₩)MXN - Mexican Peso (Mex$)SGD - Singapore Dollar (S$)HKD - Hong Kong Dollar (HK$)SEK - Swedish Krona (kr)NOK - Norwegian Krone (kr)DKK - Danish Krone (kr)PLN - Polish Złoty (zł)TRY - Turkish Lira (₺)GET /api?value=12345678.90&languageCode=en¤yCode=USD&dialect=US&formatStyle=standard
"twelve million three hundred forty-five thousand six hundred seventy-eight dollars and ninety cents"
GET /api?value=12345678.90&languageCode=en¤yCode=USD&dialect=US&formatStyle=check
"Twelve million three hundred forty-five thousand six hundred seventy-eight dollars and 90/100 cents"
POST /api
{
"number": 12345678.90,
"languageCode": "ar",
"dialect": "",
"formatStyle": "standard",
"currencyCode": "EGP"
}
"اثنا عشر مليون و ثلاثمائة خمسة و أربعون ألف و ستمائة ثمان و سبعون جنيه مصري و تسعون قرش"
twelve million three hundred forty-five thousand six hundred seventy-eight dollars and ninety cents
curl --location --request POST 'https://zylalabs.com/api/6348/number+to+text+pro+api/9088/postnumbertotext' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"value": 100,
"languageCode": "en",
"dialect": "",
"options": {
"formatStyle": "check"
},
"currencyCode": "eur"
}'
Twelve million three hundred forty-five thousand six hundred seventy-eight dollars and ninety cents
curl --location --request GET 'https://zylalabs.com/api/6348/number+to+text+pro+api/9287/getnumbertotext' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The endpoint returns a JSON object containing a success status, the textual representation of the number, and resolved options such as locale, currency, and format style. For example, it might return "one hundred twenty-three dollars and forty-five cents" for the input number 123.45.
Users can specify parameters such as the numerical value to convert, the desired language and dialect (e.g., "en-US"), optional currency (e.g., "USD"), and formatting style (e.g., "standard" or "formal") to customize the output.
The response data is structured as a JSON object with three main fields: "success" (boolean), "result" (string), and "resolvedOptions" (object). The "resolvedOptions" field includes details like locale, currency, and format style used for the conversion.
Common use cases include generating text for financial documents, legal contracts, invoices, and international communications. It is particularly useful for applications requiring accurate monetary representations in various languages.
Users can extract the "result" field to display the number in text format, while the "resolvedOptions" can help ensure consistency in language and currency across different applications, enhancing user experience and clarity.
Accepted language values include ISO language codes like "en" for English, "es" for Spanish, etc. Currency values should follow ISO 4217 standards, such as "USD" for US dollars or "EUR" for euros, allowing for accurate monetary conversions.
The API relies on established linguistic rules and currency formats to ensure accurate conversions. Regular updates and quality checks are implemented to maintain the integrity of the data across different languages and dialects.
The output typically follows a consistent pattern where numbers are converted into words, formatted according to the specified style. For example, whole numbers are expressed without decimals, while currency values include both whole and fractional parts, ensuring clarity in financial contexts.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
797ms
Service Level:
100%
Response Time:
1,051ms
Service Level:
100%
Response Time:
652ms
Service Level:
100%
Response Time:
569ms
Service Level:
100%
Response Time:
630ms
Service Level:
100%
Response Time:
843ms
Service Level:
100%
Response Time:
1,277ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
209ms
Service Level:
100%
Response Time:
723ms
Service Level:
100%
Response Time:
60ms
Service Level:
100%
Response Time:
64ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
6,858ms
Service Level:
100%
Response Time:
3,770ms
Service Level:
100%
Response Time:
502ms
Service Level:
100%
Response Time:
583ms
Service Level:
100%
Response Time:
60ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
12,860ms