π¨ In Development β This section is still being developed and may change.
GET/v1/reference/countries
Get all active countries with ISO codes, currency information, phone codes, and geographic data.
Returns a comprehensive list useful for user profile country selection, address forms, phone number validation, currency selection, and geographic filtering.
Returns an array of country objects with ISO 3166-1 alpha-2 and alpha-3 codes, official and native names, currency information, international dialing codes, flag emojis, and geographic coordinates.
cURL
- Bash
- Python
- JavaScript
curl https://api.aitronos.com/v1/reference/countries \
-H "X-API-Key: $FREDDY_API_KEY"[
{
"id": "US",
"iso2": "US",
"iso3": "USA",
"name": "United States",
"native_name": "United States",
"currency_code": "USD",
"currency_name": "US Dollar",
"currency_symbol": "$",
"phone_code": "+1",
"flag": "πΊπΈ",
"latitude": 37.09024,
"longitude": -95.712891,
"region": "Americas"
},
{
"id": "GB",
"iso2": "GB",
"iso3": "GBR",
"name": "United Kingdom",
"native_name": "United Kingdom",
"currency_code": "GBP",
"currency_name": "British Pound",
"currency_symbol": "Β£",
"phone_code": "+44",
"flag": "π¬π§",
"latitude": 55.378051,
"longitude": -3.435973,
"region": "Europe"
}
]