Gasolineras de España

Gasolineras de España

5/5 (2 ratings) 10 active installs Updated Nov 14, 2026
The card with the gas stations near a place.

The card with the gas stations near a place.

Gasolineras de España shows the prices of the gas stations of Spain on your website: no API key, no sign-up, updated every hour from the official data of the Spanish Ministry (more than 11,000 gas stations).

Add the «Gas stations in Spain» block in the block editor, the widget in classic themes, or a shortcode made in Settings › Gas stations in Spain, and choose what to show:

  • Gas stations near a place: a street, a postcode or a gas station, by distance or by price within the radius you choose.
  • The cheapest in a town, a province or a region (Getafe, the province of Valencia, Galicia…).
  • Chosen gas stations: up to 10, for instance the gas station of your business.
  • The average price today in a town, a province or a region, with its last 30 days.

Features

  • Petrol 95 and 98, diesel, diesel + and LPG.
  • The change since yesterday, the difference with the average price of the area and the gas stations open 24 hours.
  • Distance and a link to directions in Google Maps.
  • The mejorgasolinera.com logo, with a link to more gas stations of the place. You can hide it in the settings.
  • The time of the prices, which you can also hide.
  • A card that takes the colours and the font of your theme (or your own colours) and adapts to the room it has: a sidebar or a content column.
  • Fast: the card is made on your server with the data already in the page. No JavaScript on your public pages.
  • The data is kept in your WordPress cache until the next hourly price update. If the service does not answer, the last data is shown, with its time.
  • A shortcode generator with a live preview.
  • In English and Spanish.
  • The classic design of the previous versions is still there: widgets and shortcodes made before 2.0 look exactly the same.

Gasolineras de España is a service of mejorgasolinera.com.

External services

This plugin gets the gas stations and their prices from the mejorgasolinera.com service.

  • What is sent and when: when a page with the block, the widget or the shortcode is shown and the data kept in your WordPress cache is out of date, your server sends to https://mejorgasolinera.com/api/gas/gasstations what the card needs (the location you set: coordinates, a town, province or region, or the ids of the gas stations you chose; the number of gas stations and the order), your site’s domain name and the plugin version. When you search a place or a gas station in the settings, your server sends that text to https://mejorgasolinera.com/api/gas/coordinates. Requests are made by your server: your visitors’ browsers and IP addresses are never sent to mejorgasolinera.com.
  • Brand icons are included in the plugin and served from your site.
  • Terms and privacy: Legal notice, Privacy policy.