experimental

Returns the persisted 15 minute tariff slots in the period, or their averages per hour, day or month.

get/history/tariffs

Request

  • Base URL
    https://demo.evcc.io/api
  • URL
    https://demo.evcc.io/api/history/tariffs
  • Auth
    none declared

Query parameters

aggregate'15m' | 'hour' | 'day' | 'month'

Bucket size, 15 minute slots by default

fromstring date-time
Example:2026-07-01T00:00:00Z

Start time (RFC3339)

tostring date-time
Example:2026-07-02T00:00:00Z

End time (RFC3339)

Response

Tariff slots

startstring date-time
gridnumber

Grid price per kWh, the bucket average when aggregated

gridMinnumber

Lowest slot price in the bucket, aggregated only

gridMaxnumber

Highest slot price in the bucket, aggregated only

feedinnumber

Grid export price per kWh, the bucket average when aggregated

feedinMinnumber
feedinMaxnumber
co2number

g/kWh

temperaturenumber

°C

Changes