Berlin Transit Station, Route and Departure Scraper
Pricing
from $0.49 / 1,000 results
Berlin Transit Station, Route and Departure Scraper
Look up Berlin-area transit stations, plan journeys between two stops with transfers and prices, or pull a live departure board with delays, across the Berlin/Brandenburg S-Bahn, U-Bahn, tram, bus and regional-rail network.
Pricing
from $0.49 / 1,000 results
Rating
0.0
(0)
Developer
Nimbryxo-studio
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Berlin and Brandenburg run one of Europe's densest local transit networks β S-Bahn, U-Bahn, trams, buses, ferries and regional rail under the VBB fare union. This actor gives you three ways into that network: find a stop by name, plan a journey between two stops, or pull a live departure board for a single stop.
What this actor does
- Station lookup β search any Berlin/Brandenburg stop name and get back matches with coordinates and the transport modes served there.
- Journey planning β resolve an origin and destination stop by name and return upcoming journeys with timing, transfers and price.
- Live departures β pull the next scheduled departures from a specific stop, including real-time delay minutes when reported.
- Covers every local transport mode in the network: suburban (S-Bahn), subway (U-Bahn), tram, bus, ferry, express and regional trains that call at a covered stop.
- Fields that aren't available for a given record (e.g. no delay reported, or no price for a journey) are omitted rather than returned empty.
Output: per station (mode=stations)
stationIdβ unique stop identifierstationNameβ station or stop nametypeβ stop/station type as reported by the networklat,lngβ coordinatestransportModesβ list of modes served at this stop (e.g.suburban,bus)linesβ up to 10 line names serving this stoprecordTypeβ alwaysstationscrapedAtβ ISO 8601 timestamp of collection
Output: per journey (mode=routes)
origin,destinationβ resolved stop namesdeparture,arrivalβ timestamps for the first and last legdurationMinutesβ total journey timetransfersβ number of changesprice,currencyβ fare, when the route carries pricing datatransportModesβ modes used across all legs (includeswalkingfor transfer walks)linesβ line names used, leg by legrecordTypeβ alwaysjourneyscrapedAtβ ISO 8601 timestamp of collection
Output: per departure (mode=departures)
stationId,stationNameβ the stop the board is forlineβ line name (e.g.S1,M41)modeβ transport mode of that lineoperatorβ operating companytowardsβ destination/direction shown on the boardscheduledAtβ scheduled departure timedelayMinutesβ reported delay in minutes, when availablerecordTypeβ alwaysdeparturescrapedAtβ ISO 8601 timestamp of collection
Input
| Field | Type | Default | Description |
|---|---|---|---|
mode | string | stations | stations, routes, or departures |
query | string | Berlin | Stop name to search (mode=stations), or to resolve a departure board when stationId isn't set (mode=departures) |
origin | string | Berlin Hauptbahnhof | Departure stop name (mode=routes) |
destination | string | Hamburg Hauptbahnhof | Arrival stop name (mode=routes) β see FAQ: use a Berlin/Brandenburg stop name for a real match |
stationId | string | β | Specific stop ID to use directly for a departure board (mode=departures), skips the name lookup |
maxItems | integer | 20 | Maximum records to return (1β200) |
Example: search for a stop
{"mode": "stations","query": "Alexanderplatz"}
Example: plan a journey
{"mode": "routes","origin": "Berlin Hauptbahnhof","destination": "Potsdam Hauptbahnhof","maxItems": 5}
Example: live departure board by station ID
{"mode": "departures","stationId": "900000100003","maxItems": 20}
Use cases
- Travel planning tools β resolve a Berlin-area stop name and preview upcoming journeys before booking.
- Delay monitoring β poll a stop's departure board to track live delays through the day.
- Trip comparison β compare transfer count and duration across journey options for the same route.
- Transit app prototyping β pull real stop IDs, coordinates and served lines to seed a dataset.
- Commuter research β check which transport modes serve a given stop before relying on it.
FAQ
Does this cover all of Germany, or just Berlin? Just the Berlin/Brandenburg (VBB) network. A query for a stop outside that area (e.g. a Munich or Hamburg address) won't error β it will fuzzy-match the closest-sounding Berlin/Brandenburg stop name instead, which can produce a misleading result. Stick to stops within Berlin and Brandenburg for reliable matches.
Does this only cover Deutsche Bahn long-distance trains? No β it covers the local Berlin/Brandenburg network: S-Bahn, U-Bahn, trams, buses, ferries and regional trains, wherever that mode of transport serves the stop you searched. Long-distance ICE/IC services aren't indexed by this data source.
How do I find a stationId for the departures mode?
Run mode=stations first with a name query; each result includes stationId. You can then pass that ID directly, or just leave stationId empty and set query to the stop name.
Why is price missing from some journeys?
Not every route returns fare data; when a journey has no fare attached, the price and currency fields are left out of that record.
Why is delayMinutes missing from some departures?
It's only included when the network reports an active delay for that departure; on-time departures simply omit it.
Is the data real-time? Station and journey data reflects the network's current schedule; departure boards reflect live timing including delays where reported.
Is this affiliated with Deutsche Bahn, BVG or VBB? No. This is an independent, third-party actor built on publicly available Berlin/Brandenburg transit data.