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
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)
Query the corresponding standard-unit-rates endpoint for that tariff code, e.g. .../electricity-tariffs/{tariff_code}/standard-unit-rates/
Always include period_from and period_to as UTC/Zulu-format datetimes (with a trailing Z) to scope the half-hourly rate window
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
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
Agile day-ahead rates are typically not available until around 4pm Europe/London; querying too early for the next day returns nothing
Agile Octopus unit rates are capped (100p/kWh including VAT per the product's published terms); do not assume prices are unbounded even though they track wholesale pricing
period_from/period_to must be supplied in UTC/Zulu format with a trailing Z; omitting them or using local time causes mismatched results
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?