VOOZH about

URL: https://apify.com/scrapers_lat/deutsche-bahn-scraper

โ‡ฑ Deutsche Bahn Train Connections & Prices Scraper ยท Apify


๐Ÿ‘ Deutsche Bahn Train Connections & Prices Scraper avatar

Deutsche Bahn Train Connections & Prices Scraper

Pricing

from $8.00 / 1,000 results

Go to Apify Store

Deutsche Bahn Train Connections & Prices Scraper

Extract German and European train connections from bahn.de by route, date and time. Scrape departure and arrival times, duration, transfers, ICE/IC/RE train types, cheapest ticket price and full fare breakdown across 5500+ stations.

Pricing

from $8.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 hours ago

Last modified

Share

๐Ÿ‘ Deutsche Bahn Train Connections & Prices Scraper

Deutsche Bahn Scraper

Extract German and European train connections from bahn.de: live departure and arrival times, duration, transfers, ICE/IC/RE train types and ticket prices across 5500+ stations.

๐Ÿ‘ Apify
๐Ÿ‘ Coverage
๐Ÿ‘ Maintained
๐Ÿ‘ Output

22 fields
per record
Germany + Europe
coverage
JSON / CSV / Excel
output formats
Updated
2026-06-27

What you get

Each record is one train connection between two stations on a chosen date and time, with its full leg breakdown, train types and cheapest available fare. Use it to monitor prices, feed a travel planner, compare routes or build a timetable dataset.

  • from: origin station name
  • to: destination station name
  • departure: departure datetime of the connection
  • arrival: arrival datetime of the connection
  • durationMinutes: total travel time in minutes
  • transfers: number of transfers (changes) on the connection
  • trainTypes: distinct train categories used, such as ICE, EC_IC, IR, REGIONAL or SBAHN
  • trains: the individual trains in order, such as ICE 505
  • price: cheapest standard fare for the selected class, when bahn.de offers a through ticket
  • currency: currency of the price, usually EUR
  • priceClass: travel class the price refers to
  • legs: per-leg breakdown with from, to, departure, arrival, train, train type, direction and number of stops
  • notices: service notices such as construction work or expected delays on the route
  • fromExtId: numeric station id of the origin
  • toExtId: numeric station id of the destination
  • tripId: bahn.de identifier of the connection
  • searchDate: the travel date the connection was searched for
  • fares*: full fare breakdown with each offer name (Flexpreis, Sparpreis, Super Sparpreis, BahnCard offers), class and price
  • cheapestFareName*: name of the cheapest fare found across all offers
  • cheapestFarePrice*: price of the cheapest fare found
  • observedAt: when this connection was last seen by the scraper

*These fields only appear when withDetails is set to true.

Who is it for

Use caseWho benefits
Monitor ticket prices on a route over timeTravel deal sites and price trackers
Feed a multimodal trip planner with live timetablesMobility and travel app developers
Compare routes, durations and transfers between citiesCorporate travel and expense teams
Build a historical dataset of train schedules and faresData analysts and researchers
Alert on delays or construction notices for a routeCommuter tools and operations teams

Frequently Asked Questions

Which countries and stations does this cover?
It covers the full Deutsche Bahn network across Germany plus cross-border European connections that bahn.de sells, including hubs like Wien Hbf, Zurich HB, Amsterdam Centraal and Paris. You can search any of the 5500+ stations and cities in the bahn.de timetable by name.

How many connections can I get per run?
Set Max Items to control the count. The scraper pages forward in time from your chosen departure, returning roughly five connections per page, and keeps going until it reaches your limit, so you can collect dozens of connections for a single route and date.

Can I search by arrival time instead of departure?
Yes. Set Time refers to "Arrive by" and the scraper returns connections that arrive at or before the time you set, instead of departing from it. You can also pick first or second class and cap the number of transfers.

Why is the price sometimes empty?
Some cross-border or regional connections do not have a single through ticket on bahn.de, so no combined price is returned and the price is left empty while the times, legs and train types are still captured. Enable fare details to also pull every individual fare offer where available.

Why does this need a German residential proxy?
The bahn.de booking endpoint blocks requests from datacenter networks, so a German residential proxy is enabled by default to retrieve live connections and prices reliably. Station search works without it.

Example use cases

Ready-to-run example tasks, each preconfigured for a common scenario. Open one and press run, or use it as a template:

Related scrapers

