Dromovia

Renfe (AVE, Larga and Media Distancia) API

Stops, next departures, journeys and disruptions for Renfe (AVE, Larga and Media Distancia) in AVE and Larga and Media Distancia, from the operator's open data. Live (GTFS-RT).

Operator
Renfe (AVE, Larga and Media Distancia)
Area
AVE and Larga and Media Distancia
Country
Spain
Modes
rail
Live data
Yes: GTFS-RT, polled every 30 seconds. Stale realtime is dropped, never shown as live.
Timetable valid until
2027-09-29
Licence
CC-BY-4.0
Attribution
Origen de los datos: Renfe Operadora — data.renfe.com
Status now
Degraded
Network id
renfe-ld

Example requests

Find a stop of this network (here Madrid-Chamartín-Clara Campoamor, the stop served by the most lines):

curl -H "X-API-Key: $TRANSIT_API_KEY" \
  "https://dromovia.com/v1/stops?q=Madrid-Chamart%C3%ADn-Clara%20Campoamor&feed=renfe-ld"

Its next departures, with live times:

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

Disruptions on this network:

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

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.