Breadcrumbs: Home > Fuel Price Data API > Current Fuel Price API

Current Fuel Price API

The Current Fuel Price API provides developers, analysts, fleet operators, and commercial software platforms with reliable, structured access to official South African fuel pricing data. Instead of manually scraping static PDFs or tracking monthly gazette announcements, enterprise applications can programmatically query current regulated petrol prices, wholesale diesel benchmarks, and regional price zone differentials across South Africa.

This API resource serves as the direct link between official government price adjustments and your internal applications, ensuring your fleet management systems, ERP tools, financial models, and customer-facing apps always reflect verified figures.

Current Fuel Price Reference (Active Period)

  • Effective Date: [YYYY-MM-DD] (Updated monthly upon official gazette release)
  • Primary Reference Zone: Inland (Zone 9C / Gauteng) & Coastal (Zone 1A)
  • Monetary Units: South African Cents per Litre (c/l) and Rand per Litre (R/l)
  • Current Status: Official Gazetted Rates Active

Need an immediate consumer calculation? Use our interactive calculate fuel cost tool, or check consumer-facing price updates on petrol price today.

Current Fuel Price API overview

South Africa’s liquid fuel market operates under a strictly regulated pricing mechanism overseen by the national government. Petrol prices are set on a monthly basis for specific geographical magisterial zones, while diesel prices feature official wholesale benchmark guidelines.

The primary objective of the current fuel price API is to deliver a single, standardized, JSON-formatted source of truth for these figures instantly upon official release. By integrating this API, businesses eliminate manual data entry errors, streamline fleet cost allocations, and maintain audited compliance across financial reporting tools.

Key Data Features

For enterprise users requiring broader macroeconomic datasets, historical trends, or bulk historical archives, visit our main fuel price data South Africa hub and fuel price data API resources.

Available endpoints and data fields

The API is built on RESTful principles, returning lightweight JSON payloads with standard HTTP response codes, explicit status markers, and strict type casting.

Available endpoints

Endpoint PathHTTP MethodDescription
/v1/prices/currentGETFetches the latest officially gazetted fuel prices for all grades and primary zones.
/v1/prices/current/{grade}GETRetrieves current price metrics filtered by a specific fuel grade (e.g., 95_ulp50ppm_diesel).
/v1/zonesGETReturns the complete list of South African magisterial pricing zones and regional transport differentials.
/v1/prices/historyGETQueries historical fuel price tables by month, year, or custom date ranges.

Data fields

Each price object within the API return includes verified breakdown fields derived from official government price structures:

Sample API response

JSON

{
  "status": "success",
  "data_version": "2026.07.1",
  "effective_date": "2026-07-01",
  "pricing_zone": {
    "code": "INLAND_9C",
    "description": "Gauteng / Inland Zone 9C"
  },
  "prices": [
    {
      "fuel_grade": "95_ulp",
      "display_name": "Unleaded Petrol 95",
      "retail_price_cents": 2425.00,
      "retail_price_rand": 24.25,
      "price_type": "maximum_retail_price"
    },
    {
      "fuel_grade": "93_ulp",
      "display_name": "Unleaded Petrol 93",
      "retail_price_cents": 2385.00,
      "retail_price_rand": 23.85,
      "price_type": "maximum_retail_price"
    },
    {
      "fuel_grade": "diesel_50ppm",
      "display_name": "Diesel 0.005% S (50ppm)",
      "wholesale_price_cents": 2150.00,
      "wholesale_price_rand": 21.50,
      "price_type": "wholesale_benchmark"
    }
  ]
}

Coverage by fuel type, province and month

