Skip to content

Transport for Sweden

Public Transport consumer

Open documentation ↗
OAuthHTTPSNo CORSTransportation

Verified 4 days ago: 100% uptime

API key

OAuth flow

HTTPS

Supported

Browser calls

No, needs a proxy

Status

Live · 100/100

What our checks found

Health score
100/100
Reliability
100%
Average latency
1154ms

Last checked 2026-09-18. Measured independently, not self-reported by the provider.

How to call it

A starting template for Transport for Sweden. Replace ENDPOINT with the path from the official documentation, which we link above rather than guess at.

# Uses OAuth. Exchange your credentials for an access token first.
curl -s "https://www.trafiklab.se/ENDPOINT" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Accept: application/json"

This API does not send CORS headers, so a browser will block a direct call from your front end. Call it from your server, or put a small proxy in front of it.

Where this listing comes from

Aggregated from 2 public sources (public-api-lists, public-apis), then normalised and checked by us. If something here is wrong, tell us and we will correct it.

Other Transportation APIs

See all 96

Icelandic APIs

Transportation

Open APIs that deliver services in or regarding Iceland

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

LiveTrafficCam

Transportation

Live US state DOT traffic cameras with verified live status and measured uptime

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

REFUGE Restrooms

Transportation

Provides safe restroom access for transgender, intersex and gender nonconforming individuals

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

Wander Atlas

Transportation

Hourly quiet and busy crowd windows for 620+ tourist attractions in 20 countries

No keyCORSHTTPS

Verified 4 days ago: 100% uptime

View Details

Transport for Sweden — common questions

Answered from what our own scheduled checks found, not from the provider's marketing.

Is Transport for Sweden free to use?

Transport for Sweden is listed in our free catalogue, but it requires OAuth, so you will need to register before your first call. Providers frequently reserve higher limits and commercial use for paid plans.

Does Transport for Sweden need an API key?

Transport for Sweden uses OAuth rather than a simple key, so you register an application and complete an authorisation flow before making calls. That is more setup than a key, and it is why OAuth APIs are harder to try quickly.

Can I call Transport for Sweden from browser JavaScript?

Not directly. Transport for Sweden did not return CORS headers when we checked, so the browser will block your page from reading the response even though the request itself succeeds. Call it from a server, or put a small proxy in front of it.

Is Transport for Sweden still working?

Yes, as of 2026-09-18. Our automated check reached Transport for Sweden and recorded a 100% reliability score with a median response time of 1154 ms. We re-check on a schedule, and this page updates with the result.

Is Transport for Sweden available over HTTPS?

Yes. Transport for Sweden serves over HTTPS, so you can call it from a secure page without triggering a mixed-content block.