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

Query Parameters

cityId
string

Filter stops by the parent city identifier.

Example:

"cld1a2b3c4d5e6f7g8h9i0j1"

country
enum<string>

ISO 3166-1 alpha-2 country code to filter stops.

Available options:
UA,
TR,
PL,
CZ,
IT,
DE,
SK,
HU,
BE,
NL,
RO,
BG,
FR,
AT,
LT,
LV,
EE,
ES,
LU,
CH,
GR,
MD,
SI
Example:

"UA"

take
integer
default:50

Maximum number of stops to return (1–1000).

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

50

skip
integer | null
default:0

Number of items to skip for offset pagination.

Required range: x >= 0
Example:

0

Response

200 - application/json

Paginated list of bus stops, each embedding a summary of the parent city.

data
object
required