Rome2Rio Scraper avatar

Rome2Rio Scraper

Pricing

from $10.00 / 1,000 routes

Go to Apify Store
Rome2Rio Scraper

Rome2Rio Scraper

Scrape Rome2Rio routes between any two places. Each row has the travel mode, duration, price range, stations, badge, and the route link. Paste a search URL or a line like London to Paris. Covers train, bus, flight, ferry, rideshare, and drive. One option is its own row. JSON or CSV out.

Pricing

from $10.00 / 1,000 routes

Rating

0.0

(0)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Get every way to travel between two places from Rome2Rio: train, bus, flight, ferry, rideshare, and drive. Each row has the duration, the price range, the stations, and a link back to that route.

How it works

How the Rome2Rio scraper works

Paste a route such as London to Paris, or paste a Rome2Rio search link. You get one row per travel option, ready to export as JSON or CSV.

✨ Why use this scraper?

  • Compare train, bus, flight, ferry, rideshare, and drive on the same route
  • Duration in plain text and in minutes, so you can sort
  • Price range as shown, plus the low and high numbers
  • Station-by-station summary, including changes of mode
  • A badge when Rome2Rio marks an option best or cheapest
  • A direct link to the route, plus the search page it came from

🎯 Use cases

WhoWhat they do with it
Travel plannersCompare modes for a set of city pairs
Content sitesFill "how to get from A to B" pages
Route analystsTrack typical durations and price bands
AppsOffer ground-transport options next to flights

📥 Supported inputs

InputExampleWhat you get
Route lineLondon to ParisEvery option on that search
Search URLhttps://www.rome2rio.com/s/London/ParisSame search
Map URLhttps://www.rome2rio.com/map/London/ParisRead as the same search

Not supported: tickets, live departure boards, and seat maps. The row is the option Rome2Rio shows on the search, not a booked fare.

⚠️ Proxy requirement

Residential proxies recommended. The default works out of the box.

🔄 How it works

  1. Add one route per line, or paste Rome2Rio search links.
  2. Set a maximum number of routes.
  3. Run the actor.
  4. Each travel option is saved as its own row.
  5. Export the dataset as JSON, CSV, or Excel.

⚙️ Input parameters

FieldTypeDefaultWhat it does
routesstring listLondon to Paris, Madrid to BarcelonaOne route per line, written as Origin to Destination. A full Rome2Rio URL is accepted on a line too.
startUrlsstring lista London to Paris search URLSearch or map URLs. Map links are read as the matching search.
maxItemsinteger100Hard cap on route rows.
maxConcurrencyinteger4How many searches run at the same time.
proxyproxyResidential, onResidential proxies recommended. The default works out of the box.

📊 Output overview

One row is one way to make the trip. A search that shows ten options produces ten rows. priceLow and priceHigh are the ends of the range printed on the card. summary is the station sequence, with each leg separated by a middle dot.

📦 Output sample

This row is from a London to Paris run.

{
"searchUrl": "https://www.rome2rio.com/s/London/Paris",
"origin": "London",
"destination": "Paris",
"routeName": "Train (Eurostar)",
"mode": "Train",
"rank": 1,
"badge": "best",
"summary": "Take the train from London St Pancras Intl to Paris Nord",
"durationText": "2h 28m",
"durationMinutes": 148,
"priceText": "$190–320",
"priceLow": 190,
"priceHigh": 320,
"currency": "USD",
"routeUrl": "https://www.rome2rio.com/map/London/Paris?route=Train"
}

🗂 Key output fields

FieldMeaning
origin, destinationThe two places on the search
routeNameLabel on the option, such as Train (Eurostar)
modeTravel mode. Mixed trips join the modes with +
rankPosition on the search page, starting at 1
badgebest, cheapest, or empty
summaryStations and legs
durationText, durationMinutesTravel time as shown, and the same time in minutes
priceText, priceLow, priceHigh, currencyThe printed range and its numbers
routeUrlLink to that option
searchUrlLink to the search

❓ FAQ

Can I pass city names instead of URLs? Yes. London to Paris is enough. Spaces in a place name are fine: New York to Los Angeles.

Does a drive option include the ferry or tunnel? Yes. The summary lists each leg. A Eurotunnel trip is one row, with the drive, the tunnel, and the drive after it.

Are the prices booked fares? No. They are the ranges Rome2Rio prints on the search. A row does not include a ticket you can buy inside this actor.

What if a place name itself contains the word "to"? Put a full rome2rio.com/s/... URL in startUrls instead of a route line.

How many rows does one search produce? However many options the page lists, until maxItems is reached. London to Paris returned 10 options on the sample run.

💬 Support

Open an issue on the actor page and include the route line plus the run ID: https://console.apify.com/actors/0drx8d0eZGaJPIbma#/issues

🛠 Additional services

Need a fixed list of city pairs on a schedule, or the same routes joined to hotel prices? Say what the export should look like.

🔎 Explore more scrapers

More travel actors from the same publisher are on the Apify Store, including hotel and flight scrapers under the memo23 account.


⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Rome2Rio, Omio, or any of their subsidiaries or affiliates. All trademarks mentioned are the property of their respective owners.

The scraper accesses only publicly available route pages. No login, no booked tickets, and no content behind a Rome2Rio account. Users are responsible for ensuring their use complies with Rome2Rio's Terms of Service, applicable data-protection law (GDPR, CCPA, and others), and any contractual obligations of their own organisation.


SEO Keywords

Rome2Rio scraper, scrape Rome2Rio, Rome2Rio API, Apify Rome2Rio, Rome2Rio routes, train bus flight comparison, how to get from A to B, ground transport scraper, Eurostar duration, intercity route data, travel time scraper, ferry and drive options, multi-city route planner data, Rome2Rio price range, Omio alternative route data, travel content automation, city pair routes, bus duration scraper, flight plus train routes, rideshare route data