DataSources
Analytics

Join metering datasource with market spot prices and calculate costs

post/api/in-memory-join/metering-spot-cost

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/in-memory-join/metering-spot-cost
  • Auth: none declared

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

sourceIdstring required
datestring date
startDatestring date
endDatestring date
aggregateBy'interval' | 'hourly' | 'daily'
tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Example request

{
  "sourceId": "fe55ec97-ada3-4272-9e2e-3f494a74f33a",
  "date": "2026-03-10",
  "startDate": "2026-03-10",
  "endDate": "2026-03-10",
  "aggregateBy": "hourly"
}

Response

Successful response

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.