GET /continent/{code} · /{code}/countries
Continent API
Pass NA or EU. Get the continent, then every country in it.
Try it
{
"continent": "NA",
"country": "CA",
"name": "Canada",
"calling_code": "+1"
},
"country": "MX",
"name": "Mexico",
"calling_code": "+52"
},
"country": "US",
"name": "United States",
"calling_code": "+1"
}
]
}1M requests · $20/mo. Get started
What comes back.
name
Common name
region
Broader region
population
Population estimate
area
Total area in km²
countries
Every country in the continent
1
Pass a code
NA, EU, AF, AS, OC, SA, AN.
2
Get the record
Name, region, area.
3
List the countries
GET /continent/{code}/countries.
Coverage
Seven continents. Official country totals, rolled up.
Look up a continent by two-letter code.
Pass NA, EU, AF, AS, OC, SA, or AN for name, region, and area. List every country in that continent at /continent/{code}/countries. Population rolls up from the official country totals.
SPEED
How long /continent takes.
Median time to first byte over the last seven days. Warm requests, measured every 30 minutes. Live verification and other request variants can take longer.
US
15ms
EU
18ms
APAC
37ms
LatAm
42ms
ME
109ms
Make your first request.
One key works across the APIs. Copy a request in your language and get JSON back.
curl "https://api.parseapi.com/continent/na" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Parse-Version: 2.0.0"// Example response · 200{"continent": "NA", "name": "North America", "region": "Americas", "subregion": "Northern America", "population": 600000000, "area": 24709000, "emoji": "🌎" }
QUESTIONS
- When do I use which?
- A continent code for the record. /countries for every country in it.
- Which codes?
- NA, EU, AF, AS, OC, SA, AN.
- How do I list countries?
- GET /continent/{code}/countries.
The bigger picture.
Continents, countries, and population totals. Every plan.
Start includes 1M API requests a month for $20/mo.