FlixBus Bus Trips, Fares & Seat Availability Scraper avatar

FlixBus Bus Trips, Fares & Seat Availability Scraper

Pricing

from $11.54 / 1,000 results

Go to Apify Store
FlixBus Bus Trips, Fares & Seat Availability Scraper

FlixBus Bus Trips, Fares & Seat Availability Scraper

Scrape FlixBus and FlixTrain intercity bus trips by route and date across 40+ countries in Europe and the US. Extract price, currency, seats available, transfers, duration, amenities and stations. Export to JSON, CSV or Excel.

Pricing

from $11.54 / 1,000 results

Rating

5.0

(1)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Share

FlixBus Bus Trips, Fares & Seat Availability Scraper

FlixBus Bus Trips, Fares & Seat Availability Scraper

Here is one real result, a multi-leg trip, with every field the actor returns:

{
"imageUrl": "https://cdn-cf.cms.flixbus.com/drupal-assets/2025-01/flixbus-green.png",
"origin": "Berlin",
"destination": "Munich",
"departure": "2026-08-24T07:15:00+02:00",
"arrival": "2026-08-24T17:35:00+02:00",
"durationText": "10h 20m",
"durationMinutes": 620,
"price": 57.48,
"priceWithFee": 58.47,
"currency": "EUR",
"status": "available",
"seatsAvailable": 28,
"capacity": "medium",
"bikeSlots": 0,
"transfers": 1,
"transferType": "Transfer",
"operator": "FlixBus DACH GmbH",
"operators": ["FlixBus DACH GmbH", "FlixBus Polska sp. z.o.o."],
"brand": "FlixBus",
"meansOfTransport": "bus",
"amenities": ["WiFi", "Power sockets"],
"decks": 2,
"seatLayout": "TWO_TWO",
"departureStation": "Berlin Südkreuz",
"arrivalStation": "Munich Fröttmaning",
"bikesAllowed": true,
"wheelchairStatus": "unknown",
"tripId": "ic:dcbb994f-9603-11e6-9066-549f350fcb0c:dcc0b7f3-9603-11e6-9066-549f350fcb0c/73b28cd0-e073-453c-8885-b9ed59cac169:dcbc6452-9603-11e6-9066-549f350fcb0c:dcbc6452-9603-11e6-9066-549f350fcb0c:94e87ca9-57df-41cd-9d33-15fb8a8a65ce",
"legs": [
{
"from": "Berlin Südkreuz",
"to": "Prague (Central Bus Station Florenc)",
"departure": "2026-08-24T07:15:00+02:00",
"arrival": "2026-08-24T11:40:00+02:00",
"meansOfTransport": "bus",
"operator": "FlixBus DACH GmbH",
"brand": "FlixBus",
"amenities": ["WIFI", "POWER_SOCKETS"]
},
{
"from": "Prague (Central Bus Station Florenc)",
"to": "Munich Fröttmaning",
"departure": "2026-08-24T12:50:00+02:00",
"arrival": "2026-08-24T17:35:00+02:00",
"meansOfTransport": "bus",
"operator": "FlixBus Polska sp. z.o.o.",
"brand": "FlixBus",
"amenities": ["WIFI", "POWER_SOCKETS"]
}
],
"bookingUrl": "https://shop.flixbus.com/search?departureCity=88&arrivalCity=94&rideDate=24.08.2026&adult=1&_locale=en&currency=EUR",
"observedAt": "2026-08-10T14:41:24.204Z",
"error": null
}

The most complete FlixBus trip scraper available. It returns every field a FlixBus route search exposes for each trip (departure and arrival times, duration, fare and fare-with-fee, live seat availability, transfers, operators, amenities, seat layout, stations, and a bookable deep link), plus a per-leg breakdown for multi-leg trips, and gives you route, date, party-size, and currency controls to price exactly the trips you need.

📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples

Apify Coverage Output Billing

Table of contents

