Travel
Rome2Rio logo

Rome2Rio API

rome2rio.com

Rome2Rio multimodal route search

Actions
2
Category
Travel
Login
Not required
Output
JSON

Call the Rome2Rio API

Submit a task, then poll the job until it settles. This example runs act_rome2rio_com_place_autocomplete.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_rome2rio_com_place_autocomplete",
    "params": {
      "search_query": "Florence"
    }
  }'

2 actions on rome2rio.com

Read

  • Place Autocomplete

    act_rome2rio_com_place_autocompleteread1 credit / call

    Autocomplete Rome2Rio places (cities, stations) by search query

    search_query
    string · required
    language_code
    string
  • Route Search

    act_rome2rio_com_route_searchread1 credit / call

    Search multimodal transport routes between an origin and destination on Rome2Rio

    origin
    string · required
    destination
    string · required
    language_code
    string
    currency_code
    string

Rome2Rio API questions

Is there an API for Rome2Rio?
Rome2Rio does not offer a public data API for this, but Anakin Wire provides 2 maintained endpoints for rome2rio.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Rome2Rio data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when rome2rio.com changes its markup, Anakin updates the action.
Do I need a Rome2Rio account?
No. Every Rome2Rio action listed here runs anonymously — no account and no credentials required.
What does the Rome2Rio API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Travel APIs

All Travel sites