# Transport for Spain API

> Public trains of Spain.

Transport for Spain is a transportation API. It needs no API key. It is served over HTTPS.

## At a glance

- Category: [Transportation](https://www.openparable.com/apis/category/transportation)
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: Not stated
- Documentation: https://data.renfe.com/api/1/util/snippet/api_info.html?resource_id=a2368cff-1562-4dde-8466-9635ea3a572a

## Questions

### Does the Transport for Spain API need an API key?

No. The Transport for Spain API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Does the Transport for Spain API support HTTPS?

Yes, the Transport for Spain API is served over HTTPS.

### What are alternatives to the Transport for Spain API?

Other Transportation APIs include airportsapi, Transport for London, England, Uber, Amadeus for Developers, Boston MBTA Transit.

## Similar transportation APIs

- [airportsapi](https://www.openparable.com/apis/airportsapi): Get name and website-URL for airports by ICAO code
- [Transport for London, England](https://www.openparable.com/apis/transport-for-london-england): Discover TFL APIs
- [Uber](https://www.openparable.com/apis/uber): Uber ride requests and price estimation
- [Amadeus for Developers](https://www.openparable.com/apis/amadeus-for-developers): Travel Search - Limited usage
- [Boston MBTA Transit](https://www.openparable.com/apis/boston-mbta-transit): Stations and predicted arrivals for MBTA
- [ADS-B Exchange](https://www.openparable.com/apis/ads-b-exchange): Access real-time and historical data of any and all airborne aircraft
- [Sabre for Developers](https://www.openparable.com/apis/sabre-for-developers): Travel Search - Limited usage
- [GoToTraining](https://www.openparable.com/apis/gototraining): The GoToTraining API enables developers to use the stable and robust GoToTraining functionality as the basis for online trainings in a proprietary learning management system. The GoToTraining APIs provide the ability to access the scheduling, registration, management, and reporting functions of GoToTraining from external applications. With the ability to tightly integrate GoToTraining into your learning infrastructure, you can offer your learners a seamless user experience and provide them with a market leading virtual classroom environment.
- [Transport for The Netherlands](https://www.openparable.com/apis/transport-for-the-netherlands): Discover APIs, learn how to use them, try them out interactively, and sign up to acquire keys.
- [Transport for Hessen, Germany](https://www.openparable.com/apis/transport-for-hessen-germany): RMV API (Public Transport in Hessen)
- [Transport for Auckland, New Zealand](https://www.openparable.com/apis/transport-for-auckland-new-zealand): The Auckland Transport developer portal allows you to explore the diverse range of APIs and transport data from Auckland Transport and NZTA.
- [Transport for Washington, US](https://www.openparable.com/apis/transport-for-washington-us): Washington Metro transport API

Listed from: public-apis (MIT), public-apis database (MIT). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/transport-for-spain (OpenParable). Cite the canonical URL above.
