Recurring schedules vs. dated journeys

How multimodal schedule data turns recurring flights and trains into dated journeys, and what an empty search result means.

A train can usually run at 10:00 local time without leaving at the same instant in UTC all year. That’s why the Trip Topology API keeps recurring service patterns separate from dated journeys.

Recurrence describes a local clock

A direct connection describes a service pattern: the usual local times, boarding weekdays and, when known, the dates the pattern covers. For an overnight service the arrival can be on a later day. A recurrence carries time zones rather than a fixed UTC offset, since clock changes can shift that offset.

A dated journey search selects patterns for the requested weekday and known validity, then compares instants across time zones. In the Cologne to Tokyo example, flight LH716 leaves Frankfurt at 14:00 with an offset of +01:00. It reaches Haneda at 10:45 the next day with an offset of +09:00. The elapsed flight time is 12 hours 45 minutes, not the 20 hours 45 minutes you get by subtracting the local clocks.

A 200 with no journeys is a valid answer

Start with the example’s 11:00 to 11:30 departure window on 3 December 2026 and move the start to 11:19, one minute after ICE 225 leaves. The same snapshot returns an empty list for that window. A different date, a missing operator or a missing link can also leave a search with no options. If the request fails, handle the error code instead of presenting it as an empty result.

For a client, “No options found for these dates and filters” is a better message than “There is no route.” Keep the original date and filters visible, and let the user widen them. When showing results, remind users to verify schedule and availability before booking.