Skip to main content
GET
Search bus stations
Use it to fill the origin and destination pickers before you create a bus search, then send the station’s id — or its slug — as from or to. Matches come most relevant first, and an empty results means nothing matched. An error the travel provider reports about the request is returned with its own status, code and message.

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of your organization.

Format: UUID

Query Parameters

query
string
required

Text to search bus stations for: part of the station or city name, a slug or an address, case-insensitive.

Minimum string length: 1

Response

Successful response

The bus stations matching a bus location search.

results
object[]
required

Matching bus stations, most relevant first. Empty when nothing matches.