Skip to main content
GET
Returns a paginated list of discoverable cities on Headout. Each city includes a code (used as cityCode in other endpoints), a display name, an image, the country it belongs to, and its IANA timezone. Results are sorted alphabetically by city name. Use the cityCode to filter the Products endpoint.
image.url is a protocol-relative URL (e.g. //cdn-imgix.headout.com/...) — prepend a scheme (https:) before rendering it.

Authorizations

Headout-Auth
string
header
required

Query Parameters

offset
integer
default:0

Number of cities to skip. Defaults to 0. Increment by the limit value (default 20) to fetch subsequent pages.

limit
integer
default:20

Maximum number of cities per page. Defaults to 20. Values above 20 are capped to 20.

Required range: x <= 20

Response

Successful response

cities
object[]

The cities in this page of results.

nextUrl
string | null

Relative URL to fetch the next page of results. Null if on the last page.

prevUrl
string | null

Relative URL to fetch the previous page of results. Null if on the first page.

total
integer

Total number of discoverable cities across all pages.

nextOffset
integer | null

Offset value for the next page. Null if on the last page.