Query day-ahead half-hourly Agile Octopus dynamic unit rates from the Octopus Energy REST API

domain: docs.octopus.energy · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Query the product endpoint https://api.octopus.energy/v1/products/{agile-product-code}/ to confirm the product and find its associated tariff code (no authentication required)
  2. Query the corresponding standard-unit-rates endpoint for that tariff code, e.g. .../electricity-tariffs/{tariff_code}/standard-unit-rates/
  3. Always include period_from and period_to as UTC/Zulu-format datetimes (with a trailing Z) to scope the half-hourly rate window
  4. Account for the default page size of 100 and its maximum of 1,500 (roughly a month of half-hourly prices) when paginating longer ranges
  5. Time requests knowing day-ahead Agile prices are normally created by 4pm in the Europe/London timezone, so requesting 'tomorrow' earlier in the day may return no data yet

Known gotchas

Related routes

pull day-ahead hourly locational marginal prices for PJM pricing nodes via the PJM Data Miner 2 da_hrl_lmps feed
dataminer2.pjm.com · 6 steps · unrated
Retrieve UK energy tariff rates and consumption data from the Octopus Energy API
api.octopus.energy · 5 steps · unrated
Publish time-varying energy price schedules to DER clients using the IEEE 2030.5 pricing function set
sunspec.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans