Convert numbers to perfectly formatted text across 28 languages and over 35 predefined currencies. Our API handles standard, formal, and check writing formats with support for custom currencies. Perfect for financial documents, legal contracts, invoices, and multilingual applications. Simple integration with comprehensive documentation.
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'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Number to Text Pro API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
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"
}
"اثنا عشر مليون و ثلاثمائة خمسة و أربعون ألف و ستمائة ثمان و سبعون جنيه مصري و تسعون قرش"
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, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund