Query SNCF's Open Data platform for theoretical and real-time French train schedules

domain: ressources.data.sncf.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Note that SNCF's public Open Data portal is a data-catalog API (built on the Opendatasoft platform) for schedules and reference data — it is not a booking or distribution API, so it cannot be used to sell or reserve tickets.
  2. Locate the relevant dataset (e.g., the theoretical/real-time SNCF schedules dataset) through the portal's dataset catalog before querying it.
  3. Query the dataset using the Opendatasoft-style records/search API — documented in the portal's own API console, which offers multiple concurrent versions (v1, v2.0, v2.1) — filtering by station, route, or time window.
  4. Handle 'theoretical' (planned) and 'real-time' fields as distinct values in the response, since they can diverge during disruptions.
  5. Respect the dataset's ODbL license terms and any documented rate limits when building a production integration on top of the open data feed.

Known gotchas

Related routes

Exchange European public transport timetable and network data using NeTEx
netex-cen.eu · 5 steps · unrated
Query WMATA's rail and bus real-time prediction APIs
developer.wmata.com · 5 steps · unrated
Integrate Swiftly's real-time transit data API for arrival predictions
goswift.ly · 5 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