GET /continent/{code} · /{code}/countries

Continent API

Pass NA or EU. Get the continent, then every country in it.

Try it

Example response/continent/na/countries
{
  "continent": "NA",
  
    
      "country": "CA",
      "name": "Canada",
      "emoji": "🇨🇦",
      "calling_code": "+1"
    },
    
      "country": "MX",
      "name": "Mexico",
      "emoji": "🇲🇽",
      "calling_code": "+52"
    },
    
      "country": "US",
      "name": "United States",
      "emoji": "🇺🇸",
      "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.

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": "🌎"
}

API referenceSDKsKeys and authentication

Every response field

Response fields

continentstring
Continent code (NA, EU, AF, AS, OC, SA, AN)
namestring or null
Common name
regionstring or null
Broader region
subregionstring or null
UN subregion
populationinteger or null
Population estimate
areainteger or null
Total area in km²
emojistring or null
Continent 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.