/v1/meta
Usage notes
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}