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
- Normalized Price Structures: Standardized responses output in both cents per litre (c/l) and Rand per litre (R/l).
- Zonal Accuracy: Clear delineation between Inland (Zone 9C) and Coastal (Zone 1A) pricing districts.
- Fuel Grade Differentiation: Complete coverage for 93 Unleaded (ULP), 95 Unleaded (ULP), 50ppm Diesel, 500ppm Diesel, Illuminating Paraffin, and LPG.
- Historical Audit Trail: Query effective pricing windows by exact date, month, or year for retroactive reconciliation.
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 Path | HTTP Method | Description |
/v1/prices/current | GET | Fetches the latest officially gazetted fuel prices for all grades and primary zones. |
/v1/prices/current/{grade} | GET | Retrieves current price metrics filtered by a specific fuel grade (e.g., 95_ulp, 50ppm_diesel). |
/v1/zones | GET | Returns the complete list of South African magisterial pricing zones and regional transport differentials. |
/v1/prices/history | GET | Queries 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:
effective_date(string, ISO 8601): The date the current fuel price officially came into effect.expiry_date(string, ISO 8601): The expected end date of the current pricing cycle.fuel_grade(string): The specific fuel type code (e.g.,93_ulp,95_ulp,diesel_50ppm,diesel_500ppm).zone_code(string): The designated pricing zone (e.g.,INLAND_9C,COASTAL_1A).retail_price_cents(number): The official maximum retail price in cents per litre (c/l).retail_price_rand(number): The official maximum retail price converted to Rand per litre (R/l).currency(string): AlwaysZAR.unit(string):c/lorR/l.
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
- 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.
- 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
- 93 Unleaded Petrol (ULP) & LRP: Regulated maximum retail price (primarily consumed inland).
- 95 Unleaded Petrol (ULP): Regulated maximum retail price (consumed nationally).
- Diesel 50ppm & 500ppm: Official wholesale price ceiling benchmark. Note: Retail diesel prices are unregulated at the pump, but commercial logistics contracts index directly against the official wholesale benchmark.
- Illuminating Paraffin & LPG: Official maximum wholesale and retail grid rates.
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
- Department of Mineral Resources and Energy (DMPR / DMRE): The primary official authority that calculates and gazettes final monthly fuel price adjustments.
- Central Energy Fund (CEF): Provides daily over-/under-recovery indicator updates based on International Product Prices and the ZAR/USD exchange rate.
- 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
- Monthly Adjustments: Official price changes take effect on the first Wednesday of every month at 00:01 South African Standard Time (SAST).
- API Ingestion Window: The API pipeline ingests, validates, and publishes verified figures as soon as the official DMPR schedule is gazetted—typically the Monday or Tuesday preceding the effective Wednesday.
- No Unverified Estimates: To protect enterprise accounting systems, the current fuel price API 2026endpoint only updates live endpoints with confirmed gazetted figures, preventing speculative daily indicator swings from corrupting financial databases.
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 Keys: Contact our developer relations team to obtain sandbox and production API authentication tokens.
- Sample Datasets: Download raw JSON and CSV sample outputs to test your parsing schema before committing to integration.
- Technical Documentation: Review complete endpoint parameters, status code dictionaries, and rate-limit guidelines in our developer portal.
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.