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/BG/?format=api
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/BG/?format=api",
    "code": "BG",
    "pk": "BG",
    "numerical_code_un": null,
    "name": "Bulgaria",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://oipa2018.unesco.org/api/regions/89/?format=api",
        "code": "89",
        "name": "Europe, 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=BG",
    "location": {
        "type": "Point",
        "coordinates": [
            25.0,
            43.0
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    22.65715,
                    44.234923
                ],
                [
                    22.944832,
                    43.823785
                ],
                [
                    23.332302,
                    43.897011
                ],
                [
                    24.100679,
                    43.741051
                ],
                [
                    25.569272,
                    43.688445
                ],
                [
                    26.065159,
                    43.943494
                ],
                [
                    27.2424,
                    44.175986
                ],
                [
                    27.970107,
                    43.812468
                ],
                [
                    28.558081,
                    43.707462
                ],
                [
                    28.039095,
                    43.293172
                ],
                [
                    27.673898,
                    42.577892
                ],
                [
                    27.99672,
                    42.007359
                ],
                [
                    27.135739,
                    42.141485
                ],
                [
                    26.117042,
                    41.826905
                ],
                [
                    26.106138,
                    41.328899
                ],
                [
                    25.197201,
                    41.234486
                ],
                [
                    24.492645,
                    41.583896
                ],
                [
                    23.692074,
                    41.309081
                ],
                [
                    22.952377,
                    41.337994
                ],
                [
                    22.881374,
                    41.999297
                ],
                [
                    22.380526,
                    42.32026
                ],
                [
                    22.545012,
                    42.461362
                ],
                [
                    22.436595,
                    42.580321
                ],
                [
                    22.604801,
                    42.898519
                ],
                [
                    22.986019,
                    43.211161
                ],
                [
                    22.500157,
                    43.642814
                ],
                [
                    22.410446,
                    44.008063
                ],
                [
                    22.65715,
                    44.234923
                ]
            ]
        ]
    }
}