GET /country/{code} · /{code}/states
Pass US, USA, or germany. Currency, timezones, plugs, tax, emergency numbers.
You have a code or a name. Currency, tax, plugs, emergency numbers.
Try it
name
Common name
capital
Capital city
currency
ISO currency code
languages
ISO 639 language codes. Expand each at /language/{code}
borders
Neighboring country ISO2 codes
timezones
IANA timezone ids used in the country. The US lists 29
week_start
First day of the week (monday, sunday, saturday)
units
Measurement system (metric or imperial)
driving_side
left or right
plugs
Power plug types, IEC letters (A through O)
voltage
Residential mains voltage. Null when no single standard exists
emergency
Emergency numbers: police, ambulance, fire. Null when not confirmed
postal_format
Postal code mask, # is a digit and A is a letter. Null when the country has no postal codes
tax
National sales tax name (VAT, GST). Null when there is none, like the US
tax_rate
Standard rate as a percent (19, 8.1)
ioc
Olympic committee code (GER, NED, SUI)
plate
International vehicle plate code (D, UK, CH)
states
Every state or province in the country
1
/country/us, /country/usa, and /country/germany are the same lookup. Accents optional.
2
Capital, currency, languages, borders, timezones, week start, driving side, plugs and voltage, emergency numbers, postal format, the tax and its rate.
3
GET /country/{code}/states.
41 fields each. Every plan.
Look up a country by ISO2, ISO3, or its name. /country/us, /country/usa, and /country/united states return the same record, and accents are optional. 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}.
Every record carries the practical facts. IANA timezones, first day of the week, metric or imperial, driving side, plug types with voltage and frequency, emergency numbers, postal code format with a ready regex, the national sales tax with its rate and id format, and the IOC, FIFA, and vehicle plate codes.
Official country records. Need states or regions too? Use /country/{code}/states. Feeds dropdowns, checkout forms, localized content, and shipping rules that vary by region.
RESPONSE
$ curl "https://api.parseapi.com/country/us" \ -H "X-API-Key: YOUR_API_KEY" // 200 · ~35ms US · ~97ms worldwide { "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.", "capital_lat": 38.89, "capital_lon": -77.05, "continent": "NA", "region": "Americas", "subregion": "Northern America", "population": 340110988, "area": 9629091, "currency": "USD", "currency_name": "United States Dollar", "currency_symbol": "$", "tld": ".us", "calling_code": "+1", "emoji": "🇺🇸", "languages": ["en"], "borders": ["CA", "MX"], "blocs": ["G7", "NATO", "OECD"], "timezones": [ "America/Adak", "America/Anchorage", "America/Boise", "America/Chicago", // ... 25 more ], "week_start": "sunday", "units": "imperial", "driving_side": "right", "plugs": ["A", "B"], "voltage": 120, "frequency": 60, "emergency": { "police": "911", "ambulance": "911", "fire": "911" }, "postal_format": "#####", "postal_regex": "^(?:(\d{5})(?:[ \-](\d{4}))?)$", "tax": null, "tax_rate": null, "tax_id_format": null, "tax_id_regex": null, "ioc": "USA", "fifa": "USA", "plate": "USA" }
Response fields
QUESTIONS
SPEED
US
10ms
EU
10ms
APAC
42ms
LatAm
14ms
ME
121ms
250 countries and territories. Official records.
Every ISO code in one table: the country codes list.