Vai al contenuto
GET /v1/meta

Usage notes

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/sdg-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/sdg-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sdg-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sdg-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/sdg-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": "The UN Sustainable Development Goals — the global framework of 17 goals, 169 targets and 200+ indicators for ending poverty, protecting the planet and ensuring prosperity by 2030. /v1/goals = the 17 goals with title and description; /v1/goal?id=3 = a goal with all of its targets and the indicators under each target; /v1/series?indicator=3.1.1 = the statistical data series that measure an indicator, with each series' code and description (e.g. SH_STA_MORT = maternal mortality ratio); /v1/data?series=SH_STA_MORT&area=276 = a series' full time-series for a country, each point with year, value, unit, breakdown dimensions (sex, age, location…) and source; /v1/areas?q=germany = UN M49 areas (countries, regions and the world) with their numeric area codes — use the code as the area parameter for /v1/data (e.g. 276 = Germany, 826 = United Kingdom, 1 = World). Indicator codes come from /v1/goal, series codes from /v1/series and area codes from /v1/areas. Data from the UN Statistics Division Global SDG Indicators Database. For WHO health statistics see the WHO API, for World Bank development indicators the World Bank API.",
        "source": "United Nations SDG API — UN Statistics Division (unstats.un.org)",
        "endpoints": [
            "/v1/goals",
            "/v1/goal",
            "/v1/series",
            "/v1/data",
            "/v1/areas",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T08:13:09.734Z",
        "request_id": "a18a8ea5-a6cd-4d3f-9dfc-3d23730f19cf"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}