Utilities
AvailableSupported Languages API
Lists the language codes responses can be localised into, with English and native names and whether each is written right to left.
- POST /v1/utilities/languages
- 1 credit
curl https://api.96astroapi.com/v1/utilities/languages \ -H "Authorization: Bearer $ASTRO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "code": "hi" }'
Overview
Lists the language codes responses can be localised into, with English and native names and whether each is written right to left.
Call it with POST /v1/utilities/languages. Input: no input. Output: JSON, as a direct response. Each successful call costs 1 credit. It offers 26 options, such as English, Hindi and Marathi.
- POST /v1/utilities/languages
- 1 credit
- No input
Options 26
- English
- Hindi
- Marathi
- Nepali
- Bengali
- Tamil
- Telugu
- Kannada
- Malayalam
- Gujarati
- Punjabi
- Odia
- Sinhala
- French
- Spanish
- Portuguese
- German
- Italian
- Dutch
- Polish
- Turkish
- Russian
- Korean
- Japanese
- Assamese
- Urdu
Try it
Response
Ready when you are
Press Run it to see the live response here.
Example response
Fields in dataMeasured from 6 real answers to different inputs: a required field was in every one.
defaultstringlanguagesarray of object
200Example response
Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and image data is shortened.
Loading the example…
Request schema and every field: the Utilities reference.
Related endpoints
01What does the Supported Languages API return?
Lists the language codes responses can be localised into, with English and native names and whether each is written right to left. The response's data object includes default and languages. See the reference for an example response.
02What input does Supported Languages need?
No input. It accepts 26 options, for example English, Hindi and Marathi.
03How much does a Supported Languages call cost?
1 credit per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.
04Can I try it before paying?
Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.


