Getting API keys

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.

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. In order to do this, head to your personal page, by hovering over your profile name in the top-right corner. Alternatively, you can follow this link: https://developer.trafiklab.se/user.

Click on the name of the project which you want to retrieve API keys for, and head to the “API-nycklar” tab. You’ll see a list of all the APIs which you added to the project. They’ll look similar to the example below.

Screenshot of an API in a project for which no key has been retrieved

Click the purple button to retrieve your API key. After agreeing to the terms and conditions, you will receive an API-key. You can always come back to the “API-nycklar” tab to view your API keys.

Screenshot of an API key in a Trafiklab project

You can now use APIs and start building! Read on to learn more about how you can manage your project, including how to add more APIs or how to upgrade your keys.

Right now, the developer portal is not available in English yet. While these guides should help you to get started, the following list of common Swedish words should help you to get around on the developer portal.

  • Spara: Save/Submit
  • Tillbaka: Back
  • Radera: Delete
  • Hämta: Fetch
  • Skapa: Create
  • Nyckel: (API) key
  • Nivå: Level
  • Konto: Account