Transport for Switzerland
瑞士公共交通 API
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 交通运输
- 文档 / URL
- https://transport.opendata.ch/
简介
transport.opendata.ch 提供瑞士交通——免密钥(实测可用)。
快速开始
车站(实测可用——苏黎世 HB):
curl "https://transport.opendata.ch/v1/locations?query=Zurich"
{ "stations": [ { "id": "8503000", "name": "Zürich HB", "coordinate": { "type": "WGS84", "x": 47.378... } } ] }
认证方式
无需认证——免密钥。
速率限制与注意事项
- 免费;请礼貌使用——没有公开的硬性限制。
- 地点/班次。
常见问题
Transport for Switzerland 免费吗? 是的——免费且免密钥(实测)。
需要密钥吗? 不需要——免密钥。
返回什么? 瑞士交通数据。
交通运输 分类更多
| 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 | ↗ |