Transport for The Netherlands
NS,仅列车
- 认证方式
- API Key
- HTTPS
- No
- CORS
- Unknown
- 分类
- 交通运输
简介
NS 提供荷兰列车数据——基于密钥(缺少密钥返回 401,已实测)。
快速开始
车站(替换 YOUR_KEY):
curl "https://gateway.apiportal.ns.nl/reisinformatie-api/api/v2/stations" \
-H "Ocp-Apim-Subscription-Key: YOUR_KEY"
认证方式
- NS API 门户 → 订阅密钥。
- 通过
Ocp-Apim-Subscription-Key请求头携带(缺失 → 401,已实测)。
速率限制与注意事项
- 免费层带限额(看文档);付费档可扩展。
- 列车数据。
常见问题
Transport for The Netherlands 免费吗? 免费层带限额;更多需要付费。
为什么 401? 需要订阅密钥(已实测)。
认证风格是什么?
Ocp-Apim-Subscription-Key 请求头。
交通运输 分类更多
| 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 | ↗ |