Search train journeys
Searches one-way adult journeys for a whole departure day, including hidden earlier services, and waits for every journey's lazy price and available classes before returning times, operators, train numbers, changes, travel time and lowest party prices in SEK öre. Returns up to `limit` results per call (default 20, maximum 50); SJ shows the complete day on one page, and when `next_cursor` is not null, call again within ten minutes with the same inputs and `cursor` set to it for the results that follow; when `list_changed` is true, results may repeat earlier ones, so de-duplicate by journey ID. Search only, never books; unavailable journeys retain their status without invented prices, and optional journey filters, campaign codes, pets and travel-pass additions are excluded.
Input
from_stationstringrequiredto_stationstringrequireddatestringrequiredadultsintegerrequiredResult
datestringadultsintegerhas_morebooleanjourneyslist of objectsto_stationstringnext_cursorstring or nullfrom_stationstringlist_changedbooleantotal_resultsinteger or nullday_journey_countintegerprices_loaded_countintegernext_cursor_expires_atstring or nullnext_cursor_unavailablestring