Transportation — entry 056 of 69
Transport for Sweden
Trafiklab aggregates Sweden's public transport data into static GTFS/NeTEx feeds and the newer Trafiklab Realtime APIs (departures, arrivals, trip details, stop lookup), plus operator-specific feeds like SL's Stockholm transport API. Every API needs a free key from a developer account, upgradeable to higher quotas at no cost, and data is licensed for reuse even commercially with attribution — not the OAuth flow the stored entry previously claimed.
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSON, GTFS, NeTExResponses can be requested as JSON or GTFS or NeTEx.
GreatAPIs Score
Score84
Authentication15/25API key required
Pricing20/20Free to use
Docs14/20Documentation URL provided
Formats15/15Supports 3 response formats
Freshness20/20Verified within 6 months
Auth quickstart
- Sign up with the provider to get an API key.
- Send it on every request as a header
Authorization: <key> - The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.