A continent by code, or every country in it.
Look up a continent by two-letter code. Country and postal hang off this layer.
Pass a two-letter code: NA, EU, AF, AS, OC, SA, or AN. Name, region, population, and area come back.
curl "https://api.parseapi.com/continent/na" \
-H "X-API-Key: YOUR_API_KEY"{
"continent": "NA",
"name": "North America",
"region": "Americas",
"subregion": "Northern America",
"population": 600000000,
"area": 24709000,
"emoji": "🌎"
}Response fields
Every country in a continent. Handy for region pickers and cascading forms.
curl "https://api.parseapi.com/continent/na/countries" \
-H "X-API-Key: YOUR_API_KEY"{
"continent": "NA",
"countries": [
{
"country": "CA",
"name": "Canada"
},
{
"country": "MX",
"name": "Mexico"
},
{
"country": "US",
"name": "United States"
},
// ... 38 more
]
}Response fields
Questions? Email