Skip to content
GET /v1/meta

Totals & breakdown

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/heritage-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "1,236 inscribed UNESCO World Heritage Sites. category: cultural | natural | mixed. criteria: UNESCO selection criteria i-vi (cultural) / vii-x (natural).",
        "total": 1236,
        "fields": [
            "whc_id",
            "name",
            "country",
            "latitude",
            "longitude",
            "year_inscribed",
            "category",
            "criteria"
        ],
        "source": "UNESCO World Heritage List (via Wikidata)",
        "countries": 174,
        "by_category": {
            "mixed": 41,
            "natural": 236,
            "cultural": 957
        },
        "top_countries": [
            {
                "count": 57,
                "country": "People's Republic of China"
            },
            {
                "count": 54,
                "country": "Italy"
            },
            {
                "count": 51,
                "country": "France"
            },
            {
                "count": 49,
                "country": "Germany"
            },
            {
                "count": 46,
                "country": "Spain"
            },
            {
                "count": 43,
                "country": "India"
            },
            {
                "count": 35,
                "country": "Mexico"
            },
            {
                "count": 33,
                "country": "United Kingdom"
            },
            {
                "count": 29,
                "country": "Iran"
            },
            {
                "count": 28,
                "country": "Russia"
            },
            {
                "count": 25,
                "country": "United States"
            },
            {
                "count": 25,
                "country": "Japan"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-05-31T07:26:14.861Z",
        "request_id": "9e827913-7d79-4af1-b7e8-bfb09c1f5488"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}