Skip to main content
GET
/
v2
/
cities
/
{slug}
/
stops
List stops for a city
curl --request GET \
  --url https://staging.api.prexsell.com/v2/cities/{slug}/stops
{
  "data": {
    "stops": [
      {
        "id": "cst1a2b3c4d5e6f7g8h9",
        "place": "Центральний автовокзал",
        "type": "BUS_STATION",
        "latitude": 50.4501,
        "longitude": 30.5234
      }
    ],
    "total": 1
  }
}

Path Parameters

slug
string
required

URL-friendly slug of the city whose stops to retrieve.

Example:

"kyiv"

Query Parameters

take
integer
default:50

Maximum number of items to return (1–100).

Required range: 1 <= x <= 100
Example:

50

skip
integer | null
default:0

Number of items to skip for offset pagination.

Required range: x >= 0
Example:

0

Response

Paginated list of bus stops belonging to a specific city.

data
object
required