Country Detail

Returns detailed information about Country.

URI Format

/api/countries/{country_id}

URI Parameters

  • country_id: Numerical ID of desired Country

Request parameters

  • fields (optional): List of fields to display
GET /api/countries/BT/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/BT/",
    "code": "BT",
    "pk": "BT",
    "numerical_code_un": null,
    "name": "Bhutan",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://oipa2018.unesco.org/api/regions/689/",
        "code": "689",
        "name": "South & Central Asia, regional"
    },
    "un_region": null,
    "unesco_region": null,
    "dac_country_code": null,
    "iso3": null,
    "alpha3": null,
    "fips10": null,
    "data_source": "IATI",
    "activities": "https://oipa2018.unesco.org/api/activities/?recipient_country=BT",
    "location": {
        "type": "Point",
        "coordinates": [
            90.3,
            27.3
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    91.696657,
                    27.771742
                ],
                [
                    92.103712,
                    27.452614
                ],
                [
                    92.033484,
                    26.83831
                ],
                [
                    91.217513,
                    26.808648
                ],
                [
                    90.373275,
                    26.875724
                ],
                [
                    89.744528,
                    26.719403
                ],
                [
                    88.835643,
                    27.098966
                ],
                [
                    88.814248,
                    27.299316
                ],
                [
                    89.47581,
                    28.042759
                ],
                [
                    90.015829,
                    28.296439
                ],
                [
                    90.730514,
                    28.064954
                ],
                [
                    91.258854,
                    28.040614
                ],
                [
                    91.696657,
                    27.771742
                ]
            ]
        ]
    }
}