Public API used by WARP Chargers and Energy Managers to obtain day-ahead electricity prices, temperature and PV yield forecasts.
Returns day-ahead electricity spot prices from the ENTSO-E Transparency Platform.
| Parameter | Values | Description |
|---|---|---|
| country | de, lu, at | Bidding zone (DE/LU share a zone) |
| resolution | 15min, 60min | Price interval granularity |
Example
curl https://api.warp-charger.com/v1/day_ahead_prices/de/15min
Response
{
"first_date": 1771455600, // start timestamp (UTC)
"prices": [8780, 8330, ...], // centicent/MWh (1/100 ct/kWh = price * 0.00001 EUR/kWh)
"next_date": 1771590600 // when to fetch again (UTC)
}
Prices are integers in centicent per MWh. To convert to EUR/kWh: multiply by 0.00001. Data typically covers today plus the next day (available after ~13:00 CET).
Returns hourly temperature forecast covering today and tomorrow (DWD ICON model via Open-Meteo). Data is aligned to local midnight of the geographic timezone derived from the coordinates.
| Parameter | Range | Description |
|---|---|---|
| lat | -90 to 90 | Latitude (decimal degrees) |
| lon | -180 to 180 | Longitude (decimal degrees) |
Example
curl https://api.warp-charger.com/v1/temperatures/51.93/8.63
Response
{
"first_date": 1771369200, // UTC timestamp of local midnight today
"temperatures": [82, 79, 76, ...] // 47–49 values in 10ths of °C
}
Temperatures are integers in 10ths of a degree Celsius (e.g. 123 = 12.3 °C). The temperatures array contains 47–49 values (one per hour, covering today + tomorrow). Array size varies due to DST transitions: 47 (spring forward), 48 (normal), or 49 (fall back).
Note: This endpoint is currently for testing only and may change or be unavailable. Do not rely on it in production yet.
Returns an hourly PV yield forecast covering today and tomorrow. Data is aligned to local midnight of the geographic timezone derived from the coordinates.
| Parameter | Range | Description |
|---|---|---|
| lat | -90 to 90 | Latitude (decimal degrees) |
| lon | -180 to 180 | Longitude (decimal degrees) |
| dec | 0 to 90 | Panel tilt (0° = horizontal, 90° = vertical) |
| az | -180 to 180 | Azimuth (0° = south, -90° = east, 90° = west, ±180° = north) |
| wp | >0 | Installed peak power in watt-peak |
Example
curl https://api.warp-charger.com/v1/solar_forecast/51.93/8.63/30/0/9750
Response
{
"first_date": 1771369200, // UTC timestamp of local midnight today
"resolution": 60, // Resolution in minutes (always 60)
"forecast": [0, 0, 145, ...] // Wh per hour (today + tomorrow)
}
Yield is returned as integers in watt-hours per hour. The forecast array contains up to 48 values (one per hour, covering today + tomorrow). A forecast.solar-compatible endpoint /estimate/<lat>/<lon>/<dec>/<az>/<kWp> is also available for existing firmware.
All errors are returned as JSON with an error field and an appropriate HTTP status code.
{"error": "Data not found"} // 404
{"error": "Country not supported"} // 400