1. Services
  2. Fuel prices
  3. 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/latestMY1 creditUpdated 2026-11-30

Request

GET/v1/fuel-prices/latest
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, with prices in MYR.

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)