Transportation — entry 056 of 69

Transport for Sweden

Verified Jul 2026

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.

swedenpublic-transitgtfsreal-timeopen-data
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

Score84out of 100
Authentication15/25API key required
Pricing20/20Free to use
Docs14/20Documentation URL provided
Formats15/15Supports 3 response formats
Freshness20/20Verified within 6 months

Embed this badge

Scored 84 on greatapis.com
<a href="https://greatapis.com/api/transport-for-sweden/"><img src="https://greatapis.com/badge/transport-for-sweden.svg" alt="Scored 84 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. 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.