OilPriceAPI Fuel Widgets
Source-dated weekly U.S. diesel and gasoline price widgets using public-domain EIA retail-fuel series.
Utiliser avec prudence
OilPriceAPI Fuel Widgets works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.
- Petite base d'utilisateurs (<10 installations actives)
- Très peu de critiques jusqu'à présent
Téléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where OilPriceAPI Fuel Widgets stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| diesel price | #2 |
| eia | #1 |
| fuel surcharge | #3 |
| gasoline price | #1 |
| widget | >100 |
About OilPriceAPI Fuel Widgets
From the official readme · v1.1.1Description
OilPriceAPI Fuel Widgets adds source-dated U.S. retail-fuel data to WordPress as shortcodes or a Gutenberg block.
Fuel Price Ticker
National U.S. diesel and regular gasoline averages. Each result shows its EIA observation week, weekly cadence, unit, and source.
U.S. Diesel Price
The national U.S. diesel retail average, quoted in USD per gallon and labeled with its observation week.
Fuel Surcharge Calculator
Calculates the percentage by which the weekly national diesel average exceeds a base price configured by the site owner. It does not describe the result as an industry standard or a contractual surcharge.
Traits
- Source date, weekly cadence, currency, unit, and EIA attribution in every successful widget
- Dark and light themes
- Shortcodes and Gutenberg block
- Server-side requests with no remote executable code
- One-hour validated cache
- Last successful result for up to 48 hours after an error, visibly labeled as a cached copy
- Fail-closed handling for unavailable, rate-limited, timed-out, empty, or malformed responses
- No API key required for the public EIA series
Service externe
This plugin uses OilPriceAPI to retrieve the EIA retail-fuel series displayed by the widgets.
The WordPress server sends a GET request to https://www.oilpriceapi.com/api/widgets/fuel-prices at most once per hour while a page containing a widget is requested. OilPriceAPI receives the site server’s IP address and standard HTTP request metadata. The plugin does not send the visitor’s IP address, WordPress user data, page content, or an API credential.
The underlying retail-fuel observations come from the U.S. Energy Information Administration and are public domain at the source. OilPriceAPI delivers and validates the response; it does not grant rights in underlying data.
Installation
- Téléchargez le dossier
oilpriceapi-widgetsà/wp-content/plugins/. - Activate OilPriceAPI Fuel Widgets through the Plugins screen.
- Add an OilPriceAPI block or one of the shortcodes below to a page.
Quick Start
[oilpriceapi_ticker]– weekly national diesel and gasoline prices[oilpriceapi_diesel]– weekly national diesel price[oilpriceapi_fuel_surcharge base_price="2.50"]– percentage above the configured base
Configure default theme, fuels, and base price under Settings > OilPriceAPI.
Journal de modifications
This directory-compatible source-accuracy release replaces previously displayed crude and natural-gas data with source-dated weekly EIA retail-fuel series. Existing ticker shortcodes continue to render; existing carbon shortcodes show a retirement notice.
1.1.1
- Matched the package folder and text domain to the approved WordPress.org directory slug
oilpriceapi-widgets
1.1.0
- Replaced crude and natural-gas public display with allowlisted EIA diesel and gasoline series
- Added visible source date, weekly cadence, unit, and EIA attribution
- Moved rendering server-side and removed remote executable widget scripts
- Added strict response validation and fail-closed recovery states
- Added one-hour fresh caching and an explicitly labeled 48-hour last-success fallback
- Retired the carbon widget’s uncleared crude-price dependency
- Removed unsupported regional diesel output and unsupported marketing claims
- Added deterministic failure-path tests and CI
1.0.1
- Confirmed WordPress compatibility and expanded directory documentation
1.0.0
- Initial plugin release
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
FAQ
OilPriceAPI Fuel Widgets: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is OilPriceAPI Fuel Widgets free?
Yes. OilPriceAPI Fuel Widgets is free to download and use from the official WordPress.org plugin directory.
Is OilPriceAPI Fuel Widgets safe to use in 2026?
OilPriceAPI Fuel Widgets works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.
How many websites use OilPriceAPI Fuel Widgets?
OilPriceAPI Fuel Widgets is active on <10 WordPress websites and has been downloaded 470 times since it launched in July 2026. It was downloaded 68 times in the last 30 days.
Does OilPriceAPI Fuel Widgets work with WordPress 7.1?
OilPriceAPI Fuel Widgets is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does OilPriceAPI Fuel Widgets need?
OilPriceAPI Fuel Widgets requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was OilPriceAPI Fuel Widgets last updated?
The latest version, 1.1.1, was released on July 19, 2026 (5 months ago).
Who makes OilPriceAPI Fuel Widgets?
OilPriceAPI Fuel Widgets is developed and maintained by Karl Waldman.
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
