Fuel price API
Retail fuel prices by country and fuel in one shape, with the price before tax where the source gives it. The latest call puts the newest price next to the one before and the change in percent.
GET /v1/fuel-prices/latest1 creditAbout $0.001Try it
curl 'https://api.apifor.dev/v1/fuel-prices/latest?country=DE&fuel=petrol-95' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"country": "DE",
"fuel": "petrol-95",
"fuel_name": "Petrol, 95 octane (Euro-super 95 / RON95)",
"date": "2026-11-23",
"price": 1.964,
"price_without_tax": 0.9881,
"currency": "EUR",
"unit": "litre",
"local": {
"country": "EU",
"member_state": "DE",
"aggregate": null,
"bulletin_series": "euro95",
"original_unit": "EUR per 1000 l"
},
"previous_date": "2026-11-16",
"previous_price": 2.001,
"change_pct": -1.85
}
],
"meta": {
"total": 1,
"coverage": [
"AT",
"BE"
],
"attribution": {
"source": "European Commission, Weekly Oil Bulletin (prices communicated by the Member States)",
"license": "Creative Commons Attribution 4.0 International (CC BY 4.0)",
"license_url": "https://commission.europa.eu/legal-notice_en",
"source_url": "https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en",
"attribution_page": "https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en",
"notice": "© European Union, Weekly Oil Bulletin (CC BY 4.0). APIFor changed the data: prices per 1000 l converted to per litre, English fuel codes ..."
},
"sources": [
{
"source": "European Commission, Weekly Oil Bulletin (prices communicated by the Member States)",
"license": "Creative Commons Attribution 4.0 International (CC BY 4.0)",
"license_url": "https://commission.europa.eu/legal-notice_en",
"source_url": "https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en",
"attribution_page": "https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en",
"notice": "© European Union, Weekly Oil Bulletin (CC BY 4.0). APIFor changed the data: prices per 1000 l converted to per litre, English fuel codes ..."
}
]
}
}A real response from our OpenAPI file, with long lists and strings shortened.
Endpoints and price
| Endpoint | Credits | About |
|---|---|---|
GET /v1/fuel-prices | 1 credit | $0.001 |
GET /v1/fuel-prices/latest | 1 credit | $0.001 |
GET /v1/fuel-prices/coverage (Free) | Free | $0 |
USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.
Coverage today
Austria, Belgium, Bulgaria, Croatia, Cyprus, Czechia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Indonesia, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malaysia, Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, European Union and Euro area.
Leave country out to get every covered country, or pass one to narrow it.
Country pages with the official source: Malaysia fuel prices API, Germany fuel prices API, France fuel prices API, Italy fuel prices API.
Sources, row counts and country-only fields per country: GET /v1/fuel-prices/coverage, free with your API key. How coverage works
Limits
- price includes taxes. price_without_tax is filled only where the source publishes it.
- Weekly prices for most countries. Regulated prices come with the decree under rules.
- Heavy fuel oils are per tonne, other fuels per litre. unit says which.
Questions
Can I compare countries in one call?
Yes. Pass several codes, for example country=DE,FR,MY, and every row comes back in the same shape.
What currency are prices in?
The currency the source publishes, in currency on each row. Some sources convert to euro before they publish.