Affected People
base64 encoded application name and email, as in base64("app_name:email"). This value can also be passed in the X-HDX-HAPI-APP-IDENTIFIER header. See the encoded_app_identifier endpoint.
Filter the response by the population group, available values are described here.
Filter the response by a lower bound for the population.
Filter the response by a upper bound for the population.
Filter the response by the gender, available values are described here.
Filter the response by the age range. These are expressed as [start age]-[end age], or [start age]+ for an age range starting at [start age] or above. The end age is assumed to be inclusive, though that is not always explicit in the source data.
Filter the response by a location (typically a country). The location codes use the ISO-3 (ISO 3166 alpha-3) codes. See the location endpoint for details.
Filter the response by a location (typically a country). The location names are based on the "short name" from the UN M49 Standard. See the location endpoint for details.
Filter the response by the has_hrp flag. The has_hrp flag indicates whether a country has a Humanitarian Response Plan.
Filter the response by the in_gho flag. The in_gho flag indicates whether a country is in the Global Humanitarian Overview.
Filter the response by a location (typically a country). The location codes use the ISO-3 (ISO 3166 alpha-3) codes. See the location endpoint for details.
Filter the response by a location (typically a country). The location names are based on the "short name" from the UN M49 Standard. See the location endpoint for details.
Filter the response by the has_hrp flag. The has_hrp flag indicates whether a country has a Humanitarian Response Plan.
Filter the response by the in_gho flag. The in_gho flag indicates whether a country is in the Global Humanitarian Overview.
Filter entries to include rows where the reference period overlaps with or extends beyond this date, e.g. 2020, 2020-01, 2020-01-01 or 2020-01-01T00:00:00
Filter entries to include rows where the reference period overlaps with or begins prior to this date, e.g. 2020, 2020-01, 2020-01-01, 2020-01-01 or 2020-01-01T23:59:59
jsonPossible values: Maximum number of records to return. The system will not return more than 10,000 records.
10000Example: 100Number of records to skip in the response. Use in conjunction with the limit parameter to paginate.
0Successful Response
Bad Request
Validation Error
Internal Server Error
GET /api/v2/affected-people/refugees-persons-of-concern?app_identifier=text HTTP/1.1
Host: hapi.humdata.org
Accept: */*
{
"data": [
{
"resource_hdx_id": "text",
"population_group": "REF",
"gender": "f",
"age_range": "text",
"min_age": 1,
"max_age": 1,
"population": 1,
"reference_period_start": "2026-01-01T00:00:00.000Z",
"reference_period_end": "2026-01-01T00:00:00.000Z",
"origin_location_code": "text",
"origin_location_name": "text",
"asylum_location_code": "text",
"asylum_location_name": "text"
}
]
}base64 encoded application name and email, as in base64("app_name:email"). This value can also be passed in the X-HDX-HAPI-APP-IDENTIFIER header. See the encoded_app_identifier endpoint.
A category combining gender, age range, disability marker and population group information
Filter the response by the sector code.
Filter the response by the population status, available values are described here.
Filter the response by a lower bound for the population.
Filter the response by a upper bound for the population.
Filter the response by the sector name.
Filter the response by the has_hrp flag. The has_hrp flag indicates whether a country has a Humanitarian Response Plan.
Filter the response by the in_gho flag. The in_gho flag indicates whether a country is in the Global Humanitarian Overview.
Filter entries to include rows where the reference period overlaps with or extends beyond this date, e.g. 2020, 2020-01, 2020-01-01 or 2020-01-01T00:00:00
Filter entries to include rows where the reference period overlaps with or begins prior to this date, e.g. 2020, 2020-01, 2020-01-01, 2020-01-01 or 2020-01-01T23:59:59
Filter the response by a location (typically a country). The location codes use the ISO-3 (ISO 3166 alpha-3) codes. See the location endpoint for details.
Filter the response by a location (typically a country). The location names are based on the "short name" from the UN M49 Standard. See the location endpoint for details.
Filter the response by the 1st subnational administrative divisions. The admin1 codes refer to the p-codes in the Common Operational Datasets. See the admin1 endpoint for details.
Filter the response by the 1st subnational administrative divisions. The admin1 names refer to either the Common Operational Datasets or those provided in the original data source. See the admin1 endpoint for details.
Filter the response by the 2nd subnational administrative divisions. The admin2 codes refer to the p-codes in the Common Operational Datasets. See the admin2 endpoint for details.
Filter the response by the 2nd subnational administrative divisions. The admin2 names refer to either the Common Operational Datasets or those provided in the original data source. See the admin2 endpoint for details.
Filter the response by admin level.
jsonPossible values: Maximum number of records to return. The system will not return more than 10,000 records.
10000Example: 100Number of records to skip in the response. Use in conjunction with the limit parameter to paginate.
0Successful Response
Bad Request
Validation Error
Internal Server Error
GET /api/v2/affected-people/humanitarian-needs?app_identifier=text HTTP/1.1
Host: hapi.humdata.org
Accept: */*
{
"data": [
{
"location_code": "text",
"location_name": "text",
"admin1_code": "text",
"admin1_name": "text",
"admin2_code": "text",
"admin2_name": "text",
"admin_level": 1,
"resource_hdx_id": "text",
"sector_code": "text",
"category": "text",
"population_status": "AFF",
"population": 1,
"reference_period_start": "2026-01-01T00:00:00.000Z",
"reference_period_end": "2026-01-01T00:00:00.000Z",
"sector_name": "text"
}
]
}base64 encoded application name and email, as in base64("app_name:email"). This value can also be passed in the X-HDX-HAPI-APP-IDENTIFIER header. See the encoded_app_identifier endpoint.
Filter the response by the has_hrp flag. The has_hrp flag indicates whether a country has a Humanitarian Response Plan.
Filter the response by the in_gho flag. The in_gho flag indicates whether a country is in the Global Humanitarian Overview.
Filter entries to include rows where the reference period overlaps with or extends beyond this date, e.g. 2020, 2020-01, 2020-01-01 or 2020-01-01T00:00:00
Filter entries to include rows where the reference period overlaps with or begins prior to this date, e.g. 2020, 2020-01, 2020-01-01, 2020-01-01 or 2020-01-01T23:59:59
Filter the response by a location (typically a country). The location codes use the ISO-3 (ISO 3166 alpha-3) codes. See the location endpoint for details.
Filter the response by a location (typically a country). The location names are based on the "short name" from the UN M49 Standard. See the location endpoint for details.
Filter the response by the 1st subnational administrative divisions. The admin1 codes refer to the p-codes in the Common Operational Datasets. See the admin1 endpoint for details.
Filter the response by the 1st subnational administrative divisions. The admin1 names refer to either the Common Operational Datasets or those provided in the original data source. See the admin1 endpoint for details.
Filter the response by the 2nd subnational administrative divisions. The admin2 codes refer to the p-codes in the Common Operational Datasets. See the admin2 endpoint for details.
Filter the response by the 2nd subnational administrative divisions. The admin2 names refer to either the Common Operational Datasets or those provided in the original data source. See the admin2 endpoint for details.
Filter the response by admin level.
jsonPossible values: Maximum number of records to return. The system will not return more than 10,000 records.
10000Example: 100Number of records to skip in the response. Use in conjunction with the limit parameter to paginate.
0Successful Response
Bad Request
Validation Error
Internal Server Error
GET /api/v2/affected-people/idps?app_identifier=text HTTP/1.1
Host: hapi.humdata.org
Accept: */*
{
"data": [
{
"location_code": "text",
"location_name": "text",
"admin1_code": "text",
"admin1_name": "text",
"admin2_code": "text",
"admin2_name": "text",
"admin_level": 1,
"resource_hdx_id": "text",
"reporting_round": 1,
"assessment_type": "BA",
"operation": "text",
"population": 1,
"reference_period_start": "2026-01-01T00:00:00.000Z",
"reference_period_end": "2026-01-01T00:00:00.000Z"
}
]
}base64 encoded application name and email, as in base64("app_name:email"). This value can also be passed in the X-HDX-HAPI-APP-IDENTIFIER header. See the encoded_app_identifier endpoint.
Filter the response by the population group, available values are described here.
Filter the response by the gender, available values are described here.
Filter the response by the age range. These are expressed as [start age]-[end age], or [start age]+ for an age range starting at [start age] or above. The end age is assumed to be inclusive, though that is not always explicit in the source data.
The minimum age from age_range, set to null if age_range is "all" and there is no age disaggregation
The maximum age from age_range, set to null if age_range is "all" and there is no age disaggregation, or if there is no upper limit to the age range
Filter the response by a location (typically a country). The location codes use the ISO-3 (ISO 3166 alpha-3) codes. See the location endpoint for details.
Filter the response by a location (typically a country). The location names are based on the "short name" from the UN M49 Standard. See the location endpoint for details.
Filter the response by the has_hrp flag. The has_hrp flag indicates whether a country has a Humanitarian Response Plan.
Filter the response by the in_gho flag. The in_gho flag indicates whether a country is in the Global Humanitarian Overview.
Filter the response by a location (typically a country). The location codes use the ISO-3 (ISO 3166 alpha-3) codes. See the location endpoint for details.
Filter the response by a location (typically a country). The location names are based on the "short name" from the UN M49 Standard. See the location endpoint for details.
Filter the response by the has_hrp flag. The has_hrp flag indicates whether a country has a Humanitarian Response Plan.
Filter the response by the in_gho flag. The in_gho flag indicates whether a country is in the Global Humanitarian Overview.
Filter entries to include rows where the reference period overlaps with or extends beyond this date, e.g. 2020, 2020-01, 2020-01-01 or 2020-01-01T00:00:00
Filter entries to include rows where the reference period overlaps with or begins prior to this date, e.g. 2020, 2020-01, 2020-01-01, 2020-01-01 or 2020-01-01T23:59:59
jsonPossible values: Maximum number of records to return. The system will not return more than 10,000 records.
10000Example: 100Number of records to skip in the response. Use in conjunction with the limit parameter to paginate.
0Successful Response
Bad Request
Validation Error
Internal Server Error
GET /api/v2/affected-people/returnees?app_identifier=text HTTP/1.1
Host: hapi.humdata.org
Accept: */*
{
"data": [
{
"resource_hdx_id": "text",
"population_group": "REF",
"gender": "f",
"age_range": "text",
"min_age": 1,
"max_age": 1,
"population": 1,
"reference_period_start": "2026-01-01T00:00:00.000Z",
"reference_period_end": "2026-01-01T00:00:00.000Z",
"origin_location_code": "text",
"origin_location_name": "text",
"asylum_location_code": "text",
"asylum_location_name": "text"
}
]
}Last updated
Was this helpful?
