Humanitarian Data Exchange API
Overview
The Humanitarian Data Exchange (HDX) API provides programmatic access to thousands of open humanitarian datasets covering crises, conflicts, disasters, and development indicators worldwide, shared by UN agencies, NGOs, and governments. Registration is free and an API key is available through your HDX account. It is a powerful resource for researchers and developers working on humanitarian or global development projects.
Beginner Tip
Start by searching datasets with the /api/3/action/package_search?q= endpoint before downloading anything — it lets you filter by country, organization, or topic to find exactly what you need without browsing the full catalog.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from Humanitarian Data Exchange",
"description": "Humanitarian Data Exchange (HDX) is open platform for sharing data across crises and organisations",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
result.results List of dataset objects matching your search query. result.count Total number of datasets matching the search query. result.results[].name URL-safe slug identifier for the dataset. result.results[].title Human-readable title of the dataset. result.results[].resources List of downloadable files associated with the dataset, each with a download URL and format. result.results[].organization.title Name of the organization that published the dataset. Implementation Example
const url = "https://data.humdata.org/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Coronavirus
This Coronavirus API provides the latest global Covid-19 case counts, deaths, and recoveries aggregated from public health sources.
Coronavirus in the UK
The Coronavirus in the UK API provides official UK Government data on Covid-19 cases, deaths, and vaccinations broken down by region and nation.
Covid Tracking Project
⭐ Beginner's PickThe Covid Tracking Project API provides historical US Covid-19 data including tests, hospitalizations, and deaths at the state and national level.
Covid-19
Covid-19 provides programmatic access to covid 19 spread, infection and recovery via REST API.
Covid-19
⭐ Beginner's PickThe Covid-19 API by M-Media Group provides daily case counts, deaths, and recoveries for every country in the world.