Skip to main content
All providers

Humanitarian Data Exchange (HDX)

Statistics

data.humdata.org

OCHA's Humanitarian Data Exchange, a CKAN catalogue of 28,000+ humanitarian datasets from UN agencies, NGOs and governments: displacement and needs assessments, administrative boundaries (COD-AB), population estimates, health and food-security indicators, with organisation, country, resource and licence metadata.

Capabilities (14)

GET /v1/data/hdx/dataset1 credit

Returns one dataset's full CKAN record: title, notes, organisation, country and location, tags, licence, dates, custom HDX fields and every resource with its URL, format, size and datastore state.

idinclude_tracking?
GET /v1/data/hdx/dataset-names1 credit

Returns a flat list of dataset names (slugs) in the catalogue, 1,000 at a time, for enumeration and mirroring rather than reading.

offset?
GET /v1/data/hdx/datasets1 credit

Full-text and faceted search over the HDX catalogue, returning matching dataset records with title, notes, organisation, country, tags, resource list, licence and dates, plus the total match count.

q?fq?sort?start?
GET /v1/data/hdx/dataset-suggest1 credit

Returns up to ten dataset suggestions for a partial query, each with name, title and the field the match came from.

qlimit?
GET /v1/data/hdx/group1 credit

Returns one group by id with its display name, description, image, package count and the datasets filed under it.

idinclude_datasets?
GET /v1/data/hdx/group-datasets1 credit

Returns the datasets filed under one group, with the same full metadata as the search route and the total count for that group.

groupq?sort?start?
GET /v1/data/hdx/groups1 credit

Returns the catalogue's groups (the country and crisis groupings HDX files datasets under) with id, display name, description, dataset count and image.

limit?offset?sort?
GET /v1/data/hdx/licenses1 credit

Returns the licence vocabulary the catalogue accepts, with id, title, family and ODC/OSD conformance flags.

No parameters
GET /v1/data/hdx/organization1 credit

Returns one contributing organisation's record: id, title, description, image, approval status, custom HDX fields and dataset count.

idinclude_extras?
GET /v1/data/hdx/organization-datasets1 credit

Returns the datasets published by one organisation, with full metadata and the organisation's total dataset count.

organizationq?sort?start?
GET /v1/data/hdx/organizations1 credit

Returns every organisation contributing to HDX (UN agencies, NGOs, governments) with id, title, description, image and dataset count.

limit?offset?sort?
GET /v1/data/hdx/resource1 credit

Returns one resource's metadata: name, description, format, size, download and landing URLs, checksum, created and last-modified dates, and the dataset it belongs to.

id
GET /v1/data/hdx/resource-search1 credit

Searches resource metadata rather than datasets, returning matching files with resource id, dataset id, name, format, size and URL, plus the total count.

queryoffset?order_by?
GET /v1/data/hdx/tags1 credit

Returns catalogue tag names matching a query, for building filters or normalising topic vocabulary.

query

Response example

