UK Agile Electricity Prices
Octopus Energy's half-hourly Agile electricity prices for each of the 14 UK regions, plus Agile Outgoing, Go, Cosy, Flux and Tracker rates: start and end of each period in UTC and UK time, price per kWh with and without VAT, product and tariff codes. Pick regions by letter or by postcode.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from api.octopus.energy/v1/products/
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/octopus-agile-prices/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"regions":["C"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
13 fields.
Basics
- Product code
Octopus product code, such as AGILE-24-10-01.
Example AGILE-24-10-01
- Tariff code
Octopus tariff code for the region, such as E-1R-AGILE-24-10-01-C.
Example E-1R-AGILE-24-10-01-C
- Tariff name
Name of the product, such as Agile Octopus.
Example Agile Octopus
- Export
True for export tariffs: prices paid to you for electricity sent to the grid.
Example No
- Duration (minutes)
Length of the period in minutes: 30 for Agile, longer for Go, Cosy, Flux and Tracker.
Example 30
Prices
- Price inc VAT p (kWh)
Price in pence per kWh including VAT.
Example 30.98
- Price exc VAT p (kWh)
Price in pence per kWh excluding VAT.
Example 30.98
Location
- Region
Region letter, A to P (C is London).
Example C
- Region name
Name of the region, such as London.
Example London
Dates
- Valid from at
Start of the price period, in UTC.
Example Dec 6, 2026
- Valid to at
End of the price period, in UTC; empty when the price has no end yet.
Example Dec 6, 2026
- UK date
The day the period starts, in UK time.
Example Dec 6, 2026
- UK time
The time the period starts in UK time (GMT or BST), as HH:MM.
Example 03:00
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
region | text | Region | 3 of 3 |
region_name | text | Region name | 3 of 3 |
product_code | text | Product code | 3 of 3 |
tariff_code | text | Tariff code | 3 of 3 |
tariff_name | text | Tariff name | 3 of 3 |
is_export | yes or no | Export | 3 of 3 |
valid_from_at | date and time | Valid from at | 3 of 3 |
valid_to_at | date and time | Valid to at | 3 of 3 |
uk_date | date | UK date | 3 of 3 |
uk_time | text | UK time | 3 of 3 |
duration_minutes | number | Duration (minutes) | 3 of 3 |
price_inc_vat_p_kwh | number | Price inc VAT p (kWh) | 3 of 3 |
price_exc_vat_p_kwh | number | Price exc VAT p (kWh) | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Product code | Tariff code | Tariff name | Export | Duration (minutes) | Price inc VAT p (kWh) | Price exc VAT p (kWh) | Region | Region name | Valid from at | Valid to at | UK date | UK time |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | AGILE-24-10-01 | E-1R-AGILE-24-10-01-C | Agile Octopus | No | 30 | 30.98 | 30.98 | C | London | Dec 6, 2026 | Dec 6, 2026 | Dec 6, 2026 | 03:00 |
| 2 | AGILE-24-10-01 | E-1R-AGILE-24-10-01-C | Agile Octopus | No | 30 | 30.41 | 30.41 | C | London | Dec 6, 2026 | Dec 6, 2026 | Dec 6, 2026 | 03:30 |
| 3 | AGILE-24-10-01 | E-1R-AGILE-24-10-01-C | Agile Octopus | No | 30 | 30.91 | 30.91 | C | London | Dec 6, 2026 | Dec 6, 2026 | Dec 6, 2026 | 04:00 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Prices are the unit rates Octopus Energy publishes for each region's tariff. The daily standing charge and account-specific offers are not included. Octopus Energy does not endorse this API.
- Agile prices for the next day (11 pm to 11 pm UK time) appear around 4 pm UK time; before that the latest price is for tonight. By default a run returns the current half-hour to 48 hours ahead. The first price is the one in effect at the start, so it can begin earlier.
- From 1 October 2026 Octopus publishes the same value with and without VAT; both prices are given exactly as published.
- The tariff option uses the product Octopus offered when the period starts. Tracker is not in Octopus's public list, so tracker uses the newest version this API knows (SILVER-26-04-01); give product_code for another version or product.
- Single-rate electricity tariffs only: Economy 7 day and night rates, gas, and the charging slots Intelligent Octopus Go gives each account are not included.
- When a product has separate prices for direct debit and other payment, the direct debit price is returned.
- Periods of up to 366 days and at most 20,000 prices per run; a year of half-hours for one region is about 17,500 prices.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.