Oebbtickets.at Scraper avatar

Oebbtickets.at Scraper

Pricing

$35.00/month + usage

Go to Apify Store
Oebbtickets.at Scraper

Oebbtickets.at Scraper

ÖBB tickets scraper for Austria/Europe: search shop.oebbtickets.at for train routes, timetables and real-time prices, ideal for travel agencies, OTAs and price monitoring tools needing Austrian railway data.

Pricing

$35.00/month + usage

Rating

5.0

(1)

Developer

Lexis Solutions

Lexis Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 days ago

Last modified

Categories

Share

ÖBB Tickets Scraper

ÖBB Tickets Scraper

The ÖBB Tickets Scraper is an Apify actor that searches for train connections on shop.oebbtickets.at and extracts journey data including departure/arrival times, duration, prices, train types, and detailed leg information for Austrian and European train routes.


✨ Key Features

  • Station search: Automatically resolves station names to valid ÖBB station objects
  • Flexible date/time search: Search by departure or arrival time with customizable date and time
  • Passenger configuration: Support for adults, children, juniors, and seniors with custom counts
  • Price extraction: Fetches real-time ticket prices from ÖBB's pricing API
  • Detailed journey data: Returns complete journey information including transfers, train types, and individual legs
  • API-based scraping: Uses ÖBB's official API endpoints for reliable and fast data extraction

💡 Why It's Important

ÖBB (Austrian Federal Railways) is the national railway system of Austria and operates extensive train services across Austria and neighboring European countries. With this actor, you can:

  • Compare prices and schedules across different routes and dates
  • Analyze journey characteristics such as duration, transfers, and train types
  • Automate monitoring of pricing and availability for business intelligence and alerts
  • Build travel applications that integrate Austrian train data

👤 Who Is It For?

  • Travel agencies and OTAs optimizing content and pricing
  • Analysts and researchers tracking route competitiveness and seasonality
  • Developers and data teams building dashboards and travel products
  • Price monitoring services tracking train ticket prices over time

🚀 Business Use Cases

  • Price monitoring across dates, routes, and passenger configurations
  • Route analysis for total journey times, stops, and train type combinations
  • Customer experience: Surface best/cheapest/fastest options based on user preferences
  • Market research: Analyze pricing trends and route availability

🛠 Input Schema

The actor accepts the following input:

{
"fromStation": "Wien Hbf",
"toStation": "Salzburg Hbf",
"travelDate": "06.02.2026",
"time": "06:00",
"departureOrArrival": "departure",
"passengers": [
{
"type": "ADULT",
"count": 1
}
],
"maxItems": 100,
"proxyConfiguration": {
"useApifyProxy": false
}
}

Input Fields

FieldTypeRequiredDescription
fromStationstringYesDeparture station name (e.g., "Wien Hbf", "Salzburg Hbf")
toStationstringYesArrival station name
travelDatestringNoTravel date in DD.MM.YYYY format (default: today)
timestringNoTime in HH:MM format (default: "00:00")
departureOrArrivalstringNoSearch by "departure" or "arrival" time (default: "departure")
passengersarrayNoArray of passenger objects with type and count (default: 1 adult)
maxItemsnumberNoMaximum number of journeys to scrape (default: 5)
proxyConfigurationobjectNoApify proxy configuration

Passenger Types

  • ADULT: Adult passenger (default)
  • CHILD: Child passenger
  • JUNIOR: Junior passenger
  • SENIOR: Senior passenger

Notes

  • Station names: The actor automatically resolves station names using ÖBB's station search API. Use common station names (e.g., "Wien Hbf" for Vienna Central Station)
  • Date format: Must be in DD.MM.YYYY format (e.g., "06.02.2026")
  • Time format: Must be in HH:MM format (e.g., "06:00", "23:30")
  • API limitations: The ÖBB API returns a maximum of 6 connections per request. The actor handles this automatically
  • Price extraction: Prices are fetched from a separate ÖBB pricing API endpoint for each connection

📦 Output Schema

Each dataset item contains the following structure:

{
"url": "https://shop.oebbtickets.at/en/ticket",
"fromStation": "Wr.Neustadt Hbf",
"toStation": "Salzburg Hbf",
"departureTime": "23:05",
"arrivalTime": "02:07",
"duration": "3h 2min",
"transfers": 1,
"trainType": "IC, EC",
"trainNumbers": [
"IC 759",
"EC 462"
],
"price": "44.9",
"currency": "EUR",
"travelDate": "06.02.2026",
"legs": [
{
"fromStation": "Wr.Neustadt Hbf",
"toStation": "Wien Meidling Bahnhof",
"departureTime": "23:05",
"arrivalTime": "23:29",
"trainType": "IC",
"trainNumber": "IC 759",
"platform": "3"
},
{
"fromStation": "Wien Meidling Bahnhof",
"toStation": "Salzburg Hbf",
"departureTime": "23:35",
"arrivalTime": "02:07",
"trainType": "EC",
"trainNumber": "EC 462",
"platform": "5"
}
],
"scrapedAt": "2026-02-05T21:26:39.821Z"
}

Output Fields

FieldTypeDescription
urlstringSource URL to ÖBB ticket shop
fromStationstringDeparture station name
toStationstringArrival station name
departureTimestringDeparture time in HH:MM format
arrivalTimestringArrival time in HH:MM format
durationstringTotal journey duration (e.g., "3h 2min")
transfersnumberNumber of transfers/switches required
trainTypestringTrain type(s) (e.g., "IC, EC", "RJ")
trainNumbersarrayArray of train numbers (e.g., ["IC 759", "EC 462"])
pricestringTicket price in EUR (may be null if unavailable)
currencystringCurrency code (typically "EUR")
travelDatestringTravel date in DD.MM.YYYY format
legsarrayArray of individual journey legs with detailed information
scrapedAtstringISO timestamp of when the data was scraped

Leg Object Structure

Each leg in the legs array contains:

FieldTypeDescription
fromStationstringDeparture station for this leg
toStationstringArrival station for this leg
departureTimestringDeparture time in HH:MM format
arrivalTimestringArrival time in HH:MM format
trainTypestringTrain type for this leg (e.g., "IC", "EC", "RJ")
trainNumberstringTrain number for this leg (e.g., "IC 759")
platformstringPlatform number (if available)

👀 p.s.

Got feedback or need an extension?

Lexis Solutions is a certified Apify Partner. We can help you with custom solutions or data extraction projects.

Contact us over Email or LinkedIn

Support Our Work 💝

If you're happy with our work and scrapers, you're welcome to leave us a company review here and leave a review for the scrapers you're subscribed to. It will take you less than a minute but it will mean a lot to us!


Image Credits

The banner image features the ÖBB (Austrian Federal Railways) branding and is used for illustrative purposes. All trademarks and logos belong to their respective owners. Data is sourced from shop.oebbtickets.at.