Understanding South African fuel price architecture is essential for proper API integration. Unlike deregulated international markets where individual filling stations adjust prices hourly, South Africa enforces a uniform maximum retail price for petrol.

       ┌─────────────────────────────────────────────────────────┐
       │   Department of Mineral Resources and Energy (DMPR)    │
       └──────────────────────────┬──────────────────────────────┘
                                  │ Monthly Price Adjustment
                                  ▼
       ┌─────────────────────────────────────────────────────────┐
       │                  Central Pricing Zones                  │
       ├────────────────────────────┬────────────────────────────┤
       │     Inland (Zone 9C)       │     Coastal (Zone 1A)      │
       │   (Gauteng, FS, NW, MP)    │    (WC, KZN, EC, NC Coast)  │
       └──────────────┬─────────────┴──────────────┬─────────────┘
                      │                            │
                      ▼                            ▼
            ┌──────────────────┐         ┌──────────────────┐
            │  Standardized    │         │  Standardized    │
            │  Retail / Whsl   │         │  Retail / Whsl   │
            │   API Endpoint   │         │   API Endpoint   │
            └──────────────────┘         └──────────────────┘

Geographic price zones

  1. Inland Pricing (Zone 9C Benchmark): Covers Gauteng, Free State, North West, Limpopo, Mpumalanga, and parts of the Northern Cape. Inland prices account for pipeline and rail transport costs from coastal refineries.
  2. Coastal Pricing (Zone 1A Benchmark): Covers major coastal ports (Cape Town, Durban, Gqeberha, East London). Coastal prices exclude inland pipeline transport tariffs, making petrol cheaper at the coast.

Fuel grade coverage

Update frequency and source methodology

Accuracy is non-negotiable for commercial data pipelines. The latest current fuel price API operates on a strict monthly verification workflow tied directly to South Africa’s official regulatory publishing cycle.

Official source hierarchy

  1. Department of Mineral Resources and Energy (DMPR / DMRE): The primary official authority that calculates and gazettes final monthly fuel price adjustments.
  2. Central Energy Fund (CEF): Provides daily over-/under-recovery indicator updates based on International Product Prices and the ZAR/USD exchange rate.
  3. Government Gazette Statements: Official confirmation legal documents published prior to price implementation.
      Official Source Workflow & API QA Pipeline

  [ CEF Daily Data ]  ──┐
                        ├──► [ DMPR Monthly Gazette ] ──► [ Automated QA Verification ] ──► [ API Production Endpoint ]
  [ ZAR/USD & BFP ]   ──┘

Update schedule & cadence

Example API use cases

Commercial enterprises utilize the fuel price API South Africa to automate operational workflows and eliminate manual administrative tasks.

1. Fleet management & vehicle tracking

Fleet platforms integrate the API to automatically update fuel allowance limits, audit fuel card swipes against gazetted maximums, and calculate per-kilometer reimbursement rates dynamically across different provinces.

2. ERP & enterprise accounting

Logistics companies connect their ERP systems (SAP, Oracle, Microsoft Dynamics) to query the current wholesale diesel price on the first Wednesday of every month, instantly updating customer fuel surcharge tariffs without manual intervention.

3. Financial modeling & software applications

SaaS platforms, ride-sharing algorithms, and delivery services consume the API to adjust distance pricing models in real-time as official fuel costs shift month-to-month.

Need a lightweight calculation tool?

If you do not require a full REST API integration and simply need to run quick operational calculations, try our interactive tool to calculate fuel cost.

Access, licensing and contact CTA

Access to structured current fuel price API endpoints is structured for developers, software publishers, fleet management platforms, and commercial data teams.

Getting started with API access

Request API Access & Documentation

Build reliable fuel-aware applications today with verified South African price datasets.

  • Documentation & Endpoints: View data structures on our main fuel price data API parent page.
  • Commercial Enquiries: Contact [email protected] to request integration documentation, API keys, or enterprise custom data feeds.

Frequently asked questions

What should users expect from the current fuel price API page?

This page provides developers and business users with clear technical specifications, sample responses, source methodologies, and access routes for querying current, official South African fuel prices programmatically.

Which sources should the page reference?

All price data is sourced strictly from official Department of Mineral Resources and Energy (DMPR) monthly price schedules, cross-referenced with Central Energy Fund (CEF) basic fuel price (BFP) parameters and official South African Government Gazette announcements.

Who is this page for?

This page is designed for software developers, fleet managers, financial analysts, enterprise system architects, and digital publishers who require structured, automated access to verified South African fuel pricing data.

What is the next action?

Developers and business teams should review the endpoint specifications, explore our parent fuel price data API hub for broader integration documentation, or contact our team to request API credentials and sample datasets.