/v1/meta
Totals & top countries
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}