Rome2Rio Scraper
Pricing
from $10.00 / 1,000 routes
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
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

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
| Who | What they do with it |
|---|---|
| Travel planners | Compare modes for a set of city pairs |
| Content sites | Fill "how to get from A to B" pages |
| Route analysts | Track typical durations and price bands |
| Apps | Offer ground-transport options next to flights |
📥 Supported inputs
| Input | Example | What you get |
|---|---|---|
| Route line | London to Paris | Every option on that search |
| Search URL | https://www.rome2rio.com/s/London/Paris | Same search |
| Map URL | https://www.rome2rio.com/map/London/Paris | Read 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
- Add one route per line, or paste Rome2Rio search links.
- Set a maximum number of routes.
- Run the actor.
- Each travel option is saved as its own row.
- Export the dataset as JSON, CSV, or Excel.
⚙️ Input parameters
| Field | Type | Default | What it does |
|---|---|---|---|
routes | string list | London to Paris, Madrid to Barcelona | One route per line, written as Origin to Destination. A full Rome2Rio URL is accepted on a line too. |
startUrls | string list | a London to Paris search URL | Search or map URLs. Map links are read as the matching search. |
maxItems | integer | 100 | Hard cap on route rows. |
maxConcurrency | integer | 4 | How many searches run at the same time. |
proxy | proxy | Residential, on | Residential 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
| Field | Meaning |
|---|---|
origin, destination | The two places on the search |
routeName | Label on the option, such as Train (Eurostar) |
mode | Travel mode. Mixed trips join the modes with + |
rank | Position on the search page, starting at 1 |
badge | best, cheapest, or empty |
summary | Stations and legs |
durationText, durationMinutes | Travel time as shown, and the same time in minutes |
priceText, priceLow, priceHigh, currency | The printed range and its numbers |
routeUrl | Link to that option |
searchUrl | Link 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