rest-countries

4 endpoints match this tag.

Kaikki maat

GET
/countrydata

Hae comprehensive data for all 250 countries and territories maailmanlaajuisesti, mukaan lukien official name, capital, population, area, region, subregion, languages, currencies, calling codes, top-level domains, borders, and flag information. A complete geographic reference dataset. Hyödyllinen building country selector components, geography education tools, and reference applications.

Maantiede ja sää

Maat alueen mukaan

GET
/countrydata/region/:region

Hae all countries within a geographic region (e.g., Europe, Asia, Africa, Americas, Oceania). Palauttaa full country profiles for each nation in the region. Hyödyllinen building region-filtered views, geographic analysis tools, and educational apps that explore the world by continent.

Maantiede ja sää

Hae maita

GET
/countrydata/search

Hae countries nimellä with fuzzy matching. Palauttaa full country profiles for each match, including capital, population, region, languages, and currency. Hyödyllinen building autocomplete country search fields and location pickers where users might type partial or approximate country names.

Maantiede ja sää

Maan tiedot

GET
/countrydata/:code

Hae the complete profile for a single country by its ISO 3166-1 alpha-2 code. Palauttaa official name, capital, population, area, languages, currencies, calling codes, borders, region, subregion, ja paljon muuta. More efficient than fetching all 250 countries when you only need one. Sopii country detail pages and deep-dive geographic content.

Maantiede ja sää