Cities
List stops for a city
Returns a paginated list of bus stops belonging to the specified city.
GET
https://api.prexsell.com/v2/cities/{slug}/stopsPath Parameters
slugstringrequiredURL-friendly slug of the city whose stops to retrieve.
Example:
kyiv
Query Parameters
takeintegerdefault:50Maximum number of items to return (1–100).
Required range:
1 <= x <= 100skipinteger | nulldefault:0Number of items to skip for offset pagination.
Required range:
x >= 0
Response 200
application/jsonPaginated list of bus stops belonging to a specific city.
dataobjectrequired
Response 404
application/jsonStandard error response body.
errorsobject[]required