For AI agents and travel assistants
European trains and buses your agent can book by API
Your assistant searches, compares and books real train and bus journeys across Europe, through an API publicly documented at developers.tictactrip.eu.
// Simplified, illustrative response { "trips": [ { "company": "TGV INOUI", "mode": "train", "departure": "2026-12-12T07:56", "net_price": 58.00, "co2_kg": 1.1 }, { "company": "Flixbus", "mode": "bus", "departure": "2026-12-12T10:00", "net_price": 21.49, "co2_kg": 15 } ] }
Technical needs
What an agent needs to book a train
Structured, reliable data
Timetables, prices, connections and CO₂ footprint, in a format an agent can use.
Many searches, few bookings
An agent compares many options before booking: the look-to-book ratio must allow it.
Booking and after-sales
Going all the way to the ticket, then handling cancellations or resending tickets.
Our booking API
Two APIs, depending on what your agent does
API Booking
For an agent that goes all the way to booking.
- Multimodal search for train, bus and shuttles, direct and combined journeys
- Booking and after-sales by API
- 1000:1 look-to-book, extendable on request
- SNCF advance sales up to 12 months
API Search
For an agent that informs and compares, without booking itself.
- Timetables, prices and CO₂ for European trains and buses
- An optional booking link
Public documentation
The API specification is freely available: your team can study it before the first call.
AI agent FAQ
Another question? Get in touch →Can an AI agent book a train with the Tictactrip API?
Yes. API Booking lets you search, book and handle after-sales for train and bus journeys across Europe.
Are an agent's many searches penalised?
No. Look-to-book is 1000:1, extendable on request, with no financial penalty.
Does the API return the carbon footprint of journeys?
Yes. The CO₂ footprint calculated with ADEME factors is available for each journey.
Where is the documentation?
At developers.tictactrip.eu, freely available.
Give your agent the train
API access or technical questions: the team will get back to you.
Or email us directly at sales@tictactrip.eu