UN SDG API
by unstats.un.org
Statistics
Added on November 7th, 2026
Checked and working on November 7th, 2026
Visit unstats.un.org →
What it does
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.
At a glance
- API key
- Not needed · More APIs with no key
- 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
More information: https://unstats.un.org/sdgapi/swagger/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://unstats.un.org/sdgapi/v1/sdg/Goal/List?includechildren=false'
JavaScript
const response = await fetch("https://unstats.un.org/sdgapi/v1/sdg/Goal/List?includechildren=false");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://unstats.un.org/sdgapi/v1/sdg/Goal/List?includechildren=false",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.