AfroFuel API
Fuel prices (petrol, diesel, kerosene, LPG) for all 54 African countries. Updated weekly from national petroleum regulators.
Overview
The AfroFuel API provides current and historical fuel prices across Africa. Data is sourced directly from national petroleum pricing agencies and updated weekly (or whenever governments adjust prices).
Fuel Types Covered
- PMS (Petrol) — Premium Motor Spirit / Gasoline
- AGO (Diesel) — Automotive Gas Oil
- DPK (Kerosene) — Dual Purpose Kerosene
- LPG — Liquefied Petroleum Gas (cooking gas)
Endpoints
Base URL
https://afrotools.com/api/fuel
Quick Example
# Get Nigerian fuel prices
curl "https://afrotools.com/api/fuel?country=NG" \
-H "x-api-key: afro_test_abc123"
Example Response
{
"success": true,
"data": {
"country": "NG",
"country_name": "Nigeria",
"currency": "NGN",
"fuels": {
"petrol": {
"price": 897.00,
"unit": "litre",
"change": 0
},
"diesel": {
"price": 1420.00,
"unit": "litre",
"change": -30.00
},
"kerosene": {
"price": 1250.00,
"unit": "litre",
"change": 0
},
"lpg": {
"price": 1150.00,
"unit": "kg",
"change": 50.00
}
},
"updated": "2026-03-10"
}
}