FPRates Agile API

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


Endpoints

GET /api/agile/<region>/standard-unit-rates/

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"
    },
    ...
  ]
}

GET /api/agile/<region>/rates/

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:

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"
    },
    ...
  ]
}

Response Fields

FieldTypeDescription
valid_fromstringStart time of the half-hour slot in UTC (ISO 8601)
valid_tostringEnd time of the half-hour slot in UTC (ISO 8601)
value_exc_vatfloatRate in pence per kWh, excluding VAT
value_inc_vatfloatRate in pence per kWh, including VAT
sourcestringWhere 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)

Regions

CodeRegion
GNorth West England
AEastern
BEast Midlands
CLondon
DMerseyside & North Wales
EMidlands
FNorthern
HSouthern
JSouth Eastern
KSouth Wales
LSouth Western
MYorkshire
NSouth of Scotland
PNorth 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.

100% score in internet.nl website test 100% score in internet.nl email test