Frequently asked questions

Obs: Detta innehåll finns inte tillgängligt på svenska. Därför ser du engelska versionen. Om du tycker att denna sida borde översättas till svenska, kan du skriva till oss på support.trafiklab.se.

Om du vill se webbsidan på engelska, klicka här.

Trafiklab

Why do I need API keys? Wouldn’t it be easier without?

While we agree, we need the API keys in order to be able to offer this data. Every API call and GTFS download costs us money. Through API keys we can prevent people from downloading the same GTFS file every 15 or 30 minutes, while we are clear about the fact that it only updates once a day.

Don’t worry if you need an upgrade - you’ll most likely get it.

What happens when an API is discontinued?

We rarely discontinue APIs. When a change is coming up, users are notified in good time (often multiple months before).

Whenever I try to edit my project, I get a warning about old keys which will be removed. Why is this and what should I do?

You may have old API keys, which can’t be used any longer since the API has been shut down. Verify this, and if you’re okay with their removal, you can remove them.

Data

Vehicles are appearing in the realtime data, even though they aren’t present in the static data. Why is this?

There might be a high load on a certain bus line, in which case the operator may decide to send out one or more extra buses. These busesare not associated with a planned trip, but will still show up in the realtime data.

Vehicle position data can also include parked vehicles, vehicles on their way to their starting point, or on the way back after their last stop.

Can I stress test the APIs?

No. If you’re wondering if our APIs can handle a certain load, please ask instead.

Why did my request for an API key upgrade get denied?

You will get a message describing the reason when an API key upgrade gets denied. Typically, this is due to magic mirror solutions wanting to use more than 10.000 API calls per month, or due to using the wrong data type, in which case we will point out how other data can make your life easier (for example, when using an API for analytics/mass queries instead of our GTFS/GTFS-RT data)

I still have questions

Don’t hesitate and reach out to us! You can do so by posting to our support forum: https://support.trafiklab.se