ParseForge Scrapers

Rome2Rio Scraper

parseforge/rome2rio-scraper

TravelReal estateE-commerce

Scrapes multi-modal travel routes from Rome2Rio for a given origin and destination. Returns each route option with transport mode, duration, price range, and operator name as a flat row.

Run this scraper See the API call
Total users
39
Monthly active
8
Total runs
755
Bookmarked
0
Rating
Not rated yet
Last modified
9 days ago

Overview

ParseForge

Rome2Rio Scraper

Scrape multi-modal travel routes from Rome2Rio for any city pair, up to a million per run. Each route returns flight, train, bus, ferry, and driving options with durations, price ranges, and operator details. Export to CSV, JSON, Excel, or XML.

Planning a trip means comparing flights, trains, buses, and ferries across dozens of sites. Rome2Rio aggregates all of them, but manual lookups do not scale. This Actor reads the public route results for any origin-destination pair you give it and returns every option in one structured dataset.

Who uses it What they scrape Rome2Rio for
Travel aggregators Building a price-comparison database of intercity routes across transport modes.
Market researchers Mapping which operators serve a corridor and how fares differ by season.
Data analysts Feeding route graphs into network analysis or accessibility studies.
OTA developers Enriching a booking flow with alternative transport options between two points.

What it does

This Actor collects multi-modal travel routes from Rome2Rio for a given origin and destination, and returns each route option as a flat row.

  • πŸš† Multi-modal routes: flights, trains, buses, ferries, and driving options in one response.
  • πŸ’° Price ranges: the low-to-high fare band Rome2Rio displays for each route.
  • ⏱️ Durations: total travel time per option so you can rank by speed.
  • 🏷️ Operator names: which company runs each leg of the journey.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Rome2Rio data

πŸ—ΊοΈ Build a route graph.

A transport researcher scrapes every route between 200 European cities to model multi-modal connectivity.

πŸ’Έ Monitor fare bands.

A travel startup collects weekly price ranges for the London-Paris corridor to spot seasonal trends.

🚌 Populate an alternative-transport widget.

An OTA runs the Actor on every flight search to show train and bus alternatives alongside air results.

πŸ“Š Compare operator coverage.

A market analyst scrapes routes across Southeast Asia to see which bus and ferry companies dominate each leg.

Why choose this scraper

What you get
No API key Reads the public Rome2Rio pages directly, no registration needed.
Fixed schema Every route comes out with the same columns, ready for a database.
Bulk runs Loop over hundreds of city pairs in one Actor call or task.

How it compares

This Actor and the Rome2Rio Multi-Modal Route Scraper both read route results from Rome2Rio; the table below compares the capabilities each listing describes.

Feature ParseForge Rome2Rio Multi-Modal Route Scraper
Multi-modal routes (flight, train, bus, ferry, car, rideshare) Yes Yes
Price ranges per route Yes Yes
Operator names Yes Not listed
Configurable maximum routes per run Yes Not listed
Up to 1,000,000 routes per run Yes Not listed

Configure the run

Drive the Actor with an origin and a destination, and set a maximum number of routes to cap the run. The Input tab lists every parameter.

A first run with the defaults:

{
  "origin": "London",
  "destination": "Paris",
  "maxItems": 10
}

A larger pull:

{
  "origin": "London",
  "destination": "Paris",
  "maxItems": 200
}

Pricing

Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $2.10
1,000 results $21.00
10,000 results $210.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Rome2Rio Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Rome2Rio through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/rome2rio-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check that both origin and destination are spelled correctly and are recognised places. Try a well-known city pair like 'London' to 'Paris' first. If the location is ambiguous, add a country name.

The run times out before collecting all routes.

Lower the 'Maximum routes' value or increase the run timeout in the Actor's settings. Very large route counts may need a longer timeout.

Some route options are missing.

Rome2Rio sometimes loads additional results dynamically. The Actor captures what is present on page load. If a specific mode is missing, it may not be available for that city pair on Rome2Rio.

The price column is empty for some routes.

Rome2Rio does not always display a price range. When the site shows 'Unknown' or omits the fare, the Actor leaves that field blank.

I get an error about invalid input.

Both origin and destination are required fields. Make sure you filled them in and that they contain plain text, not special characters that might break the URL.

FAQ

Question Answer
What transport modes does this scraper return? It returns every mode Rome2Rio shows for the route: flights, trains, buses, ferries, driving, and rideshare options when available.
Can I scrape multiple origin-destination pairs in one run? One run handles one pair. To scrape many pairs, use the Actor in a loop from the Apify API or pass an array of inputs through a task.
Does it include prices? Yes, it collects the price range Rome2Rio displays for each route option. These are indicative ranges, not live booking prices.
What format does the output come in? You can export the dataset as CSV, JSON, Excel, or XML from the Apify console or via the API.
Do I need a Rome2Rio account or API key? No. The Actor reads the public web pages, so no login or API key is required.
Can I filter by transport mode? The Actor collects all modes Rome2Rio returns. Filter by mode after the run in your dataset using the mode column.
How many routes can I scrape? You set the maximum with the 'Maximum routes' input field, up to 1,000,000 per run.
Does it return direct routes only or connections too? It returns whatever Rome2Rio displays for the query, which includes direct routes and connections requiring a transfer.
Can I use city names or do I need airport codes? City names work. You can also use specific addresses, train stations, or airport codes. Rome2Rio resolves them.
Is the scraper legal? The Actor reads publicly available route data. You are responsible for complying with Rome2Rio's terms of service in your use case.

Related actors

Browse the full ParseForge collection for more scrapers.

πŸ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Rome2Rio Pty Ltd. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
origin required string Starting city or location (e.g. London, New York, Tokyo) London
destination required string Destination city or location (e.g. Paris, Los Angeles, Osaka) Paris
maxItems integer How many routes to collect per run. 10

Pricing

from $19.00 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.019 to $0.021

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST Β· run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~rome2rio-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "origin": "London",
    "destination": "Paris",
    "maxItems": 3
  }'

Examples

Input that runs as-is.

input.json
{
  "origin": "London",
  "destination": "Paris",
  "maxItems": 3
}

Reviews

No reviews yet. Be the first.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run Rome2Rio Scraper on Apify All scrapers