Transport for Switzerland
瑞士官方公共交通开放数据
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 交通运输
简介
Transport for Switzerland 提供瑞士公交——社区免密钥 API 实测可用(opendata.ch,实测);官方门户基于密钥。
快速开始
站台(实测可用——苏黎世):
curl "https://transport.opendata.ch/v1/stationboard?station=Zurich&limit=1"
{ "station": { "id": "8503000", "name": "Zürich HB", "coordinate": { "type": "WGS84", "x": 47.378 } } }
认证方式
- 社区 opendata.ch API:无需认证(免密钥,实测)。
- 官方 opentransportdata.swiss:注册 + 密钥。
速率限制与注意事项
- 免费;请礼貌使用——没有公开的硬性限制。
常见问题
Transport for Switzerland 免费吗? 是的——社区 API 免密钥(实测)。
需要密钥吗? opendata.ch API 无需密钥(实测)。
返回什么? 瑞士公交数据。
交通运输 分类更多
| 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 | ↗ |