• Trafiklab
  • APIs
  • Knowledge base
  • News
  • Cases
  • About
  • Status
  • Support
My account
  • APIs
    • GTFS Datasets
      • Overview
      • GTFS Sverige 2
      • GTFS Regional
      • GTFS Sweden 3
    • NeTEx Datasets
      • Overview
      • NeTEx Regional
      • NeTEx Sweden
      • Stops data
      • Samtrafiken Sales data
    • Our APIs
      • Trafiklab realtime APIs
      • ResRobot v2.1
      • KoDa
      • SL's APIs
      • Oxyfi-Realtidspositionering
    • Related data and APIs
      • Public transport data in Europe
      • Västtrafiks API-portal
      • Trafikverket Open API
      • Stockholm open data
      • Göteborg open data
      • Emmission Quality
      • Skjutsgruppen
  • Knowledge base
    • Getting started
      • Using Trafiklab.se
      • Frequently Asked Questions
    • Developing with Trafiklab
      • Best practices
      • Combining data and APIs
      • Example solutions
      • Our SDKs and libraries
      • The protobuf file format
      • The right data for your project
    • Other
      • Improving Trafiklab
  • News
  • Cases
  • About
  • Status
  • Support
  • My account
    Knowledge base
  • Getting started
    • Using Trafiklab.se
    • Frequently Asked Questions
  • Developing with Trafiklab
    • Best practices
      • Conditional GET requests
      • Keeping API keys secret
      • Limiting requests
    • Combining data and APIs
      • Converting SWEREF99 to WGS84
    • Example solutions
      • Voice assistant
        • Creating a DialogFlow agent
        • Creating a fulfillment API
        • Importing our demo project
        • Putting it all online
        • Testing and deploying your app
    • Our SDKs and libraries
      • PHP
        • ResRobot PHP SDK
    • The protobuf file format
    • The right data for your project
      • Departure boards
      • Obtaining stop ids
      • Route-planning
  • Other
    • Improving Trafiklab

Developing with Trafiklab

Best practices

Read more
Theme image

Combining data and APIs

Most of our APIs and datasets are based on different databases and systems, which results in different ids. However, some datasets can be combined.

Read more
Theme image

Example solutions

Want to see what you can do with open data? We have some example solutions, showing you, among other things, how you can set up your own voice assistant to tell you when the next train leaves, or how to build a timetable from GTFS.

Read more
Theme image

Our SDKs and libraries

If you’re using PHP, you’re lucky! We developed open-source SDKs which offer those 3 features, both for the ResRobot and SL APIs. They are interchangeable, meaning your code doesn’t need any modification to change the data source.

Read more
Theme image

The protobuf file format

How to use binary protocol buffer files in your application

Read more
Theme image

The right data for your project

Creating a map with travel times When creating a map with travel times from one stop to different places, also known as an isochrone map, you need to make hundreds till even tens of thousands of API calls.

Read more
Theme image