Railway Transport for France
SNCF 公共 API
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 交通运输
简介
Railway Transport for France(SNCF)提供火车数据——基于密钥(缺少密钥返回 401,已实测)。
快速开始
覆盖(添加你的密钥):
curl "https://api.sncf.com/v1/coverage/sncf" \
-H "Authorization: YOUR_KEY"
认证方式
- 在 digital.sncf.com 注册 → API 密钥。
- 通过
Authorization请求头携带(缺失 → 401,已实测)。
速率限制与注意事项
- 基于密钥带免费层(看文档)。
- 火车时刻表、路线。
常见问题
SNCF 免费吗? 按文档基于密钥带免费层。
为什么 401? 需要密钥(已实测)——请注册获取。
认证风格是什么?
Authorization 请求头。
交通运输 分类更多
| 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 | ↗ |