Humanitarian Data Exchange
The Humanitarian Data Exchange (HDX) is an open data platform run by the Centre for Humanitarian Data, part of the United Nations Office for the Coordination of Humanitarian Affairs (OCHA). It brings together crisis and development data from hundreds of contributing organisations, including UN agencies, governments, NGOs and research bodies. By the end of 2025 the platform held around 20,000 datasets shared by over 200 active partners, covering population and displacement figures, food security, conflict events, administrative boundaries, health, and response logistics across more than 20 humanitarian operations.
The catalogue runs on CKAN, so you can browse and search through the web portal or pull records programmatically through the HDX and CKAN APIs, and there is a maintained Python library for bulk and scripted access. Individual datasets download directly, most commonly as CSV, Excel, GeoJSON or shapefiles, and many carry HXL hashtags that make columns machine readable across files. Coverage is organised by location and by crisis, which makes it straightforward to assemble a focused corpus for one country or emergency.
For RAG and AI work, HDX is best treated as a source of structured, geographic and numeric data rather than prose. The reliable pattern is to convert the series and tables you need into short factual statements before embedding them, or to keep them in a database the model can query, rather than indexing raw tables. It suits assistants for humanitarian response, situation reporting, and development research that need authoritative, current figures to ground their answers.
The licence position is the main caveat: there is no single platform licence, because each publisher chooses their own. Most datasets are openly licensed under CC BY, but you will also find CC BY-IGO (intergovernmental attribution), CC BY-SA (share-alike), ODC-ODbL and an Other category that is sometimes limited to humanitarian use. Check the licence on each dataset page before any commercial reuse. For broader country statistics, pair it with World Bank Open Data.
Related sources
Eurostat
The statistical office of the European Union, providing official statistics for Europe. Covers the economy, population, environment, agriculture, trade, and more across EU member states, with harmonised figures that let you compare countries on a like-for-like basis.
FRED (Federal Reserve Economic Data)
A large online database of macroeconomic and financial time series maintained by the Federal Reserve Bank of St. Louis, with around 845,000 series drawn from over 120 public and private sources. Free to access through a REST API returning JSON or XML.
IMF Data
A gateway to the IMF's global economic data, giving streamlined access to macroeconomic and financial statistics. Includes International Financial Statistics covering balance of payments, interest rates, national accounts, prices, production, trade, and population for more than 200 countries.
OECD Data
Reports, data, and publications on the economic, environmental, and social conditions in hundreds of countries. Includes International Development Statistics covering aid volume, origin, and types, plus the Creditor Reporting System with detailed information on individual aid activities.