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 RapidAPIReturns 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.
All countries, alphabetical.
application/json- response
success*truetruedata*curl -X GET 'https://places-api-cities-states-regions-countries.p.rapidapi.com/places/v1/countries'{ "success": true, "data": { "countries": [ { "country_code": "US", "country_name": "United States" } ] }}Health check GET
Reports that the service is available. No authentication required.
List states/regions of a country GET
Returns the distinct state, province or region names of one country, in alphabetical order. Use it to populate a state selector after a country is chosen. Requires a two-letter country code (case-insensitive). An unknown code returns an empty list. Read-only.