Free JSON API for EDF FreePhase Dynamic predicted rates across all GB regions. Updated daily. Ideal for battery storage systems, home automation, and energy optimisation.
Base URL: https://fprates.online
Returns the current 48 half-hourly slots for the specified region, ordered most recent first.
Example: /api/rates/G
[
{
"slot_time_utc": "2026-06-13T22:00:00Z",
"fp_rate": 0.6699,
"cost_price": 0.6699,
"period_class": "table-warning",
"source": "edf"
},
...
]
Returns the cheapest N slots of the day, sorted by price ascending. Free (0p) slots always appear first. Ideal for scheduling battery charging.
Parameter: slots — number of half-hour slots to return (default: 8 = 4 hours)
Example: /api/rates/G/best?slots=8
[
{
"slot_time_utc": "2026-06-13T11:00:00Z",
"fp_rate": 0.0,
"cost_price": 0.0,
"period_class": "table-warning",
"source": "edf"
},
...
]
Returns all stored half-hourly slots for a specific date, ordered chronologically.
Parameter: date — date in YYYY-MM-DD format (required)
Example: /api/rates/G/history?date=2026-06-12
[
{
"slot_time_utc": "2026-06-12T00:00:00Z",
"fp_rate": 7.53,
"cost_price": 7.53,
"period_class": "table-success",
"source": "edf"
},
...
]
Downloads a CSV file of all stored half-hourly slots for a specific date.
Parameter: date — date in YYYY-MM-DD format (required)
| Field | Type | Description |
|---|---|---|
| slot_time_utc | string | Start time of the half-hour slot in UTC (ISO 8601) |
| fp_rate | float | Predicted EDF FreePhase rate in pence per kWh (inc. VAT) |
| cost_price | float | Underlying wholesale cost price in pence per kWh |
| period_class | string | Time band — see below |
| source | string | Data source used: edf, elexon, or agile |
| period_class | Band | BST Hours |
|---|---|---|
| table-success | 🟢 Green | 23:00 – 06:00 |
| table-amber | 🟡 Amber | 06:00 – 16:00 and 19:00 – 23:00 |
| table-danger | 🔴 Red | 16:00 – 19:00 |
| Source | Description |
|---|---|
edf | Live rates direct from EDF Kraken API — most accurate |
elexon | Derived from Elexon wholesale market prices with EUR/GBP conversion |
agile | Estimated from Octopus Agile rates using regional multipliers — least accurate |
| 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 daily. Rates are predictions based on wholesale prices and may differ slightly from your actual EDF bill. 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 in any way. EDF and FreePhase are trademarks of EDF Energy.