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/BN/?format=api
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/BN/?format=api",
    "code": "BN",
    "pk": "BN",
    "numerical_code_un": null,
    "name": "Brunei Darussalam",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://oipa2018.unesco.org/api/regions/789/?format=api",
        "code": "789",
        "name": "Far East 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=BN",
    "location": {
        "type": "Point",
        "coordinates": [
            114.4,
            4.3
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    114.204017,
                    4.525874
                ],
                [
                    114.599961,
                    4.900011
                ],
                [
                    115.45071,
                    5.44773
                ],
                [
                    115.4057,
                    4.955228
                ],
                [
                    115.347461,
                    4.316636
                ],
                [
                    114.869557,
                    4.348314
                ],
                [
                    114.659596,
                    4.007637
                ],
                [
                    114.204017,
                    4.525874
                ]
            ]
        ]
    }
}