Refugee population
refugee_populationRetrieve yearly displacement data (refugees, asylum-seekers, IDPs) for any country, with options to filter by host or origin and cross-reference by second country.
Instructions
Yearly displacement figures for a country: refugees, asylum-seekers, IDPs, stateless and others. role "asylum" (default) = hosted in the country; role "origin" = displaced from it. Optionally cross-filter by a second country (e.g. Syrians hosted in Egypt). Paginated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page (default 1) | |
| role | No | "asylum" = people hosted IN the country; "origin" = people displaced FROM the country | |
| limit | No | Rows per page (default 100) | |
| country | Yes | Country name or ISO3 code, e.g. "Egypt", "EGY", "syria" | |
| year_to | No | Last year of the range (default: latest available) | |
| year_from | No | First year of the range (default: 10 years back) | |
| other_country | No | Optional second country for the opposite role, e.g. country="Egypt", role="asylum", other_country="Syria" → Syrians in Egypt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| records | Yes | ||
| page_info | Yes |