Get Cities in a Country

Get a list of cities for the specified country (e.g. for city targeting).

Example - get cities in the US:

GET /backstage/api/1.0/resources/countries/US/cities
{
   "results": [
      {
         "name": "AL",
         "value": "Alabama"
      },
      {
         "name": "AK",
         "value": "Alaska"
      },
      {
         "name": "AR",
         "value": "Arkansas"
      },
      {
         "name": "AZ",
         "value": "Arizona"
      },
      {
         "name": "CA",
         "value": "California"
      }
      // Additional rows (objects) omitted
   ]
}

πŸ“˜

You must provide a valid country code - see: Get list of Countries.
The country code is not case sensitive.
If you provide an invalid country code, the API returns a JSON object with 404 Not Found.

Language
Authentication
OAuth2
Click Try It! to start a request and see the response here!