cities

Get list of Cities

Get list of City records. All parameters are optional

get/v3/cities/

Query parameters

orderingstring

Comma separated fields to use when ordering the results.

pageinteger

A page number within the paginated result set.

searchstring

Search by city name or country name or country ISO 3166-1 alpha-2 or country ISO 3166-1 alpha-3

search_countrystring

Search by country name or country ISO 3166-1 alpha-2 or country ISO 3166-1 alpha-3

search_namestring

Search by city name

Response

countinteger
nextstring uri nullable
previousstring uri nullable
per_pageinteger

Example response

{
  "count": 123,
  "next": "http://api.example.org/example_page/?page=4",
  "previous": "http://api.example.org/example_page/?page=2",
  "per_page": 20
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.