Countries Endpoints
Get Country Details
Retrieve detailed information for a specific country using its ISO2 code
GET
Retrieve detailed information for a specific country using its ISO2 code, including extended geographical, currency, and timezone data.Documentation Index
Fetch the complete documentation index at: https://docs.countrystatecity.in/llms.txt
Use this file to discover all available pages before exploring further.
Availability: All plans (Community and above). The fields returned vary by tier — see Tier-Based Field Availability below.
Path Parameters
ISO2 code of the country (e.g., “IN” for India, “US” for United States)
Authentication
Your API key for authentication
Response
Unique identifier for the country
Official country name in English
Two-letter ISO 3166-1 alpha-2 country code
Three-letter ISO 3166-1 alpha-3 country code
Three-digit numeric country code
International dialing code for the country
Capital city of the country
Three-letter ISO 4217 currency code
Full name of the currency
Currency symbol (e.g., $, €, ₹)
Top-level domain for the country
Country name in the native language
Geographic region (e.g., Asia, Europe, Americas)
Geographic subregion (e.g., Southern Asia, Western Europe)
Demonym for the country’s residents
JSON string containing timezone information
JSON string containing country name translations
Country’s approximate latitude coordinate
Country’s approximate longitude coordinate
Flag emoji representation
Unicode representation of the flag emoji. Coordinates tier and above.
Geographic region ID (foreign key into
/regions). Basic tier.Geographic subregion ID (foreign key into
/subregions). Basic tier.Population estimate. Coordinates tier and above.
Nominal GDP in USD. Coordinates tier and above.
Surface area in square kilometres. Coordinates tier and above.
Display template for postal codes (
# = digit, @ = letter). Coordinates tier and above.Regex for postal-code validation. Coordinates tier and above.
Wikidata item identifier. Full tier only.
Common Use Cases
Localization and Translations
Localization and Translations
Use native names and translations for multi-language applications.
Timezone Information
Timezone Information
Parse and use timezone data for scheduling applications.
Tier-Based Field Availability
| Tier | Plans | Fields |
|---|---|---|
| Basic | Community, Starter, Legacy | id, name, iso2, iso3, phonecode, capital, currency, native, emoji, latitude, longitude, region, region_id, subregion, subregion_id, timezones |
| Coordinates | Supporter | All Basic + numeric_code, currency_name, currency_symbol, tld, nationality, population, gdp, area_sq_km, postal_code_format, postal_code_regex, emojiU |
| Full | Professional, Business | All Coordinates + translations, wikiDataId |