Berlin Transit Station, Route and Departure Scraper avatar

Berlin Transit Station, Route and Departure Scraper

Pricing

from $0.49 / 1,000 results

Go to Apify Store
Berlin Transit Station, Route and Departure Scraper

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

Nimbryxo-studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

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 identifier
  • stationName β€” station or stop name
  • type β€” stop/station type as reported by the network
  • lat, lng β€” coordinates
  • transportModes β€” list of modes served at this stop (e.g. suburban, bus)
  • lines β€” up to 10 line names serving this stop
  • recordType β€” always station
  • scrapedAt β€” ISO 8601 timestamp of collection

Output: per journey (mode=routes)

  • origin, destination β€” resolved stop names
  • departure, arrival β€” timestamps for the first and last leg
  • durationMinutes β€” total journey time
  • transfers β€” number of changes
  • price, currency β€” fare, when the route carries pricing data
  • transportModes β€” modes used across all legs (includes walking for transfer walks)
  • lines β€” line names used, leg by leg
  • recordType β€” always journey
  • scrapedAt β€” ISO 8601 timestamp of collection

Output: per departure (mode=departures)

  • stationId, stationName β€” the stop the board is for
  • line β€” line name (e.g. S1, M41)
  • mode β€” transport mode of that line
  • operator β€” operating company
  • towards β€” destination/direction shown on the board
  • scheduledAt β€” scheduled departure time
  • delayMinutes β€” reported delay in minutes, when available
  • recordType β€” always departure
  • scrapedAt β€” ISO 8601 timestamp of collection

Input

FieldTypeDefaultDescription
modestringstationsstations, routes, or departures
querystringBerlinStop name to search (mode=stations), or to resolve a departure board when stationId isn't set (mode=departures)
originstringBerlin HauptbahnhofDeparture stop name (mode=routes)
destinationstringHamburg HauptbahnhofArrival stop name (mode=routes) β€” see FAQ: use a Berlin/Brandenburg stop name for a real match
stationIdstring–Specific stop ID to use directly for a departure board (mode=departures), skips the name lookup
maxItemsinteger20Maximum 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.