Limited Day Content
Most carriers are able to deliver a full day of trip content when a /connections/find request is performed. Some such as DB, SNCF, Trenitalia and National Rail only deliver partial content for the day.
- DB: 5 trips from selected departure time
- SNCF: 6 trips (up to 12 if ‘twin’ trains are included) from selected departure time
- Trenitalia: All trips within 3 hours from selected departure time
- National Rail: 10 trips from selected departure time
To solve this limitation we recommend retailers to include the search_bounds[0][departure_start_time] parameter in the request (and optionally the search_bounds[0][departure_end_time] as well) which gives passenger more flexibility to find results for the exact time they need.
https://api.demo.distribusion.com/retailers/v4/connections/find?locale=en¤cy=EUR&search_bounds[0][departure_location][type]=stations&search_bounds[0][departure_location][value][]=FRLYSLYN&search_bounds[0][arrival_location][type]=stations&search_bounds[0][arrival_location][value][]=FRPARPRG&search_bounds[0][departure_date]=2025-11-30&search_bounds[0][departure_start_time]=09%3A00&search_bounds[0][is_requested]=true&passengers[][pax]=1&passengers[][max_age]=25To allow users to view all departures available within a day, retailers can add "earlier" and "later" links/buttons to the UI, that would make an additional call to retrieve more departures. Then if a passenger requires to load additional trips before or after the period available in the first request a new request can be performed to the /connections/find endpoint with the search_bounds[0][departure_start_time] matching the last trip available of the previous request.
The same logic also applies to return trips, and in this case you can also define the departure times of the return leg using search_bounds[0][departure_start_time] and search_bounds[0][departure_end_time] parameters for the return bound.
https://api.demo.distribusion.com/retailers/v4/connections/find?locale=en¤cy=EUR&search_bounds[0][departure_location][type]=stations&search_bounds[0][departure_location][value][]=FRLYSLYN&search_bounds[0][arrival_location][type]=stations&search_bounds[0][arrival_location][value][]=FRPARPRG&search_bounds[0][departure_date]=2025-11-30&search_bounds[0][departure_start_time]=09%3A00&search_bounds[0][departure_end_time]=19%3A30&search_bounds[0][is_requested]=false&search_bounds[1][departure_location][type]=stations&search_bounds[1][departure_location][value][]=FRPARPRG&search_bounds[1][arrival_location][type]=stations&search_bounds[1][arrival_location][value][]=FRLYSLYN&search_bounds[1][departure_date]=2025-12-04&search_bounds[1][departure_start_time]=10%3A30&search_bounds[1][departure_end_time]=15%3A15&offers[][id]=f4d9a54c-8cb8-4251-92ec-170aaf863f38%7C0&search_bounds[1][is_requested]=true&passengers[][pax]=1&passengers[][max_age]=25On this page
- Limited Day Content