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/BJ/?format=api
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/BJ/?format=api",
    "code": "BJ",
    "pk": "BJ",
    "numerical_code_un": null,
    "name": "Benin",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://oipa2018.unesco.org/api/regions/289/?format=api",
        "code": "289",
        "name": "South of Sahara, 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=BJ",
    "location": {
        "type": "Point",
        "coordinates": [
            2.15,
            9.3
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    2.691702,
                    6.258817
                ],
                [
                    1.865241,
                    6.142158
                ],
                [
                    1.618951,
                    6.832038
                ],
                [
                    1.664478,
                    9.12859
                ],
                [
                    1.463043,
                    9.334624
                ],
                [
                    1.425061,
                    9.825395
                ],
                [
                    1.077795,
                    10.175607
                ],
                [
                    0.772336,
                    10.470808
                ],
                [
                    0.899563,
                    10.997339
                ],
                [
                    1.24347,
                    11.110511
                ],
                [
                    1.447178,
                    11.547719
                ],
                [
                    1.935986,
                    11.64115
                ],
                [
                    2.154474,
                    11.94015
                ],
                [
                    2.490164,
                    12.233052
                ],
                [
                    2.848643,
                    12.235636
                ],
                [
                    3.61118,
                    11.660167
                ],
                [
                    3.572216,
                    11.327939
                ],
                [
                    3.797112,
                    10.734746
                ],
                [
                    3.60007,
                    10.332186
                ],
                [
                    3.705438,
                    10.06321
                ],
                [
                    3.220352,
                    9.444153
                ],
                [
                    2.912308,
                    9.137608
                ],
                [
                    2.723793,
                    8.506845
                ],
                [
                    2.749063,
                    7.870734
                ],
                [
                    2.691702,
                    6.258817
                ]
            ]
        ]
    }
}