@transreport/pauk-ujp-api
    Preparing search index...

    Variable searchJourneysConst

    searchJourneys: (
        journeySearchRequest: JourneySearchRequest,
        options?: Parameters<typeof apiClientMutator>[1],
    ) => Promise<JourneySearchResponse>

    Search outward, inward or both directions using one shared routing object. For different routing options, send separate one-direction searches. Service dates must be today or later in Europe/London, within the booking horizon (82 days, or 26 weeks when extended). Identify stations with objects such as {"crs":"KGX"}; unsupported identifiers return 422.

    Results are ordered by scheduled departure. For earlier/later options, resubmit one direction with a new time and the same effective filters; results may overlap. No matches returns 200 with an empty journeys array. A failed search returns no partial results.

    Type Declaration