FlixBus Connections Scraper avatar

FlixBus Connections Scraper

Pricing

from $1.60 / 1,000 flixbus connections scrapers

Go to Apify Store
FlixBus Connections Scraper

FlixBus Connections Scraper

Scrape FlixBus bus connections between two cities: departure and arrival times, duration, transfers, per-leg operators, prices in your currency, seats left and bike policy. No login needed.

Pricing

from $1.60 / 1,000 flixbus connections scrapers

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

For trip planning and fare checks, extract public FlixBus bus connections between two cities, with no login or API key. You get stations, times, duration, transfers, a leg-by-leg breakdown, fares, seats left, and whether bikes can be booked, ready to export.

  • Compare fares and journey times when you are choosing a bus between two cities.
  • Check seats still available and whether a bike can be booked before you travel.
  • Review each leg's operator, brand, bus or train mode, and amenities such as WIFI and power sockets.
  • Resolve both city names with FlixBus autocomplete and return connections in departure order.
  • Run it with your Apify account only; no FlixBus login or API key is required.

What you get

You enter city names. The Actor calls the FlixBus public JSON API for city autocomplete and city-to-city search, then saves one dataset item per connection. On each item, from and to are stations; fromCity and toCity are cities. changesCount is the number of legs minus one (0 when the trip is direct). currency is the currency you requested, and price is the total for the adult count you set.

Field groupFieldsDetail
Identityid, provider, status, transferTypeConnection id from FlixBus, provider key, availability status (for example available), and transfer label (for example Direct, Regional, or Transfer).
Route and timefrom, to, fromCity, toCity, departure, arrival, timeLengthMinutes, changesCountStation and city names, ISO 8601 departure and arrival with the local offset, total minutes, and how many transfers the trip has.
Fares and seatsprice, priceWithPlatformFee, currency, seatsAvailable, bikesAllowedTotal for the passengers you set, that total including the FlixBus platform fee, the currency you asked for, seats left, and whether bikes can be booked.
LegsrideId, from, to, fromCity, toCity, departure, arrival, meansOfTransport, operator, brand, amenitiesOne object per leg, in travel order. meansOfTransport is bus or train. amenities is a list of strings, such as WIFI and POWER_SOCKETS.

Sample output

One connection returned for Prague to Berlin:

{
"id": "direct:7b476459-0eb4-4722-8ea4-730c3ecc2e48:9b6adf5b-3ecb-11ea-8017-02437075395e:dcbaaee6-9603-11e6-9066-549f350fcb0c",
"from": "Prague (Main Station)",
"to": "Berlin central bus station",
"fromCity": "Prague",
"toCity": "Berlin",
"departure": "2026-11-15T04:00:00+01:00",
"arrival": "2026-11-15T09:05:00+01:00",
"timeLengthMinutes": 305,
"changesCount": 0,
"transferType": "Direct",
"status": "available",
"provider": "flixbus",
"legs": [{"rideId": "7b476459-0eb4-4722-8ea4-730c3ecc2e48", "from": "Prague (Main Station)", "to": "Berlin central bus station", "fromCity": "Prague", "toCity": "Berlin", "departure": "2026-11-15T04:00:00+01:00", "arrival": "2026-11-15T09:05:00+01:00", "meansOfTransport": "bus", "operator": "FlixBus CZ s.r.o.", "brand": "FlixBus", "amenities": ["WIFI", "POWER_SOCKETS"]}],
"price": 27.49,
"priceWithPlatformFee": 28.48,
"currency": "EUR",
"seatsAvailable": 26,
"bikesAllowed": true
}

Pricing

Billing is pay per event. Every dollar amount below is the Free-plan price.

EventWhen it is chargedPrice on Free
Actor Start (apify-actor-start)When the run starts. Events depend on memory: one per GB, minimum one. Default memory is 512 MB, so one event.$0.00005 on the Free plan
FlixBus Connections Scraper (apify-default-dataset-item)Once for each connection delivered to the dataset.$0.0016 on the Free plan

On the Free plan, 1,000 Actor Start events cost $0.05 and 10,000 Actor Start events cost $0.50; 1,000 dataset-item events cost $1.60 and 10,000 dataset-item events cost $16.00. On the Free plan, one Actor Start at the default 512 MB plus 1,000 dataset-item events totals $1.60005; this is a price calculation, not a promise of Free-plan run capacity.

The Apify Free plan includes $5 of monthly platform credit. For the Free plan, the exact credit arithmetic for one Actor Start at the default 512 MB and 3,124 dataset-item charges is 3,124 × $0.0016 = $4.9984, plus $0.00005 = $4.99845; this is a credit calculation, not a promise that a Free-plan run can return 3,124 connections.

If the run reaches your charge limit, it stops. Connections already delivered stay in the dataset. A run that delivers no connections adds no dataset-item charges.

Platform usage — compute, Apify Proxy traffic including residential proxy, and storage — is included in these event prices and is paid by the Actor developer. Pay per event + usage is off, so those platform costs are not billed to you on top.

