TripGo API

The TripGo API allows you to plan door-to-door trips using a large variety of public and private transport. It integrates real-time information and, for selected providers, allows users to book and pay for transport.


Getting started

Getting an API key

The API is not yet open to the public. If you would like early access, please email us. For details about pricing and on limits of the free tier, see the SkedGo website.

Once you have an API key, make sure to send it along with every request as the X-TripGo-Key header.

Before you dive in

This API is powered by multiple servers, not all of which cover every region. You have to use the correct host names for the region that you query. You get those host names by first querying regions.json and looking up the urls for that region. You should only cache this information short term as those URLs can change without notice.

This API is optimised to return a large number of trip results while maintaining a small package sizes. This has a number of complications. Notably, to get a trip's segments you need to combine the segment references with the segment templates.


API specs

The specifications are available in OpenAPI (formerly Swagger) format. Pick your favorite UI to browse the specs:


Advanced

Once you dig into the API, you'll likely soon want to know more about some of its details.

General:

Routing:

Locations:


Deep Linking

For a light-weight alternative to using our API, you can also deep-link into the TripGo app.

Routing results

$schema://$host/go?$parameters

Opens the routing results for the specified destination, and optionally the start and time:

Examples:

Destination information

$schema://$host/meet?$parameters

Opens the search screen with the destination and arrival time filled in.

Examples:

Timetable

$schema://$host/stop/$region/$stopCode

Opens the departures timetable for a given stop. $region and $stop use region codes and stop codes as defined in our API.

Examples:


Transport Provider Integration

For integrating new transport services into the TripGo app, as well as the TripGo API, please have a look at our Transport Providers website and get in touch with our team.