Public transport API for Spain
Spanish public transport available through the same API as the rest of the coverage.
18networks
1country: Spain
9with live data
5modes: tram, metro, rail, bus and funicular
Coverage of Spain is small today and is listed in full below. Renfe publishes its Cercanías (commuter rail) timetables and realtime as open data under CC BY 4.0, which requires attribution.
Networks in Spain
| Network | Area | Modes | Data | Licence |
|---|---|---|---|---|
| Álavabus (Álava interurban buses) | Álava interurban buses | — | Live (GTFS-RT) | CC-BY-4.0 |
| Bilbobus | Bilbao | bus | Timetable only | CC-BY-4.0 |
| Bizkaibus | Bilbao | bus | Live (GTFS-RT) | CC-BY-4.0 |
| CRTM — Autobuses interurbanos (Comunidad de Madrid) | Madrid | bus | Timetable only | CRTM-licencia-de-uso |
| CRTM — Autobuses urbanos de los municipios de Madrid | Madrid | bus | Timetable only | CRTM-licencia-de-uso |
| CRTM — Metro Ligero (Madrid) | Madrid | tram | Timetable only | CRTM-licencia-de-uso |
| Dbus (Donostia / San Sebastián) | San Sebastián | — | Live (GTFS-RT) | CC-BY-4.0 |
| EMT Málaga | Málaga | bus | Live (GTFS-RT) | CC-BY-SA-4.0 |
| EMT València | Valencia | bus | Timetable only | CC-BY-4.0 |
| Euskotren (trains, Bilbao and Vitoria trams, Larreineta funicular) | trains, Bilbao and Vitoria trams, Larreineta funicular | — | Live (GTFS-RT) | CC-BY-4.0 |
| FGC — Ferrocarrils de la Generalitat de Catalunya | Barcelona | metro, rail, bus, funicular | Timetable only | CC-BY-4.0 |
| Generalitat Valenciana — interurban buses | — | bus | Timetable only | CC-BY-4.0 |
| Metro Bilbao | Bilbao | metro | Live (GTFS-RT) | CC-BY-4.0 |
| Renfe (AVE, Larga and Media Distancia) | AVE, Larga and Media Distancia | rail | Live (GTFS-RT) | CC-BY-4.0 |
| Renfe Cercanías | — | rail, bus | Live (GTFS-RT) | CC-BY-4.0 |
| TIB — Consorci de Transports de Mallorca (buses, metro, trains) | Mallorca, Palma | metro, rail, bus | Timetable only | CC-BY-4.0 |
| TITSA (Tenerife buses) | Tenerife | bus | Timetable only | CC-BY |
| Tuvisa (Vitoria-Gasteiz) | Vitoria-Gasteiz | — | Live (GTFS-RT) | CC-BY-4.0 |
Example requests
Restrict any search to these networks with feed=:
curl -H "X-API-Key: $TRANSIT_API_KEY" \
"https://dromovia.com/v1/stops?q=gare&feed=alavabus,bilbobus,bizkaibus,crtm-interurbanos,crtm-metro-ligero"
Disruptions on Álavabus (Álava interurban buses):
curl -H "X-API-Key: $TRANSIT_API_KEY" \
"https://dromovia.com/v1/alerts?feed=alavabus"
Each network page has a request with a real stop of that network.
Licences
Networks here are published under CC-BY, CC-BY-4.0, CC-BY-SA-4.0 and CRTM-licencia-de-uso. Show the attribution from each response's sources wherever you display the data.