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/AI/
HTTP 200 OK
						Allow: GET, HEAD, OPTIONS
						Content-Type: application/json
						Vary: Accept
						
					{
    "url": "https://yoda.oipa.nl/api/countries/AI/",
    "code": "AI",
    "pk": "AI",
    "numerical_code_un": null,
    "name": "Anguilla",
    "alt_name": null,
    "language": "en",
    "region": {
        "url": "https://yoda.oipa.nl/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://yoda.oipa.nl/api/activities/?recipient_country=AI",
    "location": {
        "type": "Point",
        "coordinates": [
            -63.1,
            18.15
        ]
    },
    "polygon": {
        "type": "MultiPolygon",
        "coordinates": [
            [
                [
                    [
                        -63.037668,
                        18.212958
                    ],
                    [
                        -63.099517,
                        18.176174
                    ],
                    [
                        -63.102366,
                        18.180406
                    ],
                    [
                        -63.10912,
                        18.185045
                    ],
                    [
                        -63.11384,
                        18.189846
                    ],
                    [
                        -63.13683,
                        18.173407
                    ],
                    [
                        -63.150502,
                        18.169094
                    ],
                    [
                        -63.167836,
                        18.169338
                    ],
                    [
                        -63.142079,
                        18.198147
                    ],
                    [
                        -63.134348,
                        18.204088
                    ],
                    [
                        -63.122792,
                        18.208075
                    ],
                    [
                        -63.097239,
                        18.21247
                    ],
                    [
                        -63.085846,
                        18.217719
                    ],
                    [
                        -63.067779,
                        18.236477
                    ],
                    [
                        -63.055084,
                        18.25434
                    ],
                    [
                        -63.038197,
                        18.267727
                    ],
                    [
                        -63.007395,
                        18.273017
                    ],
                    [
                        -62.983998,
                        18.276435
                    ],
                    [
                        -62.972646,
                        18.275865
                    ],
                    [
                        -62.97289,
                        18.269273
                    ],
                    [
                        -62.992909,
                        18.236884
                    ],
                    [
                        -63.000559,
                        18.227362
                    ],
                    [
                        -63.011545,
                        18.220445
                    ],
                    [
                        -63.037668,
                        18.212958
                    ]
                ]
            ],
            [
                [
                    [
                        -63.423573,
                        18.600043
                    ],
                    [
                        -63.427968,
                        18.592841
                    ],
                    [
                        -63.428822,
                        18.601264
                    ],
                    [
                        -63.423573,
                        18.600043
                    ]
                ]
            ]
        ]
    }
}