# Electricity distribution companies and tariffs

## `GET /v1/energy/discos` (key required)

Every electricity distribution company and every `energy.disco.*` figure for it in one call: the annual figures (losses, recovery, SAIFI, SAIDI, load shedding, complaints, fatal accidents, fault rate, ...) and the monthly ones from July 2024. Monthly series with a breakdown carry their totals here (`sector`, `debtor` or `category` = `total`); the breakdowns are in [`/v1/series/{id}`](https://pakdatahub.com/docs/api-series.md). The series and their definitions are in [Electricity distribution companies](https://pakdatahub.com/docs/data-electricity-distribution.md).

```bash
curl -H "X-API-Key: pk_live_xxx" "https://api.pakdatahub.com/v1/energy/discos"
```

```json
{ "success": true, "source": "NEPRA", "data": {
  "discos": [ { "code": "PESCO", "name": "Peshawar Electric Supply Company", "short": "Peshawar",
                "area": "Khyber Pakhtunkhwa except the former tribal areas", "province": "Khyber Pakhtunkhwa",
                "slug": "pesco" } ],
  "series": [ { "id": "energy.disco.td_losses", "name": "Transmission and distribution losses by distribution company",
                "unit": "percent", "frequency": "annual" } ],
  "annual": { "energy.disco.td_losses": [ { "date": "2025-06-30", "disco": "PESCO", "value": 37.15 } ] },
  "monthly": { "energy.disco.td_losses_monthly": [ { "date": "2024-07-31", "disco": "PESCO", "value": 45.21 } ] },
  "latest_fy_end": "2025-06-30" } }
```

| Field | Meaning |
|---|---|
| `discos` | The companies with figures: `code` (the `disco` dimension of every series), full `name`, `short` name, `area` served, `province` |
| `series` | Every `energy.disco.*` series: id, name, unit and frequency |
| `annual` | Series id -> points `{date, disco, value}`; `date` is the fiscal year's last day (30 June) |
| `monthly` | Series id -> points; `date` is the month's (or quarter's) last day |
| `latest_fy_end` | The newest fiscal year with figures |

Free accounts see the last 5 years, as on every endpoint ([Plans & limits](https://pakdatahub.com/docs/plans-credits.md)).

## `GET /v1/energy/tariffs` (key required)

Each distribution company's schedule of electricity tariffs in force on a date: every tariff class, slab and time-of-use band with its fixed charges and its rate per unit. With `disco`, one company, and every schedule it has had with its rows. The tariff classes and how to read them are in [Electricity distribution companies](https://pakdatahub.com/docs/data-electricity-distribution.md#electricity-tariffs).

| Parameter | Meaning |
|---|---|
| `disco` | Optional. A company code (`IESCO`, `LESCO`, `K-Electric`, ...; case-insensitive) |
| `date` | Optional. `YYYY-MM-DD`; the schedule in force on that day. Default: today |

```bash
curl -H "X-API-Key: pk_live_xxx" "https://api.pakdatahub.com/v1/energy/tariffs?disco=LESCO"
```

```json
{ "success": true, "source": "NEPRA", "data": {
  "date": "2026-11-28",
  "discos": [ { "code": "LESCO", "name": "Lahore Electric Supply Company", "short": "Lahore", "area": "...",
                "province": "Punjab", "slug": "lesco" } ],
  "classes": [ { "code": "A-1", "name": "Residential", "group": "Residential", "order": 10 } ],
  "schedules": [ { "disco": "LESCO",
      "notification": { "id": "sro-279-2026", "kind": "schedule", "sro": "279(I)/2026", "notified_on": "2026-02-12",
                        "effective_from": "2026-02-12", "title": "...", "url": "https://nepra.org.pk/...", "amends": ["sro-46-2026"] },
      "notes": [ "Only protected residential consumers get the benefit of one previous slab; ..." ],
      "rows": [ { "item": "A-1:unprotected:301-400", "tou": "", "class": "A-1", "name": "Unprotected, 301-400 units",
                  "label": "301 - 400 Units", "group": "unprotected", "slab_from": 301, "slab_to": 400, "prepaid": false,
                  "fixed_per_consumer": null, "fixed_per_kw": 400.0, "variable": 36.46, "determined": 34.03, "line": 8 } ] } ],
  "revisions": [ { "disco": "LESCO", "notification": { "id": "sro-279-2026", "...": "..." }, "in_force_until": null,
                   "notes": [ "..." ], "rows": [ "..." ] },
                 { "disco": "LESCO", "notification": { "id": "sro-46-2026", "...": "..." }, "in_force_until": "2026-02-12",
                   "notes": [ "..." ], "rows": [ "..." ] } ],
  "documents": [ { "id": "sro-46-2026", "kind": "schedule", "sro": "46(I)/2026", "listed_on": "2026-01-13",
                   "title": "Notification S.R.O No. 46(I)/2026 LESCO", "url": "https://nepra.org.pk/...",
                   "discos": ["LESCO"], "has_schedule": true, "...": "..." } ] } }
```

| Field | Meaning |
|---|---|
| `discos` | Every company with a tariff schedule |
| `classes` | The tariff classes: `code` (A-1 residential, A-2 commercial, A-3 general services, B-1 ... B-5 industrial, C-1 ... C-3 bulk supply, D-1 / D-2 agriculture, E-1 / E-2 temporary, G public lighting, H residential colonies, I railway traction, J-1 ... J-3 and K-1 / K-2 special contracts; `-P` = prepaid), readable `name`, the `group` it is listed under |
| `schedules` | Per company, the schedule in force on `date`: the `notification` that put it in force (with a link to the publisher's document), its `notes` (conditions printed with it: minimum charges, the slab rule, how fixed charges are billed) and its `rows` |
| `rows[]` | One per tariff item and time-of-use band: `item` (stable across schedules), `tou` (`""`, `peak`, `off_peak`), `name`, the printed `label`, residential `group` (`lifeline`, `protected`, `unprotected`) and `slab_from` / `slab_to` (units a month; `slab_to` null = and above), `fixed_per_consumer` (Rs per consumer a month), `fixed_per_kw` (Rs per kW a month), `variable` (Rs per unit, the rate billed), `determined` (NEPRA's determined rate printed with the schedule, where it is), `line` (print order) |
| `revisions` | Every schedule the company (or each company, without `disco`) has had, newest first, with the day it stopped being in force (`in_force_until`); with `disco`, each carries its `rows` and `notes` |
| `documents` | NEPRA's tariff notifications, decisions and determinations for the company (or all companies), newest first, with links to the publisher's documents; `has_schedule` is true where the schedule's rows are in `revisions`. A notification whose rates change on a later date has one document per step, `id` `<notification>@<YYYY-MM>`, titled with the step's date |

A time-of-use item's fixed charge is repeated on its peak and off-peak rows; it is charged once. Rates exclude the monthly fuel charges adjustment, quarterly adjustments, taxes, duties and surcharges. Free accounts see schedules in force in the last 5 years.

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