Naar de inhoud
GET /v1/meta

Totals & top 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/nationalparks-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "National parks worldwide. Search by name, country and establishment-year range; /v1/nearby finds national parks near a coordinate by great-circle distance.",
        "total": 2428,
        "fields": [
            "name",
            "country",
            "latitude",
            "longitude",
            "established_year",
            "website"
        ],
        "source": "Wikidata (national parks)",
        "countries": 164,
        "with_year": 2080,
        "top_countries": [
            {
                "count": 670,
                "country": "Australia"
            },
            {
                "count": 114,
                "country": "India"
            },
            {
                "count": 74,
                "country": "Brazil"
            },
            {
                "count": 59,
                "country": "United States"
            },
            {
                "count": 52,
                "country": "Canada"
            },
            {
                "count": 51,
                "country": "Norway"
            },
            {
                "count": 47,
                "country": "Chile"
            },
            {
                "count": 43,
                "country": "Pakistan"
            },
            {
                "count": 40,
                "country": "Venezuela"
            },
            {
                "count": 39,
                "country": "Philippines"
            },
            {
                "count": 38,
                "country": "Israel"
            },
            {
                "count": 37,
                "country": "Colombia"
            }
        ],
        "with_coordinates": 2363
    },
    "meta": {
        "timestamp": "2026-05-31T12:00:38.908Z",
        "request_id": "09e72794-cc75-4ec0-960a-15d51dc83966"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}