Skip to main content
GET
/
v2
/
cities
/
{slug}
Get a city by slug
curl --request GET \
  --url https://staging.api.prexsell.com/v2/cities/{slug}
{
  "data": {
    "city": {
      "id": "cld1a2b3c4d5e6f7g8h9i0j1",
      "name": "ΠšΠΈΡ—Π²",
      "slug": "kyiv",
      "country": "UA",
      "timeZone": "Europe/Kyiv"
    }
  }
}

Path Parameters

slug
string
required

URL-friendly slug of the city.

Example:

"kyiv"

Response

A single city record with name, slug, country, and timezone.

data
object
required