Overview
The pricing endpoints give you access to market price data, CO2 emissions calculations, local utility benchmarks, and a full tariff offer calculator for generating customer quotes. These are read-only endpoints and do not require a contract or user context. Base URL:https://api.lumenaza.de/ · Test URL: https://api.test.lumenaza.de/
EPEX Spot Day-Ahead Prices
GET /v3/prices/epex_day_ahead/
Returns EPEX Spot day-ahead auction prices for a given time window. Prices may be negative during periods of oversupply.Query Parameters
Response
An array of price intervals:Example: 24-Hour Window
CO2 Savings Calculation
GET /v3/prices/get_co2_savings/
Calculates the CO2 savings for a given consumption amount and year, based on the BDEW-published CO2 emission factor for the German electricity grid mix for that year.Query Parameters
Response
Example Request
Example Response
Local Incumbent Utility Price
GET /v3/prices/get_local_utility_price/
Returns the current (or historical) tariff price of the incumbent local utility for a given address and consumption. This can be used to benchmark your offering against the local basic supply tariff.Query Parameters
Response
Error: Ambiguous Address
If the provided address matches more than one location, the API returns a400 Bad Request response. Provide more specific address details (e.g., house_number) to resolve the ambiguity.
Example Request
Example Response
Offer Calculator
GET /v3/offer_calculator/
Generates a detailed customer-facing tariff quote. The required parameters vary depending on whether you are quoting a fixed-price consumer, spot-price consumer, or producer tariff.Common Required Parameter
Additional Parameters by Tariff Type
Fix price consumer tariff:
Spot price consumer tariff:
Producer tariff:
Response: TariffOutput
The response contains two sections: a per-line-item breakdown and total price summaries.offer_item_price_results — array of individual tariff components:
total_price_results — summary totals:
Ambiguous Address: 300 Response
If the address cannot be uniquely resolved, the API returns an HTTP300 Multiple Choices response. The body contains the submitted zipcode and a streets array of [street, city] pairs to choose from:

