Getting Started

📘

Getting an API key

The Transport for Edinburgh Open Data API is closed to new members at the moment. We will be opening the API up for public use in the near future.

The Transport for Edinburgh Open Data API makes it easy to tap into all of our bus and tram service information. From here you can request data about stop locations, service routes, timetables and live bus locations.

All API requests are made to https://tfe-opendata.com/api/<version>, where the version is currently v1. All of our endpoints require authentication with an API key. Please see the Authentication section for more details.

The following endpoints are currently available:

  • Stops
  • Services
  • Journeys
  • Timetables
  • Service status
  • Live bus locations