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/BS/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://oipa2018.unesco.org/api/countries/BS/",
    "code": "BS",
    "pk": "BS",
    "numerical_code_un": null,
    "name": "Bahamas (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=BS",
    "location": {
        "type": "Point",
        "coordinates": [
            -76.0,
            24.15
        ]
    },
    "polygon": {
        "type": "MultiPolygon",
        "coordinates": [
            [
                [
                    [
                        -77.53466,
                        23.75975
                    ],
                    [
                        -77.78,
                        23.71
                    ],
                    [
                        -78.03405,
                        24.28615
                    ],
                    [
                        -78.40848,
                        24.57564
                    ],
                    [
                        -78.19087,
                        25.2103
                    ],
                    [
                        -77.89,
                        25.17
                    ],
                    [
                        -77.54,
                        24.34
                    ],
                    [
                        -77.53466,
                        23.75975
                    ]
                ]
            ],
            [
                [
                    [
                        -77.82,
                        26.58
                    ],
                    [
                        -78.91,
                        26.42
                    ],
                    [
                        -78.98,
                        26.79
                    ],
                    [
                        -78.51,
                        26.87
                    ],
                    [
                        -77.85,
                        26.84
                    ],
                    [
                        -77.82,
                        26.58
                    ]
                ]
            ],
            [
                [
                    [
                        -77,
                        26.59
                    ],
                    [
                        -77.17255,
                        25.87918
                    ],
                    [
                        -77.35641,
                        26.00735
                    ],
                    [
                        -77.34,
                        26.53
                    ],
                    [
                        -77.78802,
                        26.92516
                    ],
                    [
                        -77.79,
                        27.04
                    ],
                    [
                        -77,
                        26.59
                    ]
                ]
            ]
        ]
    }
}