APIs/Country

Country API

GET /country/{code}

Look up a country by ISO2 or ISO3. /country/us and /country/usa return the same thing: capital, currency, languages, borders, and more. name is English, local_name is the endonym, Japan's local_name reads 日本. languages is a list of ISO 639 codes, expand each one at /language/{code}.

Need states or regions too? Use /country/{code}/states. Feeds dropdowns, localized content, and shipping rules that vary by region.

250
countries & territories
156
currencies covered
249
with language data
100%
ISO-standard codes

Try it

$ curl "https://api.parseapi.com/country/us" \
  -H "X-API-Key: YOUR_API_KEY"

// 200 · ~13ms · USA
{
  "country": "US",
  "iso3": "USA",
  "numeric": 840,
  "name": "United States",
  "full_name": "United States of America",
  "local_name": "United States",
  "demonym": "American",
  "capital": "Washington, D.C.",
  "continent": "NA",
  "region": "Americas",
  "subregion": "Northern America",
  "population": 331002651,
  "area": 9833520,
  "currency": "USD",
  "currency_name": "United States Dollar",
  "currency_symbol": "$",
  "tld": ".us",
  "emoji": "🇺🇸",
  "languages": ["en"],
  "borders": ["CA", "MX"]
}

Response fields

country
ISO2 country code
iso3
Three-letter country code
numeric
UN numeric code
name
Common name
full_name
Official long name
local_name
Local-language name
demonym
Demonym
capital
Capital city
continent
Continent code (NA, EU, AF, AS, OC, SA, AN)
region
UN region
subregion
UN subregion
population
Population estimate
area
Land area in km²
currency
ISO currency code
currency_name
Currency name
currency_symbol
Currency symbol
tld
Top-level domain
emoji
Flag emoji
languages
ISO 639 language codes. Expand each at /language/{code}
borders
Neighboring country ISO2 codes

SPEED

Fast from everywhere.

Median time for a /country response to reach a real city, first byte back, measured live from 16 cities. Not a lab benchmark. The whole trip.

US

13ms

EU

17ms

APAC

45ms

LatAm

17ms

ME

126ms

See live status →