Skip to Content
APIGeineAPIGeine

List countries

Returns every country in the dataset once, with its two-letter code and name, in alphabetical order of name. Use it to populate a country selector, or to find a country code for other operations. Takes no input. Read-only.

Subscribe on RapidAPI
GET
/places/v1/countries

Returns every country in the dataset once, with its two-letter code and name, in alphabetical order of name. Use it to populate a country selector, or to find a country code for other operations. Takes no input. Read-only.

Response Body

All countries, alphabetical.

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X GET 'https://places-api-cities-states-regions-countries.p.rapidapi.com/places/v1/countries'
Example Response
{  "success": true,  "data": {    "countries": [      {        "country_code": "US",        "country_name": "United States"      }    ]  }}