Get tariff rates or standing charges
get_tariff_ratesRetrieve unit rates or standing charges for a specified Octopus Energy tariff, including half-hourly Agile prices, and filter results by date period.
Instructions
Get unit rates or standing charges for a tariff, e.g. half-hourly Agile prices. Public. Prices are in pence, with value_exc_vat and value_inc_vat. Use day-unit-rates / night-unit-rates only for Economy 7 (E-2R-...) tariffs. Results are newest first. Narrow with period_from / period_to.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_code": "<product_code>",
"tariff_code": "<tariff_code>",
"fuel": "<fuel>",
"rate_type": "<rate_type>"
},
"name": "get_tariff_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fuel | Yes | ||
| page | No | Page number for paginated results (use next_page from the previous call). | |
| page_size | No | Results per page (default 100, max 1500). | |
| period_to | No | ISO 8601 datetime, ideally with a Z or offset, e.g. 2026-01-01T00:00:00Z. Without a timezone, Europe/London is assumed. | |
| rate_type | Yes | ||
| period_from | No | ISO 8601 datetime, ideally with a Z or offset, e.g. 2026-01-01T00:00:00Z. Without a timezone, Europe/London is assumed. | |
| tariff_code | Yes | e.g. E-1R-AGILE-FLEX-22-11-25-C | |
| product_code | Yes | e.g. AGILE-FLEX-22-11-25 |