Skip to content
GET /v1/goal

A goal with targets & indicators

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/sdg-api

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "goal": {
            "code": "3",
            "title": "Ensure healthy lives and promote well-being for all at all ages",
            "targets": [
                {
                    "code": "3.1",
                    "title": "By 2030, reduce the global maternal mortality ratio to less than 70 per 100,000 live births",
                    "indicators": [
                        {
                            "code": "3.1.1",
                            "tier": "1",
                            "description": "Maternal mortality ratio"
                        },
                        {
                            "code": "3.1.2",
                            "tier": "1",
                            "description": "Proportion of births attended by skilled health personnel"
                        }
                    ]
                },
                {
                    "code": "3.2",
                    "title": "By 2030, end preventable deaths of newborns and children under 5 years of age, with all countries aiming to reduce neonatal mortality to at least as low as 12 per 1,000 live births and under-5 mortality to at least as low as 25 per 1,000 live births",
                    "indicators": [
                        {
                            "code": "3.2.1",
                            "tier": "1",
                            "description": "Under‑5 mortality rate"
                        },
                        {
                            "code": "3.2.2",
                            "tier": "1",
                            "description": "Neonatal mortality rate"
                        }
                    ]
                },
                {
                    "code": "3.3",
                    "title": "By 2030, end the epidemics of AIDS, tuberculosis, malaria and neglected tropical diseases and combat hepatitis, water-borne diseases and other communicable diseases",
                    "indicators": [
                        {
                            "code": "3.3.1",
                            "tier": "1",
                            "description": "Number of new HIV infections per 1,000 uninfected population, by sex, age and key populations"
                        },
                        {
                            "code": "3.3.2",
                            "tier": "1",
                            "description": "Tuberculosis incidence per 100,000 population"
                        },
                        {
                            "code": "3.3.3",
                            "tier": "1",
                            "description": "Malaria incidence per 1,000 population"
                        },
                        {
                            "code": "3.3.5",
                            "tier": "1",
                            "description": "Number of people requiring interventions against neglected tropical diseases"
                        },
                    
…