added
Currency and Language locales now available
March 12th, 2022
You can now get the currency and language locales for an IP by using the newly added l10n
(short for localization) object in the JSON response
{
"ip": "172.223.9.155",
"isEuropeanUnion": false,
"l10n": { <---- NEW
"currencyName": "Dollar",
"currencyCode": "USD", <---- NEW: currency code
"langCodes": [ <---- NEW: language codes for localization strings
"en-US",
"es-US",
"haw",
"fr"
]
},
"locationData": {
"countryName": "United States",
"countryCode": "US",
"cityName": "Selma, AL",
"cityGeonamesId": 4089114,
"lat": 32.42,
"lng": -87.02,
"tz": "America/Chicago",
"continentCode": "NA"
}
}
These attributes are gleaned from the Geonames.org database that's licensed under a Creative Commons Attribution 4.0 International license.