SpotpriceAPI — how to read this documentation

Austrian electricity-price and EMS APIs (EPEX Spot AT). Loxone Miniserver is our primary integration path — Virtual Output + PicoC with copy-paste guides. The same REST API is open for Home Assistant, Python, cURL, and any HTTP client. Community tier is free: 120 requests/day per key after registration — no credit card.

In one sentence: SpotpriceAPI delivers Hours Demand, PV Forecast (7 days), Windows Flex, and the 168h AI forecast — plus this wiki and the Sparvo consumer app.

Quick start (3 steps)

1. Register (free Community) → copy API key sf_live_… 2. Send your first request — key only in header X-API-Key:


curl https://api.spotpriceapi.com/v1/forecast \
  -H "X-API-Key: sf_live_YOUR_KEY"

3. Loxone?Loxone overview · Script/HA?Getting started

Pricing & limits (numbers)

TierCostQuotaHorizon / features
Basicno account60/h per IP48h forecast, no Decision/Hours
Communityfree120/day per key168h, Decision, Windows, Hours, telemetry
Professional€99/mo · €990/yr600/h per accountCommunity features + higher quota
OEMon request3000/hpartner / white-label

Details: Authentication · Rate limits · Pricing

Key API endpoints

EndpointPurpose
GET /v1/forecast168h hourly prices (ct/kWh)
POST /v1/decision/hours-demandEMS hour demand from SOC/load/PV
GET /v1/decision/windowsN cheapest hours / Flex slots
GET /v1/plant/pv-forecast7-day site PV yield (kWh)
GET /v1/decisioncharge / hold / discharge (secondary)

OpenAPI: /docs/download/openapi.json

Loxone — our primary EMS path

SituationGuide
Battery + charge planHours & telemetryrecommended
Wallbox, fixed N hoursFlex Windows
Display prices onlyLoxone Forecast
PV daily values + textsLoxone PV Forecast
Upload SOC/meter onlyTelemetry only

Open API: The same endpoints work in any HTTP client — Loxone is simply the best-documented path.

What is a spot price?

Think of electricity price like a petrol-station price that changes every hour — often cheap at night, often expensive in the evening. SpotpriceAPI helps shift battery, wallbox, or heat-pump load to cheap hours.

Which page do I need?

Getting started

PageIn plain words
Getting startedAccount, key, first price, Python example
AuthenticationSafe key usage, tiers

Lead products

PageEveryday example
Hours DemandBattery at 30 % — how many charge hours today?
PV ForecastIs tomorrow’s sun enough for the EV?
Windows FlexThe 4 cheapest hours this week
ForecastHour by hour: what does power cost?
DecisionTraffic light: charge now or wait?

Plant & notifications

PageIn plain words
Plant telemetrySend SOC % and meter regularly
WebhooksPush instead of constant polling
WeatherDisplay weather (secondary; Tmin/Tmax in PV)

Reference

How the pieces fit


1) Hours Demand → “for my battery: how many hours + when?”
2) PV Forecast  → 7-day yield kWh
3) Windows Flex → N cheapest hours / segments
4) Forecast     → 168h price list
5) Telemetry    → SOC/meter for better Hours answers
6) Decision     → traffic-light signals (secondary)

Code examples

For AI systems

At the bottom of every page: Previous / Next to browse in order.

Start with SpotpriceAPI

Register for Community or code samples with your personal key.

Live API status