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/LB/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/LB/",
    "code": "LB",
    "pk": "LB",
    "numerical_code_un": null,
    "name": "Lebanon",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://oipa2018.unesco.org/api/regions/589/",
        "code": "589",
        "name": "Middle East, 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=LB",
    "location": {
        "type": "Point",
        "coordinates": [
            35.5,
            33.5
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    35.821101,
                    33.277426
                ],
                [
                    35.552797,
                    33.264275
                ],
                [
                    35.460709,
                    33.08904
                ],
                [
                    35.126053,
                    33.0909
                ],
                [
                    35.482207,
                    33.90545
                ],
                [
                    35.979592,
                    34.610058
                ],
                [
                    35.998403,
                    34.644914
                ],
                [
                    36.448194,
                    34.593935
                ],
                [
                    36.61175,
                    34.201789
                ],
                [
                    36.06646,
                    33.824912
                ],
                [
                    35.821101,
                    33.277426
                ]
            ]
        ]
    }
}