Starting from 3.4.2023, use of Digitransit APIs will require registration. The registration is now open. More information
Topics:

APIs

API access rights

The APIs hosted at api.digitransit.fi are publicly available but registration and use of API keys is required. More information is available here. See terms of use for license information.

The APIs currently have no rate limiting, but you should avoid doing more than 10 requests per second. In the future, we will enforce rate and quota limits but the limits should only restrict misuse of the APIs, not normal use. We will inform the registered users about these limits before we will enforce them. If you need to make large amount of requests, you might want to host the API locally.

If you want to improve or modify the APIs in some way, you can either contribute to the projects through https://github.com/HSLdevcom or host your own APIs based on those sources.

APIs

API Description
Routing API Routing API (OpenTripPlanner) provides a way to plan itineraries and query public transport related information about routes, stops and timetables.
Geocoding API Geocoding API provides a way to perform address searches and address lookups (also known as geocoding and reverse geocoding).
Map API Provides raster map images (background map tiles) as well as vector map tiles for stops and other points of interests like ticket sales positions, city bike stations and park and ride areas.
Real-time API - Service alerts               Provides HSL's disruption information in the GTFS-RT Service Alerts format and cancelled trips as Trip Updates. 
Real-time API - Trip updates Provides realtime trip progress and schedule deviations (predictions) in the GTFS-RT Trip Updates format.
Real-time API - High frequency positioning Provides realtime vehicle locations in a JSON format over MQTT.