Find Locations
find_locationsFind RegioJet cities and stations by name to get IDs and types for route searches; use city IDs for broad station coverage.
Instructions
Find RegioJet cities and stations by name. Use returned id+type as from/to in search_routes.
Prefer CITY ids for searching (covers all stations in the city); STATION ids are needed for route detail/seats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Response language; defaults to server setting. | |
| limit | No | ||
| query | Yes | City or station name, any language, diacritics optional (e.g. 'Praha', 'Wien', 'Brno hl. n.'). | |
| station_type | No | Only locations with this station type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |