# UN SDG API

Category: [Statistics](https://free-web-services.com/web-services/open-data/statistics/)  
Page: https://free-web-services.com/web-services/open-data/statistics/un-sdg-api.html  
Documentation: https://unstats.un.org/sdgapi/swagger/

The UN SDG API from the United Nations Statistics Division gives the global database of the Sustainable Development Goals: the goals, targets and indicators, and the data per country and year, for example to track poverty or access to clean water. Responses are JSON; an OpenAPI (Swagger) description lists every method. Free, no key needed.

- API key: Not needed
- Pricing: Free, no key needed.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: unstats.un.org
- Last checked: Working on November 7th, 2026

Example request:

```sh
curl 'https://unstats.un.org/sdgapi/v1/sdg/Goal/List?includechildren=false'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

