Get-stats-persons-of-concern

From UNHCR
Jump to: navigation, search


Returns statistics for persons of concern.

Resource URL


http://data.unhcr.org/api/stats/persons_of_concern.json


Parameters


year

required

The year of the desired data

Example Values: 2013

country_of_residence

optional

Three letter acronym of country of residence

Example Values: AFG

country_of_origin

required

Three letter acronym of country of origin

Example Values: CHE


Example Request


GET http://data.unhcr.org/api/stats/persons_of_concern.json?year=2013&country_of_origin=AFG&country_of_residence=CHE
[
    {
        "year": "2013",
        "country_of_residence": "CHE",
        "country_of_residence_en": "Switzerland",
        "country_of_origin": "AFG",
        "country_of_origin_en": "Afghanistan",
        "refugees": "2578",
        "asylum_seekers": "2190",
        "returned_refugees": null,
        "idps": null,
        "returned_idps": null,
        "stateless_persons": null,
        "others_of_concern": null,
        "total_population": "4768"
    }
]