What it does

The actor resolves the origin and destination city names you pass to the best-matching FlixBus cities, searches the route for your travel date and party size, and writes one normalized record per trip to the run's dataset. Each record carries the departure and arrival times, total duration, the base fare and the fare including the service fee (for your party size in your chosen currency), live seat availability and capacity band, the number of transfers, the operating carriers, the on-board amenities, seat layout, boarding and drop-off stations, and a deep link that opens the trip in the FlixBus shop.

Multi-leg trips also include a legs array with each individual segment (from, to, times, operator, amenities). Missing source values are returned as null, never invented.

Quickstart

Open the actor, paste this into the input, and press Run. It returns up to 10 trips from Berlin to Munich, priced for one adult in euros.

{
"fromCity": "Berlin",
"toCity": "Munich",
"departureDate": "2026-08-24",
"passengers": 1,
"currency": "EUR",
"maxTrips": 10
}

Leave departureDate empty to search a date about two weeks from today. City names are resolved automatically, so New York or Paris work without a station code.

Input reference

FieldTypeRequiredDefaultDescription
fromCitystringyesBerlinOrigin city name, for example Berlin, Paris, New York. Resolved to the best-matching FlixBus city.
toCitystringyesMunichDestination city name, for example Munich, Amsterdam, Washington. Resolved to the best-matching FlixBus city.
departureDatestringno(about two weeks out)Travel date as YYYY-MM-DD. If empty, the scraper uses a date about two weeks from today.
passengersintegerno1Number of adult passengers (1 to 9). Fares are returned for this party size.
currencyenumnoEURFare currency: EUR, USD, GBP, CHF, PLN, CZK, DKK, SEK, NOK, HUF, RON, BGN, HRK, BRL.
maxTripsintegerno10Maximum trips to collect for the route and date. Free Apify plans are capped at 10.

fromCity and toCity are required. If a city cannot be resolved or the route has no service on the date, the actor writes a single item with a populated error field.

Output reference

One dataset item per trip. Types: string, integer, number, boolean, string[], object[], or null when the source value is absent.

FieldTypeDescription
imageUrlstringBrand image URL for the trip.
originstringResolved origin city.
destinationstringResolved destination city.
departurestringDeparture timestamp with timezone offset (ISO 8601).
arrivalstringArrival timestamp with timezone offset (ISO 8601).
durationTextstringHuman-readable trip duration, for example 10h 20m.
durationMinutesintegerTotal trip duration in minutes.
pricenumberBase fare for the party size, in the chosen currency.
priceWithFeenumberFare including the service fee.
currencystringFare currency code.
statusstringBooking status, for example available.
seatsAvailableintegerLive number of seats still available, or null.
capacitystringCapacity band, for example low, medium, high.
bikeSlotsintegerNumber of bike slots available.
transfersintegerNumber of transfers (0 for a direct trip).
transferTypestringDirect or Transfer.
operatorstringPrimary operating carrier.
operatorsstring[]All operating carriers across the trip.
brandstringBrand, for example FlixBus.
meansOfTransportstringMode, for example bus.
amenitiesstring[]On-board amenities, for example WiFi, Power sockets.
decksintegerNumber of decks on the vehicle.
seatLayoutstringSeat layout code, for example TWO_TWO.
departureStationstringBoarding station name.
arrivalStationstringDrop-off station name.
bikesAllowedbooleanWhether bikes are allowed on this trip.
wheelchairStatusstringWheelchair accessibility status, or unknown.
tripIdstringFlixBus internal trip identifier.
legsobject[]Per-segment breakdown for multi-leg trips (from, to, times, operator, amenities). Absent for direct trips.
bookingUrlstringDeep link that opens the trip in the FlixBus shop.
observedAtstringISO 8601 timestamp of when the record was collected.
errorstringnull on success. On a failed run, a single item with a populated error field is written instead.

Example output record

