# Energy & fuel

Pump prices and the power system, plant by plant. 11 series from **PSO** and **NEPRA**.

| | |
|---|---|
| Module | `energy` |
| Frequency | At each price change (fuel), monthly (generation) |
| Endpoint | [`/v1/series/{id}`](https://pakdatahub.com/docs/api-series.md) |

## Fuel prices (PSO, Rs per litre)

Every price notice in Pakistan State Oil's POL archive, May 2006 onward. Each value is the price **effective from its date until the next observation**. PSO now posts a notice most weekdays; we check twice a day.

| Id | What it is | History |
|---|---|---|
| `energy.fuel.petrol` | Petrol (motor spirit; PSO's "Premier Euro 5") | 2006 -> |
| `energy.fuel.diesel` | High-speed diesel (PSO's "Hi-Cetane Diesel Euro 5") | 2006 -> |
| `energy.fuel.kerosene` | Kerosene oil (SKO) | 2006 -> |
| `energy.fuel.ldo` | Light diesel oil | 2006 -> |
| `energy.fuel.jp1` | Jet fuel (JP-1) | 2006 -> |
| `energy.fuel.e10` | E10 gasoline (discontinued) | 2010 -> 2022 |

PSO's archive has a few clerical slips. A notice dated out of the archive's own order (e.g. a "1 January 2006" placeholder between two 2011 notices) or a price more than 3 times away from both neighbouring notices (one petrol price of 2,222 between two of 64.27) is left out, not guessed at: ten notices and five single prices out of about 2,000.

## Power generation (NEPRA, monthly)

From NEPRA's State of Industry Report data: every power plant NEPRA lists (108 to 134 a year: WAPDA hydel, IPPs, nuclear, wind, solar and bagasse), FY2017-18 onward.

| Id | What it is | Dims |
|---|---|---|
| `energy.generation.plant` | Energy generated, GWh per month | `plant` |
| `energy.utilization.plant` | Utilization, % of dependable capacity | `plant` |
| `energy.capacity.installed` | Installed capacity, MW (at fiscal-year end) | `plant`, `technology`, `fuel` |
| `energy.capacity.dependable` | Dependable capacity, MW | `plant`, `technology`, `fuel` |
| `energy.generation.by_source` | Generation summed by NEPRA's technology class | `source`: hydel, thermal (oil, gas, RLNG), coal, nuclear, wind, solar, bagasse |

A plant renamed between years ("... Ltd." -> "... (Pvt.) Limited") keeps one series under its latest name. NEPRA publishes a new fiscal year once a year.

```bash
curl -H "X-API-Key: pk_live_xxx" \
  "https://api.pakdatahub.com/v1/series/energy.fuel.petrol?from=2022-01-01&sort=asc"
curl -H "X-API-Key: pk_live_xxx" \
  "https://api.pakdatahub.com/v1/series/energy.generation.plant?dims=plant:Tarbela%20Hydropower%20Project%20(WAPDA)"
curl -H "X-API-Key: pk_live_xxx" \
  "https://api.pakdatahub.com/v1/series/energy.generation.by_source?dims=source:solar"
```

Related: retail petrol and diesel in the weekly SPI ([Commodity prices](https://pakdatahub.com/docs/data-commodities.md)), and the SBP's petroleum import bill ([External sector](https://pakdatahub.com/docs/data-external.md)).

---
Source: https://pakdatahub.com/docs/data-energy - PakDataHub docs index: https://pakdatahub.com/docs/llms.txt
