v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Countries

Retrieve a country.

get/api/v1/countries/{id}

Path parameters

idinteger required

Response

Country with provided id

idinteger required

Id of the country

namestring required

Name of the country

alpha2Codestring required

Country code in Alpha-2 format, following ISO-3166

sanctionedboolean required

Specifies if the country is sanctioned or not

Example response

{
  "id": 1,
  "name": "Bangladesh",
  "alpha2Code": "dk",
  "sanctioned": true
}