---
title: "Malaysia fuel prices API | APIFor"
description: "Weekly Malaysia pump prices for RON95, RON97 and diesel as JSON, from data.gov.my, back to 2017. Includes subsidy-scheme prices where published."
canonical: "https://apifor.dev/services/fuel-prices/malaysia/"
---

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

# Malaysia fuel prices API

GET /v1/fuel-prices/latest?country=MY returns this week's Malaysian pump prices in ringgit per litre, from the Ministry of Finance weekly prices on data.gov.my (CC BY 4.0). APIFor holds 2,230 rows back to 30 March 2017, last updated 2026-11-30. Each call costs 1 credit.

GET /v1/fuel-prices/latest MY 1 credit Updated 2026-11-30

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

## Request

GET /v1/fuel-prices/latest

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

## What you get

Fuels: `petrol-95`, `petrol-97`, `diesel` (Peninsular) and `diesel-east-malaysia`. Where the ministry publishes them, subsidy-scheme prices come as their own series: `petrol-95-budi95`, `petrol-95-skps`, `diesel-skds` and `diesel-budi`.

Each row also has `series` and `effective_week_from` under `local`, so you can tell which week a price applies to. For history, use `GET /v1/fuel-prices?country=MY&from=2025-01-01`.

Our OpenAPI file does not record a Malaysia response yet, so no sample is shown here. The row shape is the same as the [Germany example](https://apifor.dev/services/fuel-prices/germany/), with prices in MYR.

## Source

- **[data.gov.my fuelprice (Ministry of Finance weekly prices)](https://data.gov.my/data-catalogue/fuelprice)**: CC BY 4.0
- **Rows held**: 2,230
- **Last updated**: 2026-11-30

Weekly pump prices in MYR per litre from 2017-03-30: petrol-95, petrol-97, diesel (Peninsular), diesel-east-malaysia, plus subsidy-scheme prices (petrol-95-budi95, petrol-95-skps, diesel-skds, diesel-budi) where published. Refreshed weekly.

From `GET /v1/fuel-prices/coverage`, free with a key.

## Questions

**How often are Malaysian fuel prices updated?**

Weekly, following the ministry's weekly price announcement. Our copy was last updated 2026-11-30.

**Does it include East Malaysia diesel?**

Yes, as diesel-east-malaysia, next to Peninsular diesel.

**What attribution do I need?**

Source: data.gov.my (CC BY 4.0)

## Related

- [Fuel price API, all countries](https://apifor.dev/services/fuel-prices/)
- [Fuel price API](https://apifor.dev/services/fuel-prices/)
- [Food price API](https://apifor.dev/services/food-prices/)
- [EU fuel prices API guide](https://apifor.dev/guides/eu-fuel-prices-api/)
- [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/)
- [Malaysia vehicle registrations API (JPJ)](https://apifor.dev/services/vehicle-registrations/malaysia/)
- [Malaysia OPR API (Bank Negara Malaysia)](https://apifor.dev/services/policy-rates/malaysia/)
