---
title: "Fuel price API | APIFor"
description: "Retail fuel prices by country and fuel in one shape, with the price before tax where the source gives it. 1 credit per call, REST and MCP, one API key."
canonical: "https://apifor.dev/services/fuel-prices/"
---

1. [Services](https://apifor.dev/services/)
2. [Fuel prices](https://apifor.dev/services/fuel-prices/)

# 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/latest 1 credit About $0.001

[Get a free API key](https://app.apifor.dev/register) [Endpoint reference](https://apifor.dev/docs/reference/fuel-prices/)

## Try it

GET /v1/fuel-prices/latest

```bash
curl 'https://api.apifor.dev/v1/fuel-prices/latest?country=DE&fuel=petrol-95' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response · 200

```json
{
  "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](https://apifor.dev/services/fuel-prices/malaysia/), [Germany fuel prices API](https://apifor.dev/services/fuel-prices/germany/), [France fuel prices API](https://apifor.dev/services/fuel-prices/france/), [Italy fuel prices API](https://apifor.dev/services/fuel-prices/italy/).

Sources, row counts and country-only fields per country: [`GET /v1/fuel-prices/coverage`](https://apifor.dev/docs/reference/fuel-prices/#get-fuel-prices-coverage), free with your API key. [How coverage works](https://apifor.dev/docs/coverage/)

## 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.

## Sources and licences

- **[European Commission, Weekly Oil Bulletin](https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en)**: CC BY 4.0
- **[data.gov.my fuelprice](https://data.gov.my/data-catalogue/fuelprice)**: CC BY 4.0
- **[ESDM decrees (API Indonesia energi dataset)](https://jdih.esdm.go.id)**: Statutory instruments, Law 28/2014 Art. 42

### Attribution

- © European Union, Weekly Oil Bulletin
- Source: data.gov.my (CC BY 4.0)

## Also on MCP

Connect `https://mcp.apifor.dev/mcp` and your agent gets a tool for this service, billed the same way.

[MCP setup](https://apifor.dev/docs/mcp/)

## 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.

## Related services

[All services](https://apifor.dev/services/)

- [Exchange rates and currency conversion API](https://apifor.dev/services/exchange-rates/)
- [Payment QR decoder API (QRIS, PromptPay, DuitNow, PayNow, VietQR)](https://apifor.dev/services/payment-qr/)
- [Food price API](https://apifor.dev/services/food-prices/)
- [Statistics API](https://apifor.dev/services/statistics/)
- [Central bank policy rates API](https://apifor.dev/services/policy-rates/)
- [Property transactions API](https://apifor.dev/services/property-transactions/)
