Public APIs / Transportation / Transport for Sweden
Transport for Sweden API
Public Transport consumer.
Open the Transport for Sweden documentation Build something with it
Key facts
- Category
- Transportation
- Authentication
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- Listed in
- public-apis
Uses OAuth, so each user logs in and gives your app permission.
What you could build with Transport for Sweden
Transportation APIs return flights, trains, buses, traffic and charging stations.
- A commuter app for a city
- Fleet and route planning
- Travel booking tools
How we would integrate Transport for Sweden
- Register an OAuth app with the provider and add a 'Connect' button so each user grants access.
- Put a small backend in front of it, so the browser talks to your server and your server talks to the API.
- Cache results in your own database, so pages stay fast and you stay inside rate limits.
- Add monitoring: if the API goes down or changes, you get an alert before your customers notice.
Questions about Transport for Sweden
Does the Transport for Sweden API need an API key?
Uses OAuth, so each user logs in and gives your app permission.
Can I call Transport for Sweden from the browser?
It is not documented. Plan for a small server-side proxy to be safe.
Does Transport for Sweden support HTTPS?
Yes, it is served over HTTPS.
Can you build an app with Transport for Sweden for me?
Yes. FullStack Partner has developers who build and run products on APIs like this one. Send us a few lines and we reply with a plan and a fixed price.