Need data from the same space? Here are other scrapers we build and maintain:

More scrapers at scrapers.lat

This actor is built and maintained by scrapers.lat, where we publish scrapers for Latin American and US public platforms: real estate, jobs, e-commerce, company registries and government data. Browse the full catalog, see live sample output for each one, or ask us for a custom scraper at scrapers.lat.


This actor is an independent tool and has no affiliation with Deutsche Bahn. It only accesses data that is publicly available on the platform. Use it in accordance with Deutsche Bahn's terms of service.

You might also like

Deutsche Bahn Train Tickets & Connections Scraper

jindrich.bar/deutsche-bahn-ticket-scraper

Scrape live Deutsche Bahn train connections, schedules, ticket prices, transfers, delays, and fares across Germany and Europe. Extract structured DB timetable data for travel apps, price monitoring, analytics, and AI agents.

๐Ÿ‘ User avatar

Jindล™ich Bรคr

14

5.0

(3)

Deutsche Bahn Scraper - Train Schedules & Prices

studio-amba/deutsche-bahn-scraper

Scrape train connections, schedules, and prices from Deutsche Bahn (bahn.de). Extract ICE, IC, RE, and S-Bahn routes with departure/arrival times, duration, transfers, carriers, and live fares across Germany and Europe.

Trenitalia Train Ticket and Connection Scraper

jindrich.bar/trenitalia-ticket-scraper

Scrape live Trenitalia train connections, schedules, ticket prices, transfers, delays, and fares across Italy and Europe. Extract structured Trenitalia timetable data for travel apps, price monitoring, analytics, and AI agents.

๐Ÿ‘ User avatar

Jindล™ich Bรคr

5

5.0

(3)

Deutsche Bahn Timetable Scraper - Schedules & Real-Time Delays

jungle_synthesizer/deutsche-bahn-timetable-scraper

Scrape Deutsche Bahn (bahn.de) journey plans, train schedules, platforms, transfers, real-time delays, and occupancy forecasts. Supports ICE, IC/EC, RE, RB, S-Bahn across Germany plus international DB routes (AT, CH, FR, NL, BE, PL, DK).

๐Ÿ‘ User avatar

BowTiedRaccoon

8

SNCF Train Ticket and Connection Scraper

jindrich.bar/sncf-train-ticket-scraper

Scrape live SNCF train connections, schedules, ticket prices, transfers, delays, and fares across France and Europe. Extract structured SNCF timetable data for travel apps, price monitoring, analytics, and AI agents.

๐Ÿ‘ User avatar

Jindล™ich Bรคr

4

5.0

(3)

ร–BB Train Ticket and Connection Scraper

jindrich.bar/oebb-ticket-scraper

Scrape live Austrian Federal Railways train connections, schedules, ticket prices, transfers, delays, and fares across Austria and Europe. Extract structured ร–BB timetable data for travel apps, price monitoring, analytics, and AI agents.

๐Ÿ‘ User avatar

Jindล™ich Bรคr

3

5.0

(1)

Turkish State Railways Ticket and Connection Scraper

jindrich.bar/tcdd-ticket-scraper

Scrape live TCDD train connections, schedules, ticket prices, transfers, delays, and fares across Turkey and Europe. Extract structured TCDD timetable data for travel apps, price monitoring, analytics, and AI agents.

๐Ÿ‘ User avatar

Jindล™ich Bรคr

2

5.0

(3)

Homegate Property Details Scraper

ecomscrape/homegate-property-details-scraper

Powerful Homegate.ch property detail scraper for extracting comprehensive real estate data from Switzerland's largest property marketplace. Get property details, pricing, locations, and contact information automatically with high accuracy and reliability.

ecomscrape

20

ImmoScout24 Property Search Scraper

ecomscrape/immoscout24-property-search-scraper

Unlock comprehensive Swiss real estate data with our Immoscout24.ch scraper. Extract property listings, pricing, and market insights from Switzerland's leading real estate platform with advanced filtering and automated data collection capabilities.

ecomscrape

25

Service Alerts Scraper โ€” News Alerts & Disruption Monitor

scrapepilot/public-transport-alerts-scraper-real-time-transit-data

Scrape service alerts and news alerts from any website โ€” transit portals, energy exchanges, government sites, and news pages. Get severity, status, dates, and direct links. Filter by keyword, severity, and date. $8 per 1,000 results. Pay per result.