Railway Transport for France
SNCF public API
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Transportation
- Documentation / URL
- https://www.digital.sncf.com/startup/api
Overview
Railway Transport for France (SNCF) provides train data — key-based (a missing key returns 401, verified).
Quick Start
Coverage (add your key):
curl "https://api.sncf.com/v1/coverage/sncf" \
-H "Authorization: YOUR_KEY"
Authentication
- Register at digital.sncf.com → API key.
- Send it as the
Authorizationheader (missing → 401, verified).
Rate Limits & Notes
- Key-based with a free tier (check the docs).
- Train schedules, routes.
FAQ
Is SNCF free? Key-based with a free tier per the docs.
Why 401? A key is required (verified) — register for one.
What’s the auth style?
Authorization header.
More in Transportation
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| ADS-B Exchange Access real-time and historical data of any and all airborne aircraft | No auth | Yes | Unknown | ↗ |
| airportsapi Get name and website-URL for airports by ICAO code | No auth | Yes | Unknown | ↗ |
| AIS Hub Real-time data of any marine and inland vessel equipped with AIS tracking system | API Key | No | Unknown | ↗ |
| Amadeus for Developers Travel Search - Limited usage | OAuth | Yes | Unknown | ↗ |
| apilayer aviationstack Real-time Flight Status & Global Aviation Data API | OAuth | Yes | Unknown | ↗ |