How to use

  1. Sign in to Apify and open FlixBus Connections Scraper.
  2. Enter the departure city in from and the destination city in to.
  3. Set the first departure date, adult count, currency, locale, direct-only switch, and maximum number of connections.
  4. Leave the residential proxy on for reliable access, unless you set useApifyProxy to false and do not pass proxy URLs.
  5. Start the run. Cities are resolved, the first day is searched, later days are scanned until enough connections are stored, and rows are ordered by departure.
  6. Repeat the run with Apify Schedules. Daily is a practical starting point for fares and seats; treat that as a starting point only.
{
"from": "Prague",
"to": "Berlin",
"date": "2026-11-23",
"adults": 1,
"currency": "EUR",
"onlyDirectConnections": true,
"maxResults": 20
}

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

Input parameters

from and to are required. Other fields are optional. City matching prefers an exact case-insensitive name and otherwise uses the top FlixBus autocomplete hit.

ParameterWhat it doesDefault
fromRequired departure city. Sent to FlixBus city autocomplete, then used as the origin city id.Prague
toRequired destination city, resolved the same way.Berlin
dateFirst search day, YYYY-MM-DD. An empty, invalid, or past value starts today.today
adultsAdult count sent with the search so FlixBus can price the trip. Values are kept between 1 and 9.1
currencyISO currency passed to search and stored on each row. Accepted values: EUR, USD, GBP, CZK, PLN, CHF, DKK, SEK, NOK, HUF.EUR
localeLocale sent to search. The language before the underscore is used for autocomplete, which sets city and station language. Example: en_US or de_DE.en_US
onlyDirectConnectionsWhen true, connections with changesCount greater than 0 are not saved.false
maxResultsStop after this many saved connections. The form accepts 1 to 1000. Days after the start date are searched until this count or 30 days.50
proxyConfigurationProxy built before the first request. An explicit useApifyProxy: false with no proxyUrls runs with no proxy.Apify residential

Limits and edge cases

ConditionWhat you seeWhat to do
Free plan still needs more daysOn the Free plan, only 1 departure day is requested. Status text is a Free-plan preview that names result pages, and the key-value OUTPUT record describes the cap.Use a paid Apify plan to scan following days, up to maxResults or 30 days.
First day already fills maxResultsThose connections only, with status Collected N records. No preview record is written when the day cap never cuts the run.Raise maxResults if you wanted later days.
City not resolvedStatus City not found on FlixBus: plus the name. No dataset rows.Use a name the FlixBus autocomplete returns, and check spelling.
Name is not an exact city matchRows are for the top autocomplete hit, visible in fromCity and toCity.Pass the exact FlixBus city name.
Past, empty, or invalid dateSearch starts today. Past dates are not queried.Pass today or a future YYYY-MM-DD date.
Direct-only filterTrips with one or more transfers are skipped. The dataset can be empty even when connecting trips exist.Set onlyDirectConnections to false.
Trip missing departure or arrivalThat trip is not saved.Nothing to send back; only trips with both timestamps are kept.
Same connection on two daysAfter-midnight rides can appear on two consecutive days. Each connection id is saved once.Expect one row per id.
30 search daysThe walk stops at 30 days even if maxResults is still short. Status reports how many rows were collected.Narrow the city pair or accept the partial set.
Charge limit reachedThe log says the charge limit was reached and how many rows were kept. Rows already saved stay.Raise the run charge limit and run again for more.
Request fails after retriesUp to 6 attempts, each with a 40 second timeout, then waits of 1, 2, 4, 8, and 16 seconds. The last error fails the run. Earlier days' rows remain.Run again and keep the default residential proxy.

Note: A Free-plan cap never adds placeholder rows. When it stops the run, OUTPUT holds free_plan_preview, items_returned, items_requested, limits_applied, upgrade_url, and message.

FAQ

How much does it cost to scrape FlixBus?

On the Free plan, each delivered connection is $0.0016 and Actor Start is $0.00005 (one event at the default 512 MB). The price calculation for 1,000 dataset-item events is $1.60 on the Free plan, or $1.60005 on the Free plan with that Actor Start. The Apify Free plan includes $5 of monthly platform credit; its exact credit arithmetic reaches 3,124 dataset-item charges plus one Actor Start at that default memory, but this is not a promise that a Free-plan run can return 3,124 connections. Residential proxy traffic and other platform usage are included in the event prices and are not billed to you on top.

Why did the run return no connections?

The status message is the first check. City not found on FlixBus: means autocomplete did not resolve that name. A direct-only run drops every trip that has a transfer, so the dataset can be empty while connections with changes exist. Trips with no departure or arrival timestamp are dropped. Turn direct-only off, use an exact city name, or start from a date FlixBus still sells.

What if the run fails or stops early?

A failed request is retried up to 6 times with a 40 second timeout and the waits listed above. If every attempt fails, the run errors and connections already saved from earlier days stay in the dataset. A charge limit stops further saves and leaves a log line with the row count. On the Free plan, a second search day is not requested; the status message and OUTPUT record say when that cap applied. Keep the default residential proxy and run again after you change the input or the charge limit.

The Actor reads public FlixBus data from the FlixBus public JSON API (city autocomplete and connection search). Whether that use is allowed depends on FlixBus terms and the law that applies to your use case. This page does not guarantee that your use is lawful.

Usage statistics

This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.

A copy of the exact record for your run is saved as USAGE_STATS in your own Apify key-value store.

To opt out, set disableUsageStats to true in the input. Nothing is sent then.

Full list of collected fields