Data
Rich derived country profile API
A richer country profile than basic facts: derives population density per km2, hemisphere, combined calling code, plus driving side, ccTLDs, timezones, continent, currencies and languages from REST Countries. Answers 'population density of X', 'which side do they drive on', 'timezones / TLD / dialing code of a country', 'is this country in the northern or southern hemisphere'.
Price$0.01per request
MethodPOST
Route/v1/data/places-country-profile
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache86400s public
dataplacescountryprofiledensitydriving-sidetimezonetldderivedrest-countries
API URL
Integration docshttps://x402.hexl.dev/v1/data/places-country-profileExample request
{
"country": "japan"
}Example response
{
"name": "Japan",
"officialName": "Japan",
"code": "JP",
"code3": "JPN",
"capital": "Tokyo",
"region": "Asia",
"subregion": "Eastern Asia",
"continent": "Asia",
"population": 123210000,
"areaKm2": 377930,
"populationDensityPerKm2": 326.01,
"hemisphere": "northern",
"latlng": [
36,
138
],
"currencies": [
{
"code": "JPY",
"name": "Japanese yen",
"symbol": "¥"
}
],
"languages": [
"Japanese"
],
"callingCode": "+81",
"tld": [
".jp",
".みんな"
],
"timezones": [
"UTC+09:00"
],
"drivingSide": "left",
"borderCount": 0,
"flag": "🇯🇵"
}Input schema
{
"type": "object",
"required": [
"country"
],
"properties": {
"country": {
"type": "string"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}