Discover the API’s endpoints
Calculate a multi-train itinerary that goes through multiple train stations.
Look up scheduled stops
in each station
Consult a line’s scheduled route (and stops)
train station names
Automatically search for stations using a string of characters
Get your authentication key
€0 / month
Tailored to your needs
90,000 / month
3,000 / day maximum
|Sign up||Contact us|
Test the API
Start to make requests as soon as you get your authentication key
How do I use my authentification key ?
- 1. API Access : https://api.sncf.com/v1
2. Authenticate your Key
- Copy-paste your key in the field
- Leave the field blank
- or insert your key directly into the URL
How do I test the api ?
To obtain id of the city of Paris:
To obtain an itinerary from Paris to Lyon (using id obtained from the call above for "from" and "to" parameters) :