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/DO/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/DO/",
    "code": "DO",
    "pk": "DO",
    "numerical_code_un": null,
    "name": "Dominican Republic (The)",
    "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=DO",
    "location": {
        "type": "Point",
        "coordinates": [
            -70.4,
            19.0
        ]
    },
    "polygon": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -71.712361,
                    19.714456
                ],
                [
                    -71.587304,
                    19.884911
                ],
                [
                    -70.806706,
                    19.880286
                ],
                [
                    -70.214365,
                    19.622885
                ],
                [
                    -69.950815,
                    19.648
                ],
                [
                    -69.76925,
                    19.293267
                ],
                [
                    -69.222126,
                    19.313214
                ],
                [
                    -69.254346,
                    19.015196
                ],
                [
                    -68.809412,
                    18.979074
                ],
                [
                    -68.317943,
                    18.612198
                ],
                [
                    -68.689316,
                    18.205142
                ],
                [
                    -69.164946,
                    18.422648
                ],
                [
                    -69.623988,
                    18.380713
                ],
                [
                    -69.952934,
                    18.428307
                ],
                [
                    -70.133233,
                    18.245915
                ],
                [
                    -70.517137,
                    18.184291
                ],
                [
                    -70.669298,
                    18.426886
                ],
                [
                    -70.99995,
                    18.283329
                ],
                [
                    -71.40021,
                    17.598564
                ],
                [
                    -71.657662,
                    17.757573
                ],
                [
                    -71.708305,
                    18.044997
                ],
                [
                    -71.687738,
                    18.31666
                ],
                [
                    -71.945112,
                    18.6169
                ],
                [
                    -71.701303,
                    18.785417
                ],
                [
                    -71.624873,
                    19.169838
                ],
                [
                    -71.712361,
                    19.714456
                ]
            ]
        ]
    }
}