DE

api.warp-charger.com

Public API used by WARP Chargers and Energy Managers to obtain day-ahead electricity prices and temperature 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).

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