---
title: "Fuel prices API Reference | APIFor"
description: "Endpoint reference for the Fuel prices service: parameters, request bodies, example responses, status codes and credits per call."
canonical: "https://apifor.dev/docs/reference/fuel-prices/"
---

**Fuel prices All docs**

# Fuel prices API Reference

3 routes. Base URL `https://api.apifor.dev`, authenticated with `x-api-key`. Failed calls are not charged. Overview, limits and sources are on the [Fuel price API](https://apifor.dev/services/fuel-prices/) page.

GET `/v1/fuel-prices` 1 credit

Weekly retail fuel prices per country and fuel, newest first: EU member states (with and without taxes, from 2005), Malaysia (from 2017) and Indonesia regulated prices (with the decree under rules). 1 credit.

| Parameter | In | Type | Rules |
| --- | --- | --- | --- |
| country | query | string | ISO 3166-1 alpha-2 codes, comma-separated (EU members, EU = EU-27 average, EA = euro area, MY, ID). All countries when left out. |
| fuel | query | string | Fuel codes, comma-separated: petrol-95, diesel, lpg, heating-oil, heavy-fuel-oil-low-sulphur, heavy-fuel-oil-high-sulphur; MY adds petrol-97, diesel-east-malaysia and subsidy-scheme series; ID petrol-90, petrol-88, diesel-subsidised, kerosene. |
| from | query | string | First date, YYYY-MM-DD. |
| to | query | string | Last date, YYYY-MM-DD. |
| page | query | integer | default 1 · Page number. |
| limit | query | integer | 1 to 500 · default 100 · Rows per page, at most 500. |

GET /v1/fuel-prices

```bash
curl 'https://api.apifor.dev/v1/fuel-prices?country=DE%2CFR&fuel=diesel&from=2026-01-01' \
  -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"
      }
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "per_page": 100,
    "total_pages": 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 ..."
      }
    ]
  }
}
```

- `200` Price rows
- `400` Invalid parameter

GET `/v1/fuel-prices/latest` 1 credit

Newest price per country and fuel with the previous price and the change in percent; for ID the prices in force. 1 credit.

| Parameter | In | Type | Rules |
| --- | --- | --- | --- |
| country | query | string | ISO 3166-1 alpha-2 codes, comma-separated (EU members, EU = EU-27 average, EA = euro area, MY, ID). All countries when left out. |
| fuel | query | string | Fuel codes, comma-separated: petrol-95, diesel, lpg, heating-oil, heavy-fuel-oil-low-sulphur, heavy-fuel-oil-high-sulphur; MY adds petrol-97, diesel-east-malaysia and subsidy-scheme series; ID petrol-90, petrol-88, diesel-subsidised, kerosene. |

GET /v1/fuel-prices/latest

```bash
curl 'https://api.apifor.dev/v1/fuel-prices/latest?country=DE%2CFR&fuel=diesel' \
  -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 ..."
      }
    ]
  }
}
```

- `200` Latest prices
- `400` Invalid parameter

GET `/v1/fuel-prices/coverage` Free

Countries this service covers, with sources, licences, row counts and country-only fields. Free (0 credits), still needs an API key. Price note: Free.

GET /v1/fuel-prices/coverage

```bash
curl 'https://api.apifor.dev/v1/fuel-prices/coverage' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response · 200

```json
{
  "success": true,
  "data": {
    "service": "fuel-prices",
    "global": false,
    "country_param": "optional",
    "param_name": "country",
    "countries": [
      {
        "country": "AT",
        "market": "EU",
        "subdivision_levels": [],
        "rows": null,
        "updated_at": "2026-11-30",
        "sources": [
          {
            "name": "European Commission, Weekly Oil Bulletin",
            "url": "https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en",
            "licence": "CC BY 4.0 (Commission legal notice)",
            "attribution": "© European Union, Weekly Oil Bulletin"
          }
        ],
        "local_fields": [
          "member_state",
          "aggregate"
        ],
        "notes": "Weekly retail prices from 2005-01-03, with taxes (price) and without duties and taxes (price_without_tax), EUR per litre (heavy fuel oils..."
      },
      {
        "country": "BE",
        "market": "EU",
        "subdivision_levels": [],
        "rows": null,
        "updated_at": "2026-11-30",
        "sources": [
          {
            "name": "European Commission, Weekly Oil Bulletin",
            "url": "https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en",
            "licence": "CC BY 4.0 (Commission legal notice)",
            "attribution": "© European Union, Weekly Oil Bulletin"
          }
        ],
        "local_fields": [
          "member_state",
          "aggregate"
        ],
        "notes": "Weekly retail prices from 2005-01-03, with taxes (price) and without duties and taxes (price_without_tax), EUR per litre (heavy fuel oils..."
      }
    ]
  }
}
```

- `200` Coverage

[Error handling](https://apifor.dev/docs/errors/) · [Rate limits](https://apifor.dev/docs/rate-limits/) · [Prices](https://apifor.dev/pricing/#services)
