# Fuel Prices at Spanish Gas Stations API

> Provides information about fuel prices at gas stations in Spain.

Fuel Prices at Spanish Gas Stations is a transportation API. It needs no API key. It is served over HTTPS and does not allow direct browser requests (no CORS).

## At a glance

- Category: [Transportation](https://www.openparable.com/apis/category/transportation)
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: No
- Documentation: https://datos.gob.es/en/apidata

## Questions

### Does the Fuel Prices at Spanish Gas Stations API need an API key?

No. The Fuel Prices at Spanish Gas Stations API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Can I call the Fuel Prices at Spanish Gas Stations API from the browser?

Not directly. The Fuel Prices at Spanish Gas Stations API does not send CORS headers, so call it from your server or a proxy instead of browser JavaScript.

### Does the Fuel Prices at Spanish Gas Stations API support HTTPS?

Yes, the Fuel Prices at Spanish Gas Stations API is served over HTTPS.

### What are alternatives to the Fuel Prices at Spanish Gas Stations API?

Other Transportation APIs include airportsapi, Transport for London, England, Uber, Transport for Spain, Amadeus for Developers.

## 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
- [Transport for Spain](https://www.openparable.com/apis/transport-for-spain): Public trains of Spain
- [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.

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

---

Source: https://www.openparable.com/apis/fuel-prices-at-spanish-gas-stations (OpenParable). Cite the canonical URL above.
