Dashboard API

Market snapshot — current spot prices, CO₂ intensity, renewable forecast

Aggregates current day-ahead spot prices, CO₂ intensity (with forecast), and wind/solar generation forecast for the next 24 hours into a single response.

Fixed upstream parameters: market: day-ahead, today's date, forecastType: both.

Optional overrides:

  • ?location=Heidelberg overrides the CO₂ intensity location (default: Deutschland)
  • ?region=Bayern enables the ENTSO-E wind/solar forecast (region-specific); omit to skip — renewableForecast24h will be null when no region is given

Cache TTL: 15 minutes (key: location + region).

get/api/dashboard-api/market-snapshot

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/dashboard-api/market-snapshot
  • Auth: none declared

Query parameters

locationstring
Example:Heidelberg

Location for CO₂ intensity lookup (default: Deutschland)

regionstring
Example:Bayern

Region for ENTSO-E wind/solar generation forecast. When omitted, renewableForecast24h is null and the ENTSO-E call is skipped.

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.

Response

Current market snapshot

timestampstring date-time
_errorsstring[]

Example response

{
  "spotPrice": {
    "current": 45.2,
    "source": "netztransparenz"
  },
  "co2": {
    "current": 380,
    "location": "Deutschland"
  },
  "renewableForecast24h": {
    "solarPeakMW": 32500,
    "windPeakMW": 18200
  }
}

Changes

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