Using Trafiklab.se

Getting started

New to trafiklab? Start reading here and continue to the next pages using the buttons at the bottom. All the data on Trafiklab is provided free of charge to anyone who is interested. However, most of the APIs which we provide cost us money, and therefore we need to keep control over the number of requests to each service. In order to obtain API keys, you create one or more projects on our website.

Creating an account

Creating an account on Trafiklab is required in order to create projects and API keys. Disable browser plugins like Google Translate when creating a project. They are known to cause issues on the developer portal, when logging in, creating accounts and creating projects. To start, go the account creation page. If you have a GitHub account, you can register and login through GitHub. In order to do so, just click the “Sign up using GitHub” button.

Creating a project

Disable browser plugins like Google Translate when creating a project. They are known to cause issues on the developer portal, when logging in, creating accounts and creating projects. You need an account in order to create projects. Haven’t created an account yet? Get started here. After logging in, you can head to your profile page to create your first project. In order to do this, head to your personal page, by hovering over your profile name in the top-right corner and selecting " profil och project".

Adding APIs to a project

Disable browser plugins like Google Translate when creating a project. They are known to cause issues on the developer portal, when logging in, creating accounts and creating projects. When you want to add more APIs to an existing project, you need to head edit the project first. This can be done by heading to your “profile and projects” page (found in the dropdown from your username in the top-right corner).

Getting API keys

You need an account and project in order to retrieve API keys. Haven’t created an account yet? Get started here. Disable browser plugins like Google Translate when creating a project. They are known to cause issues on the developer portal, when logging in, creating accounts and creating projects. After creating a project, the last thing which is left is to retrieve API keys for your projects.

Upgrading API keys

When your application needs more API calls than your API key quota allow, you can upgrade your keys to a higher level. Upgrading API keys is completely free, and only needed to ensure all Trafiklab users can keep using the service for free. Disable browser plugins like Google Translate when creating a project. They are known to cause issues on the developer portal, when logging in, creating accounts and creating projects.

Frequently asked questions

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.