Naar de inhoud
GET /v1/goals

The 17 SDG goals

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/sdg-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "count": 17,
        "goals": [
            {
                "uri": "/v1/sdg/Goal/1",
                "code": "1",
                "title": "End poverty in all its forms everywhere",
                "description": "Goal 1 calls for an end to poverty in all its manifestations, including extreme poverty, over the next 15 years. All people everywhere, including the poorest and most vulnerable, should enjoy a basic standard of living and social protection benefits."
            },
            {
                "uri": "/v1/sdg/Goal/2",
                "code": "2",
                "title": "End hunger, achieve food security and improved nutrition and promote sustainable agriculture",
                "description": "Goal 2 seeks to end hunger and all forms of malnutrition and to achieve sustainable food production by 2030. It is premised on the idea that everyone should have access to sufficient nutritious food, which will require widespread promotion of sustainable agriculture, a doubling of agricultural productivity, increased investments and properly functioning food markets."
            },
            {
                "uri": "/v1/sdg/Goal/3",
                "code": "3",
                "title": "Ensure healthy lives and promote well-being for all at all ages",
                "description": "Goal 3 aims to ensure health and well-being for all at all ages by improving reproductive, maternal and child health; ending the epidemics of major communicable diseases; reducing non-communicable and environmental diseases; achieving universal health coverage; and ensuring access to safe, affordable and effective medicines and vaccines for all."
            },
            {
                "uri": "/v1/sdg/Goal/4",
                "code": "4",
                "title": "Ensure inclusive and equitable quality education and promote lifelong learning opportunities for all",
                "description": "Goal 4 focuses on the acquisition of foundational and higher-order skills; greater and more equitable access to technical and vocational education and training and higher education; training throughout life; and the knowledge, skills and values needed to function well and contribute to society."
            },
            {
                "uri": "/v1/sdg/Goal/5",
                "code": "5",
                "title": "Achieve gender equality and empower all women and girls",
                "description": "Goal 5 aims to empower women and girls to reach their full potential, which requires eliminating all forms of discrimination and violence against them, including harmful practices. It seeks to ensure that they have every opportunity for sexual and reproductive health and reproductive rights; receive due recognition for their unpaid work; have full access to productive resources; and enjoy equal participation with men in political, economic and public life."
            },
            {
                "uri": "/v1/sdg/Goal/6",
         
…