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.

Try it
Ready-made, maintained by usRecords, 13 fieldsv1.0

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

Regionsoptional
Region letters: A East England, B East Midlands, C London, D Merseyside and N Wales, E West Midlands, F North East, G North West, H Southern, J South East, K South Wales, L South West, M Yorkshire, N South Scotland, P North Scotland. Default: all. One per line, or separated by commas.
Postcodeoptional
A UK postcode, such as SW1A 1AA. Its region is found and added to regions.
Example: SW1A 1AA
Tariffoptional
agile (half-hourly import prices), agile_outgoing (half-hourly export prices), go (cheap night window), cosy (heat pump windows), flux_import or flux_export (solar and battery) or tracker (one price a day).
Product codeoptional
An Octopus product code to use instead of tariff, such as AGILE-24-10-01, or SILVER-25-09-02 for an older Tracker version.
Example: AGILE-24-10-01
Period fromoptional
Start, as an ISO date and time such as 2026-12-06T00:00:00Z, or a day such as 2026-12-06 (midnight UK time). Default: the current half-hour.
Example: 2026-12-06T00:00:00Z
Period tooptional
End (not included), in the same forms, at most 366 days after the start. Default: 48 hours after the start.
Example: 2026-12-07T00:00:00Z

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
Endpoint
POSThttps://pullrow.dev/v1/apis/octopus-agile-prices/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

regionslist
Region letters: A East England, B East Midlands, C London, D Merseyside and N Wales, E West Midlands, F North East, G North West, H Southern, J South East, K South Wales, L South West, M Yorkshire, N South Scotland, P North Scotland. Default: all.
example: Cone of: A, B, C, D, E, F, G, H, J, K, L, M, N, P
postcodetext
A UK postcode, such as SW1A 1AA. Its region is found and added to regions.
example: SW1A 1AA
tarifftext
agile (half-hourly import prices), agile_outgoing (half-hourly export prices), go (cheap night window), cosy (heat pump windows), flux_import or flux_export (solar and battery) or tracker (one price a day).
default: agileexample: agileone of: agile, agile_outgoing, go, cosy, flux_import, flux_export, tracker
product_codetext
An Octopus product code to use instead of tariff, such as AGILE-24-10-01, or SILVER-25-09-02 for an older Tracker version.
example: AGILE-24-10-01
period_fromtext
Start, as an ISO date and time such as 2026-12-06T00:00:00Z, or a day such as 2026-12-06 (midnight UK time). Default: the current half-hour.
example: 2026-12-06T00:00:00Z
period_totext
End (not included), in the same forms, at most 366 days after the start. Default: 48 hours after the start.
example: 2026-12-07T00:00:00Z

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 nameTypeShown on this page asFilled
regiontextRegion3 of 3
region_nametextRegion name3 of 3
product_codetextProduct code3 of 3
tariff_codetextTariff code3 of 3
tariff_nametextTariff name3 of 3
is_exportyes or noExport3 of 3
valid_from_atdate and timeValid from at3 of 3
valid_to_atdate and timeValid to at3 of 3
uk_datedateUK date3 of 3
uk_timetextUK time3 of 3
duration_minutesnumberDuration (minutes)3 of 3
price_inc_vat_p_kwhnumberPrice inc VAT p (kWh)3 of 3
price_exc_vat_p_kwhnumberPrice 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.

Sample records

Sample records
RecordProduct codeTariff codeTariff nameExportDuration (minutes)Price inc VAT p (kWh)Price exc VAT p (kWh)RegionRegion nameValid from atValid to atUK dateUK time
1AGILE-24-10-01E-1R-AGILE-24-10-01-CAgile OctopusNo3030.9830.98CLondonDec 6, 2026Dec 6, 2026Dec 6, 202603:00
2AGILE-24-10-01E-1R-AGILE-24-10-01-CAgile OctopusNo3030.4130.41CLondonDec 6, 2026Dec 6, 2026Dec 6, 202603:30
3AGILE-24-10-01E-1R-AGILE-24-10-01-CAgile OctopusNo3030.9130.91CLondonDec 6, 2026Dec 6, 2026Dec 6, 202604: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.
Known limits
  • 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.