PASAR API

🇪🇸 Renfe Data ~ rail GTFS schedules & open data

← directory
RenfeTravel & mobilitytier: openauth: no authpricing: freeverified 2026-07-05

Spain's national rail operator publishes an open-data portal with downloadable GTFS timetable feeds (Cercanías and more) and other datasets.

View docs ↗ More Travel & mobility APIs

Call it

curl 'https://api.data.gov.my/data-catalogue/?id=es-renfe-data&limit=10&sort=-date'

AI prompt

I'm building an app using a free Spain API (no auth needed).

API: Renfe Data ~ rail GTFS schedules & open data
Provider: Renfe
Endpoint: GET https://api.data.gov.my/data-catalogue/?id=es-renfe-data&limit=10&sort=-date
It returns JSON.

Source: Renfe (https://data.renfe.com/)
Source type: Official open-data catalogue
Endpoint type: Open-data catalogue JSON
Integration difficulty: Copy-paste ready
Last checked: 2026-07-05
Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures.

Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.

Related Travel & mobility APIs

LTA DataMall ~ Singapore real-time bus, train & traffic dataCarpark Availability (data.gov.sg) ~ live HDB carpark lotsTraffic Images (data.gov.sg) ~ live Singapore road camerasAviationstack Real-Time Flight DataFlightAware AeroAPIBooking.com Demand APIViator Partner APISkyscanner Travel APIKlook Open APIAmadeus Self-Service APIs ~ flight search, booking, hotels & travel data