Get by capital

Method: POST

Find country by a capital from our countries list.

api/countries/capital

Body:

{
  "capital": "Harare" //string
}

Response:

{
  "countries": [
    {
      "name": "Zimbabwe",
      "flag": "๐Ÿ‡ฟ๐Ÿ‡ผ",
      "code": "+263",
      "currency": "ZWL",
      "capital": "Harare",
      "languages": [
        "en",
        "sn",
        "nd"
      ],
      "nativeName": "Zimbabwe"
    }
  ]
}