Naar de inhoud
GET /v1/countries

List supported OECD countries

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/oecd-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/oecd-api/v1/countries" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/oecd-api/v1/countries", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/oecd-api/v1/countries");
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/oecd-api/v1/countries",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 38,
        "countries": [
            {
                "code": "AUS",
                "name": "Australia"
            },
            {
                "code": "AUT",
                "name": "Austria"
            },
            {
                "code": "BEL",
                "name": "Belgium"
            },
            {
                "code": "CAN",
                "name": "Canada"
            },
            {
                "code": "CHL",
                "name": "Chile"
            },
            {
                "code": "COL",
                "name": "Colombia"
            },
            {
                "code": "CRI",
                "name": "Costa Rica"
            },
            {
                "code": "CZE",
                "name": "Czechia"
            },
            {
                "code": "DNK",
                "name": "Denmark"
            },
            {
                "code": "EST",
                "name": "Estonia"
            },
            {
                "code": "FIN",
                "name": "Finland"
            },
            {
                "code": "FRA",
                "name": "France"
            },
            {
                "code": "DEU",
                "name": "Germany"
            },
            {
                "code": "GRC",
                "name": "Greece"
            },
            {
                "code": "HUN",
                "name": "Hungary"
            },
            {
                "code": "ISL",
                "name": "Iceland"
            },
            {
                "code": "IRL",
                "name": "Ireland"
            },
            {
                "code": "ISR",
                "name": "Israel"
            },
            {
                "code": "ITA",
                "name": "Italy"
            },
            {
                "code": "JPN",
                "name": "Japan"
            },
            {
                "code": "KOR",
                "name": "Korea"
            },
            {
                "code": "LVA",
                "name": "Latvia"
            },
            {
                "code": "LTU",
                "name": "Lithuania"
            },
            {
                "code": "LUX",
                "name": "Luxembourg"
            },
            {
                "code": "MEX",
                "name": "Mexico"
            },
            {
                "code": "NLD",
                "name": "Netherlands"
            },
            {
                "code": "NZL",
                "name": "New Zealand"
            },
            {
                "code": "NOR",
                "name": "Norway"
            },
            {
                "code": "POL",
                "name": "Poland"
            },
            {
                "code": "PRT",
                "name": "Portugal"
            },
            {
                "code": "SVK",
                "name": "Slovak Republic"
            },
            {

…