GET /countrydata/:code
Rufen Sie das vollständige Profil eines einzelnen Landes anhand seines ISO 3166-1 alpha-2-Codes ab. Liefert offiziellen Namen, Hauptstadt, Bevölkerung, Fläche, Sprachen, Währungen, Telefonvorwahlen, Grenzen, Region, Subregion und mehr. Effizienter als das Abrufen aller 250 Länder, wenn Sie nur eines benötigen. Ideal für Länder-Detailseiten und tiefgehende geografische Inhalte.
code
erforderlich
Country code
| Name | Erforderlich | Standard | Beschreibung |
|---|---|---|---|
code |
Ja | - | Country code |
curl https://nordapi.ee/api/v1/countrydata/NO
curl https://nordapi.ee/api/v1/countrydata/NO
curl https://nordapi.ee/api/v1/countrydata/JP
curl https://nordapi.ee/api/v1/countrydata/BR
{
"data": {
"area_km2": 386224.0,
"borders": [
"FIN",
"SWE",
"RUS"
],
"capital": "Oslo",
"code": "NO",
"code_alpha3": "NOR",
"continents": [
"Europe"
],
"currencies": {
"NOK": {
"name": "Norwegian krone",
"symbol": "kr"
}
},
"drives_on": "right",
"flag_png": "https://flagcdn.com/w320/no.png",
"flag_svg": "https://flagcdn.com/no.svg",
"languages": {
"nno": "Norwegian Nynorsk",
"nob": "Norwegian Bokmål",
"smi": "Sami"
},
"latitude": 62.0,
"longitude": 10.0,
"name": "Norway",
"official_name": "Kingdom of Norway",
"population": 5606944,
"region": "Europe",
"start_of_week": "monday",
"subregion": "Northern Europe",
"timezones": [
"UTC+01:00"
]
},
"success": true
}