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/TT/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/TT/",
    "code": "TT",
    "pk": "TT",
    "numerical_code_un": null,
    "name": "Trinidad And Tobago",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://oipa2018.unesco.org/api/regions/389/",
        "code": "389",
        "name": "North & Central America, 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=TT",
    "location": {
        "type": "Point",
        "coordinates": [
            -61.0,
            11.0
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -61.68,
                    10.76
                ],
                [
                    -61.105,
                    10.89
                ],
                [
                    -60.895,
                    10.855
                ],
                [
                    -60.935,
                    10.11
                ],
                [
                    -61.77,
                    10
                ],
                [
                    -61.95,
                    10.09
                ],
                [
                    -61.66,
                    10.365
                ],
                [
                    -61.68,
                    10.76
                ]
            ]
        ]
    }
}