Real record from a live run (input {"fromCity":"Berlin","toCity":"Munich","departureDate":"2026-08-24","maxTrips":10}), a direct trip (no legs array):

{
"imageUrl": "https://cdn-cf.cms.flixbus.com/drupal-assets/2025-01/flixbus-green.png",
"origin": "Berlin",
"destination": "Munich",
"departure": "2026-08-24T07:40:00+02:00",
"arrival": "2026-08-24T15:35:00+02:00",
"durationText": "7h 55m",
"durationMinutes": 475,
"price": 32.99,
"priceWithFee": 33.98,
"currency": "EUR",
"status": "available",
"seatsAvailable": 31,
"capacity": "high",
"bikeSlots": 0,
"transfers": 0,
"transferType": "Direct",
"operator": "FlixBus DACH GmbH",
"operators": ["FlixBus DACH GmbH"],
"brand": "FlixBus",
"meansOfTransport": "bus",
"amenities": ["WiFi", "Power sockets"],
"decks": 1,
"seatLayout": "TWO_TWO",
"departureStation": "Berlin central bus station",
"arrivalStation": "Munich central bus station",
"bikesAllowed": true,
"wheelchairStatus": "unknown",
"tripId": "direct:2a3d7728-df32-4175-9cd2-7f7e4e1f90b1:dcbaaee6-9603-11e6-9066-549f350fcb0c:dcbabbfa-9603-11e6-9066-549f350fcb0c",
"bookingUrl": "https://shop.flixbus.com/search?departureCity=88&arrivalCity=94&rideDate=24.08.2026&adult=1&_locale=en&currency=EUR",
"observedAt": "2026-08-10T14:41:24.297Z",
"error": null
}

Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.

Run synchronously and get dataset items in one call:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~flixbus-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"fromCity":"Berlin","toCity":"Munich","departureDate":"2026-08-24","passengers":2,"currency":"EUR","maxTrips":25}'

Start a run asynchronously:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~flixbus-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"fromCity":"New York","toCity":"Washington","currency":"USD","maxTrips":50}'

Apify CLI:

apify call scrapers_lat/flixbus-scraper \
--input '{"fromCity":"Paris","toCity":"Amsterdam","departureDate":"2026-09-01"}'

Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.

Billing and limits

  • Pay per result. You are charged per trip record returned (result event). See the pricing tab for the current per-result price.
  • No charge on failure. If a run errors, the actor writes a single item with a populated error field and does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run; once reached, the actor stops emitting and charging further billable results.
  • Free Apify plans are capped at 10 trips per run. Upgrade for higher maxTrips.
  • Live availability. Fares and seat counts are pulled at scrape time and change quickly. Re-run close to booking for current numbers.

FAQ and troubleshooting

How do I set the route? Pass fromCity and toCity as plain city names. The scraper resolves each to the best-matching FlixBus city, so station codes are not needed.

What date does it search if I leave departureDate empty? A date about two weeks from today. Set departureDate (YYYY-MM-DD) to control it.

Can I price for more than one passenger or a different currency? Yes. Set passengers (1 to 9) and currency. Fares are returned for that party size in that currency.

What is priceWithFee? The total including the FlixBus service fee. price is the base fare before the fee.

How do I read a multi-leg trip? When transfers is greater than 0, the legs array lists each segment with its own stations, times, operator, and amenities. Direct trips omit legs.

A run returned 0 records. Why? Either a city could not be resolved, or the route has no service on the date. Check the city spelling and try another date. Zero-result runs are not charged.

Is this an official FlixBus tool? No. This actor is independent and has no affiliation with FlixBus or Flix SE. It reads only publicly available trip and fare data. Use the results in accordance with FlixBus's terms and applicable law.

More scrapers at scrapers.lat

Built and maintained by scrapers.lat, where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.


Independent tool, not affiliated with FlixBus or Flix SE. Accesses only publicly available trip and fare data. Use in accordance with FlixBus's terms and applicable law.