/v1/language
Countries speaking a language
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/countries-api/v1/language" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/countries-api/v1/language", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/countries-api/v1/language");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/countries-api/v1/language",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 7,
"language": "german",
"countries": [
{
"cca2": "AT",
"cca3": "AUT",
"name": "Austria",
"region": "Europe",
"capital": [
"Vienna"
],
"flag_svg": "https://flagcdn.com/at.svg",
"subregion": "Central Europe",
"population": 9200931,
"official_name": "Republic of Austria"
},
{
"cca2": "BE",
"cca3": "BEL",
"name": "Belgium",
"region": "Europe",
"capital": [
"Brussels"
],
"flag_svg": "https://flagcdn.com/be.svg",
"subregion": "Western Europe",
"population": 11825551,
"official_name": "Kingdom of Belgium"
},
{
"cca2": "DE",
"cca3": "DEU",
"name": "Germany",
"region": "Europe",
"capital": [
"Berlin"
],
"flag_svg": "https://flagcdn.com/de.svg",
"subregion": "Western Europe",
"population": 83491249,
"official_name": "Federal Republic of Germany"
},
{
"cca2": "LI",
"cca3": "LIE",
"name": "Liechtenstein",
"region": "Europe",
"capital": [
"Vaduz"
],
"flag_svg": "https://flagcdn.com/li.svg",
"subregion": "Western Europe",
"population": 40900,
"official_name": "Principality of Liechtenstein"
},
{
"cca2": "LU",
"cca3": "LUX",
"name": "Luxembourg",
"region": "Europe",
"capital": [
"Luxembourg"
],
"flag_svg": "https://flagcdn.com/lu.svg",
"subregion": "Western Europe",
"population": 681973,
"official_name": "Grand Duchy of Luxembourg"
},
{
"cca2": "NA",
"cca3": "NAM",
"name": "Namibia",
"region": "Africa",
"capital": [
"Windhoek"
],
"flag_svg": "https://flagcdn.com/na.svg",
"subregion": "Southern Africa",
"population": 3022401,
"official_name": "Republic of Namibia"
},
{
"cca2": "CH",
"cca3": "CHE",
"name": "Switzerland",
"region": "Europe",
"capital": [
"Bern"
],
"flag_svg
…