Dromovia

Renfe Cercanías API

Stops, next departures, journeys and disruptions for Renfe Cercanías, from the operator's open data. Live (GTFS-RT).

Operator
Renfe Cercanías
Country
Spain
Modes
rail, bus
Live data
Yes: GTFS-RT, polled every 30 seconds. Stale realtime is dropped, never shown as live.
Timetable valid until
2026-12-29
Licence
CC-BY-4.0
Attribution
Origen de los datos: Renfe Operadora — data.renfe.com
Status now
Degraded
Network id
renfe-cercanias

Example requests

Find a stop of this network (here Barcelona-Sants, the stop served by the most lines):

curl -H "X-API-Key: $TRANSIT_API_KEY" \
  "https://dromovia.com/v1/stops?q=Barcelona-Sants&feed=renfe-cercanias"

Its next departures, with live times:

curl -H "X-API-Key: $TRANSIT_API_KEY" \
  "https://dromovia.com/v1/stops/renfe-cercanias%3A71801/departures?limit=5"

Disruptions on this network:

curl -H "X-API-Key: $TRANSIT_API_KEY" \
  "https://dromovia.com/v1/alerts?feed=renfe-cercanias"

Journeys between two of its stops go through /v1/plan. Every response names this network in sources.

Attribution to display

Data from this network is published under CC-BY-4.0. Wherever you show it, display:

Origen de los datos: Renfe Operadora — data.renfe.com

The same text is in each response's sources, so you can display it from there.