freeapis

Transport for The Netherlands

NS, only trains

Authentication
API Key
HTTPS
No
CORS
Unknown

Overview

NS provides Dutch train data — key-based (a missing key returns 401, verified).

Quick Start

Stations (replace YOUR_KEY):

curl "https://gateway.apiportal.ns.nl/reisinformatie-api/api/v2/stations" \
  -H "Ocp-Apim-Subscription-Key: YOUR_KEY"

Authentication

  • NS API portal → subscription key.
  • Send it as the Ocp-Apim-Subscription-Key header (missing → 401, verified).

Rate Limits & Notes

  • Free tier with limits (check the docs); paid plans scale.
  • Train data.

FAQ

Is Transport for The Netherlands free? Free tier with limits; more is paid.

Why 401? A subscription key is required (verified).

What’s the auth style? Ocp-Apim-Subscription-Key header.

More in Transportation

APIAuthHTTPSCORS
ADS-B Exchange

Access real-time and historical data of any and all airborne aircraft

No authYesUnknown
airportsapi

Get name and website-URL for airports by ICAO code

No authYesUnknown
AIS Hub

Real-time data of any marine and inland vessel equipped with AIS tracking system

API KeyNoUnknown
Amadeus for Developers

Travel Search - Limited usage

OAuthYesUnknown
apilayer aviationstack

Real-time Flight Status & Global Aviation Data API

OAuthYesUnknown