Aggregate European rail booking content and understand the core flow

domain: rail · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. European rail content is fragmented across national operators (SNCF, DB, Renfe, Trenitalia, Eurostar, etc.) with no single open API covering all; primary aggregation options include Trainline Partner API, Distribusion, and Rail Europe API — each with different carrier coverage.
  2. Authenticate and search by POSTing origin and destination station codes (UIC codes or the aggregator's internal station ids), travel date, passenger types, and optionally a specific departure time range.
  3. Inspect each fare in the results for: carrier_code, service_class, flexibility (refundable/non-refundable/exchangeable), comfort_class, and whether seat reservation is included or mandatory.
  4. For cross-border journeys (e.g. Paris→Barcelona), results may combine segments from multiple carriers — verify each segment's carrier and whether the ticket is a single through-ticket or separate tickets requiring re-validation.
  5. Create a booking by POSTing the selected fare offer id plus passenger details (name, date of birth, loyalty card numbers if applicable); store both the aggregator booking reference and the carrier's own booking code.
  6. Issue the ticket: many rail aggregators require a separate 'confirm' or 'ticket issuance' call after booking; the ticket document (PDF or barcode) is only generated after this step.

Known gotchas

Related routes

Understand the SilverRail and rail GDS integration model for multi-carrier European rail content
silverrail.com · 5 steps · unrated
Implement a Trainline partner API booking flow for UK and European rail with split-ticketing awareness
thetrainline.com · 6 steps · unrated
Implement SilverRail RailShop and RailBook API flow for European multi-carrier rail ticketing
silverrailtech.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans