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/JM/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/JM/",
    "code": "JM",
    "pk": "JM",
    "numerical_code_un": null,
    "name": "Jamaica",
    "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=JM",
    "location": {
        "type": "Point",
        "coordinates": [
            -77.3,
            18.15
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -77.569601,
                    18.490525
                ],
                [
                    -76.896619,
                    18.400867
                ],
                [
                    -76.365359,
                    18.160701
                ],
                [
                    -76.199659,
                    17.886867
                ],
                [
                    -76.902561,
                    17.868238
                ],
                [
                    -77.206341,
                    17.701116
                ],
                [
                    -77.766023,
                    17.861597
                ],
                [
                    -78.337719,
                    18.225968
                ],
                [
                    -78.217727,
                    18.454533
                ],
                [
                    -77.797365,
                    18.524218
                ],
                [
                    -77.569601,
                    18.490525
                ]
            ]
        ]
    }
}