HDX HAPI Food Security (IPC)
hdx-hapi.food.security_ipcGet IPC (Integrated Food Security Phase Classification) data — population counts by food-insecurity phase (1=minimal to 5=catastrophe), current and projected. Filter by location_code (ISO3), ipc_phase, admin1_name, and admin_level. Data: HDX Humanitarian API (hapi.humdata.org), run by UN OCHA Centre for Humanitarian Data, CC BY 4.0, no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (1-1000, default 100) | |
| offset | No | Number of rows to skip, for pagination (default 0) | |
| ipc_phase | No | IPC phase classification: 1=minimal, 2=stressed, 3=crisis, 4=emergency, 5=catastrophe, 3+=crisis or worse, all=all phases | |
| admin1_name | No | 1st-level subnational admin area name to filter results, e.g. "Kayes" | |
| admin_level | No | Admin granularity of returned rows: 0=national, 1=admin1, 2=admin2 | |
| location_code | No | ISO3 country code to filter results, e.g. "MLI", "AFG", "SOM" | |
| location_name | No | Country name to filter results (alternative to location_code), e.g. "Mali" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |