DE

api.warp-charger.com

Public API used by WARP Chargers and Energy Managers to obtain day-ahead electricity prices, temperature and PV yield forecasts.

Endpoints

GET /v1/day_ahead_prices/<country>/<resolution>

Returns day-ahead electricity spot prices from the ENTSO-E Transparency Platform.

ParameterValuesDescription
countryde, lu, atBidding zone (DE/LU share a zone)
resolution15min, 60minPrice 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).

GET /v1/temperatures/<lat>/<lon>

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.

ParameterRangeDescription
lat-90 to 90Latitude (decimal degrees)
lon-180 to 180Longitude (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).

GET /v1/solar_forecast/<lat>/<lon>/<dec>/<az>/<wp> Testing

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.

ParameterRangeDescription
lat-90 to 90Latitude (decimal degrees)
lon-180 to 180Longitude (decimal degrees)
dec0 to 90Panel tilt (0° = horizontal, 90° = vertical)
az-180 to 180Azimuth (0° = south, -90° = east, 90° = west, ±180° = north)
wp>0Installed 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.

Errors

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