Dromovia

FGC — Ferrocarrils de la Generalitat de Catalunya API

Stops, next departures, journeys and disruptions for FGC — Ferrocarrils de la Generalitat de Catalunya in Barcelona, from the operator's open data. Timetable only.

Operator
FGC — Ferrocarrils de la Generalitat de Catalunya
Area
Barcelona
Country
Spain
Modes
metro, rail, bus, funicular
Live data
No: the operator publishes a timetable only, so departures are marked scheduled.
Timetable valid until
2027-12-31
Licence
CC-BY-4.0
Attribution
Ferrocarrils de la Generalitat de Catalunya
Status now
Operational
Network id
fgc

Example requests

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

curl -H "X-API-Key: $TRANSIT_API_KEY" \
  "https://dromovia.com/v1/stops?q=Almeda&feed=fgc"

Its next departures, from the timetable:

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

Disruptions on this network:

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

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:

Ferrocarrils de la Generalitat de Catalunya

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