4 endpoints match this tag.
/countrydata
Get comprehensive data for all 250 countries and territories worldwide, including official name, capital, population, area, region, subregion, languages, currencies, calling codes, top-level domains, borders, and flag information. A complete geographic reference dataset. Useful for building country selector components, geography education tools, and reference applications.
/countrydata/region/:region
Get all countries within a geographic region (e.g., Europe, Asia, Africa, Americas, Oceania). Returns full country profiles for each nation in the region. Useful for building region-filtered views, geographic analysis tools, and educational apps that explore the world by continent.
/countrydata/search
Search countries by name with fuzzy matching. Returns full country profiles for each match, including capital, population, region, languages, and currency. Useful for building autocomplete country search fields and location pickers where users might type partial or approximate country names.
/countrydata/:code
Get the complete profile for a single country by its ISO 3166-1 alpha-2 code. Returns official name, capital, population, area, languages, currencies, calling codes, borders, region, subregion, and more. More efficient than fetching all 250 countries when you only need one. Ideal for country detail pages and deep-dive geographic content.