The shape of data from hdx/dataset (One dataset). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "help": "https://data.humdata.org/api/3/action/help_show?name=package_show",
  "success": true,
  "result": {
    "archived": false,
    "caveats": "SLAC data is collected through direct observation and key informant interviews by trained field teams using a harmonised tool. While it offers timely, settlement-level insights, it is not statistically representative and reflects conditions at the time of visit. Access challenges, limited civilian presence, or security risks may constrain data completeness. In some cases, data is based solely on observation or information from neighbouring areas. Findings are intended to support operational planning, access monitoring, and response feasibility rather than replace multisectoral needs assessments.",
    "creator_user_id": "b682f6f7-cd7e-4bd4-8aa7-f74138dc6313",
    "data_update_frequency": "-2",
    "dataset_date": "[2024-08-20T00:00:00 TO 2025-02-20T23:59:59]",
    "dataset_preview": "no_preview",
    "dataset_source": "AQLITY",
    "has_geodata": false,
    "has_showcases": false,
    "id": "0b24b3cf-6463-48c7-8201-7e6d87f629d6",
    "is_requestdata_type": false,
    "isopen": false,
    "last_modified": "2025-05-08T09:25:22.552404",
    "license_id": "cc-by-igo",
    "license_title": "Creative Commons Attribution for Intergovernmental Organisations (CC BY-IGO)",
    "license_url": "http://creativecommons.org/licenses/by/3.0/igo/legalcode",
    "maintainer": "bdf58358-e241-4e77-93b0-04787efe85d3",
    "metadata_created": "2025-04-30T07:38:52.750257",
    "metadata_modified": "2025-05-08T09:26:53.239628",
    "methodology": "Direct Observational Data/Anecdotal Data",
    "name": "ukraine",
    "notes": "This dataset is part of AQLITY’s Security, Logistics, Access and Cash Feasibility (SLAC) Monitoring tool. It captures granular, settlement-level data collected through direct observation and key informant interviews across eastern Ukraine. The dataset includes information on population presence and vulnerability, access constraints, availability of basic services, market functionality, infrastructure damage, and cash feasibility. Each record reflects a specific assessment round in a given settlement and contributes to tracking humanitarian access and service availability in hard-to-reach and high-risk areas. The dataset is intended to provide operational data for humanitarian organisations and prompt further assessment and/or principled response.",
    "num_resources": 1,
    "num_tags": 10,
    "organization": {
      "id": "03087411-b3c8-44c4-8b9f-e6e6123633b3",
      "name": "aqlity",
      "title": "AQLITY",
      "type": "organization",
      "description": "AQLITY is an Irish humanitarian organization specializing in data-informed response in hard-to-reach areas. It generates and analyzes frontline information to support timely, evidence-based, and accountable humanitarian action.",
      "image_url": "",
      "created": "2025-04-02T06:55:25.604044",
      "is_organization": true,
      "approval_status": "approved",
      "state": "active"
    },
    "owner_org": "03087411-b3c8-44c4-8b9f-e6e6123633b3",
    "package_creator": "berylnyamgeroh",
    "pageviews_last_14_days": 38,
    "private": false,
    "qa_completed": false,
    "solr_additions": "{\"countries\": [\"Ukraine\"]}",
    "state": "active",
    "subnational": "1",
    "title": "Ukraine - Frontline Monitoring",
    "total_res_downloads": 272,
    "type": "dataset",
    "url": null,
    "version": null,
    "groups": [
      {
        "description": "",
        "display_name": "Ukraine",
        "id": "ukr",
        "image_display_url": "",
        "name": "ukr",
        "title": "Ukraine"
      }
    ],
    "resources": [
      {
        "alt_url": "https://data.humdata.org/dataset/0b24b3cf-6463-48c7-8201-7e6d87f629d6/resource/ed35c7f7-ec33-4ead-b3c1-e58632032262/download/",
        "cache_last_updated": null,
        "cache_url": null,
        "created": "2025-05-08T09:25:22.777765",
        "dataset_preview_e

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • One dataset

    Use Humanitarian Data Exchange (HDX) (hdx) from fastCRW Pergamon, capability "One dataset" (dataset). You hold a dataset name or id and need its metadata and the list of files inside it. Example options: id=ukraine. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "hdx" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset names

    Use Humanitarian Data Exchange (HDX) (hdx) from fastCRW Pergamon, capability "Dataset names" (dataset-names). You want to enumerate or diff the catalogue of dataset slugs without pulling metadata. Example options: offset=1000. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "hdx" and capability "dataset-names". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Search datasets

    Use Humanitarian Data Exchange (HDX) (hdx) from fastCRW Pergamon, capability "Search datasets" (datasets). You are looking for humanitarian datasets by keyword, country, format or organisation and do not yet have an id. Example options: q=ukraine, fq=groups:afg, sort=metadata_modified desc. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "hdx" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset autocomplete

    Use Humanitarian Data Exchange (HDX) (hdx) from fastCRW Pergamon, capability "Dataset autocomplete" (dataset-suggest). You have a partial dataset title or slug from a user and need the full names it could be. Example options: q=ukr. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "hdx" and capability "dataset-suggest". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

After downloading a public dataset, users must follow the applicable license when using and sharing the data.

https://data.humdata.org/faqs/terms

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Data from the Humanitarian Data Exchange (HDX), United Nations Office for the Coordination of Humanitarian Affairs (OCHA). Each dataset retains the licence and attribution of its contributing organisation.

Cache: up to 3600s