List all countries
Returns every country (enriched). Optionally filter by region, project a comma-separated subset of fields, and cap results with limit (default 300).
query Parameters
fieldsComma-separated field names to project (e.g. name_common,cca2,calling_codes).
regionFilter by region (case-insensitive).
limitMax results, clamped 1..500.
List all countries › Responses
A list of countries
countNumber of countries returned in this response.
totalTotal number of countries matching before limit.
Resolve a single country by code
Resolve one country by cca2, cca3, ccn3 or cioc, tried in that order, case-insensitive.
path Parameters
codeA cca2, cca3, ccn3 or cioc code (e.g. AW, ABW, 533, ARU).
Resolve a single country by code › Responses
The matched country
A country enriched with flag URLs and normalized calling codes.
Search countries by name
Partial, case-insensitive search over name_common, name_official and altSpellings. Results are ranked exact > prefix > substring.
query Parameters
nameName substring to search for.
limitMax results, clamped 1..500.
Search countries by name › Responses
Ranked search results
List countries in a region
List countries using a currency
List countries with a language
List countries by international calling code
Matches an international calling code with or without a leading '+'. Tries an exact full-code match then the dialing root, so shared roots (+1 -> US, CA) and specific codes (+297 -> Aruba) both resolve.
path Parameters
codeCalling code digits, optional leading '+' (e.g. +44, 1, 297).
query Parameters
limitMax results, clamped 1..500.
List countries by international calling code › Responses
Countries matching the calling code