Travel
RFI (Italy) logo

RFI (Italy) API

rfi.it

RFI - Italian rail station live arrivals, departures, and station metadata.

Actions
4
Category
Travel
Login
Not required
Output
JSON

Call the RFI (Italy) API

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

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_rfi_it_live_departures_monitor",
    "params": {
      "place_id": "371",
      "arrivals": "False"
    }
  }'

4 actions on rfi.it

Read

  • Live Departures Monitor

    act_rfi_it_live_departures_monitorread2 credits / call

    Returns a station's live train board with times, platforms, delays, and carriers.

    place_id
    string · required
    arrivals
    string · required
  • Station Details

    act_rfi_it_station_detail_pageread1 credit / call

    Returns a station's profile including region, platforms, services, and accessibility.

    station_slug
    string · required
  • Station Directory Listing

    act_rfi_it_station_directory_listingread1 credit / call

    Returns all rail stations with city, region, address, and coordinates.

  • Station Index

    act_rfi_it_arrivi_partenze_portalread1 credit / call

    Returns all rail stations with names and place IDs for monitor lookups.

RFI (Italy) API questions

Is there an API for RFI (Italy)?
RFI (Italy) does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for rfi.it. 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 RFI (Italy) 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 rfi.it changes its markup, Anakin updates the action.
Do I need a RFI (Italy) account?
No. Every RFI (Italy) action listed here runs anonymously — no account and no credentials required.
What does the RFI (Italy) 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