Free JSON API for Octopus Agile-format rates across all GB regions. Ideal for battery storage systems, home automation, and energy optimisation.
Base URL: https://fprates.online
Returns D-1/D/D+1 half-hourly Agile-format slots for the specified region, ordered most recent first, in the industry-standard Octopus/Kraken tariff-rates format used by home-automation tools (e.g. predbat).
Example: /api/agile/G/standard-unit-rates/
{
"count": 140,
"next": null,
"previous": null,
"results": [
{
"value_exc_vat": 21.34,
"value_inc_vat": 22.407,
"valid_from": "2026-07-29T00:00:00Z",
"valid_to": "2026-07-29T00:30:00Z",
"payment_method": null,
"source": "Octopus"
},
...
]
}
Returns Agile-format half-hourly rates in chronological order — for pulling historical data into Excel or similar. With no parameters, returns today's slots (UK local day). Add start and end for a specific date range.
Parameters:
1 to return valid_from/valid_to as plain UK local time (no UTC/BST offset conversion needed on your end); omit for UTC (default)Examples:
/api/agile/G/rates/ — today, UTC
/api/agile/G/rates/?local=1 — today, UK local time
/api/agile/G/rates/?start=2026-07-01&end=2026-07-15 — date range, UTC
{
"count": 48,
"results": [
{
"valid_from": "2026-07-30T00:00:00Z",
"valid_to": "2026-07-30T00:30:00Z",
"value_exc_vat": 23.96,
"value_inc_vat": 25.158,
"source": "Octopus"
},
...
]
}
| Field | Type | Description |
|---|---|---|
| valid_from | string | Start time of the half-hour slot in UTC (ISO 8601) |
| valid_to | string | End time of the half-hour slot in UTC (ISO 8601) |
| value_exc_vat | float | Rate in pence per kWh, excluding VAT |
| value_inc_vat | float | Rate in pence per kWh, including VAT |
| source | string | Where this slot's rate came from — N2EX (early estimate, ~09:50), EPEX-30 (refined estimate, ~16:00), or Octopus (Octopus's own published Agile rate) |
| Code | Region |
|---|---|
| G | North West England |
| A | Eastern |
| B | East Midlands |
| C | London |
| D | Merseyside & North Wales |
| E | Midlands |
| F | Northern |
| H | Southern |
| J | South Eastern |
| K | South Wales |
| L | South Western |
| M | Yorkshire |
| N | South of Scotland |
| P | North of Scotland |
Data is updated automatically. Rates come from Octopus's own published Agile prices once available, and before that are estimated from Nord Pool N2EX and EPEX-30 wholesale day-ahead prices. This API is provided free of charge with no guarantees.
FPRates is an independent service and is not affiliated with, endorsed by, or connected to EDF Energy or Octopus Energy in any way.