Public APIs
Transport for Berlin, Germany favicon

Transport for Berlin, Germany

Transportation

Third-party VBB API.

Transport for Berlin, Germany's website screenshot

About Transport for Berlin, Germany

This is a REST API providing access to public transit data for Berlin and Brandenburg, Germany (VBB - Verkehrsverbund Berlin-Brandenburg). It returns JSON data and does not require authentication, though it enforces a rate limit of 100 requests per minute with a burst allowance of 200 requests per minute.

The API wraps the hafas-client library and exposes endpoints for finding stops and stations (by ID, nearby coordinates, or reachability from an address), retrieving departures and arrivals at a given stop, searching journeys and trips, looking up locations (stops, points of interest, and addresses), and accessing lines, shapes, and maps. Query parameters allow filtering by product type (suburban S-Bahn, U-Bahn, tram, bus, ferry, IC/ICE, regional trains), date and time, language, and result count.

This is aimed at developers building applications that need Berlin-area public transit information, such as journey planners, departure boards, or location-based transit lookups. An OpenAPI playground is available for interactive exploration of the endpoints.

Key features

  • REST API for VBB (Berlin/Brandenburg) transit data returned as JSON
  • No authentication required, rate-limited to 100 requests/minute (burst 200)
  • Find stops, stations, POIs and addresses via fuzzy search (/locations)
  • Find nearby stops/stations by geolocation (/stops/nearby)
  • Get departures and arrivals for a stop/station (/stops/:id/departures, /stops/:id/arrivals)
  • Compute journeys, trips, lines, and reachable stops within a travel time (/journeys, /trips/:id, /stops/reachable-from)

Frequently asked questions

Is authentication required to use the API?

No, the API can be used without authentication, though it has a rate limit of 100 requests/minute with a burst of 200.

What format does the API return data in?

It is a REST API that returns data as JSON.

What kind of data can I query with this API?

You can query stops/stations, nearby locations, departures, arrivals, journeys, trips, lines, and shapes for the VBB (Berlin/Brandenburg) transit network.

Does this API build on an existing library?

The routes wrap methods from hafas-client, a hafas-client v5 library used to interact with HAFAS transit systems.

Who is this API for?

It's for developers building applications that need Berlin/Brandenburg public transit data such as stops, departures, and journey planning.

Ad
Webz.io News API favicon

Webz.io News API

Webz.io News APIs provide global news data for search, monitoring, analytics, and AI applications, with powerful filters and natural-language search.

Learn more
Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon
  • Webz.io News API favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product