Skip to main content
POST
Calculate savings

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"pln_1"

Body

application/json

The household to calculate the savings for

zip_code
string
required

ZIP code for the delivery address

Example:

"10115"

household
object
required

The household itself, before any of its assets.

assets
object

What the household owns. Presence is the signal: send the object and the household has that asset, leave it out and it has none. The optimization rate and the §14a EnWG eligibility on the response are derived from this mix, they cannot be requested.

current_tariff
object

What the household pays today, as their current bill prints it. Present compares the plan against it; absent compares against the market benchmark.

Response

The savings breakdown

object
enum<string>
required
Available options:
savings
savings
number
required

What the household saves on this plan, EUR gross, over the period resolution names. The sum of every component, and exactly cost.before - cost.after.

Example:

812.4

resolution
enum<string>
required

The period every amount covers. Savings are always stated per year: the §14a EnWG modules and the load-shifting credit are seasonal, so a twelfth of a year is not a twelfth of the saving.

Available options:
year
Example:

"year"

cost
object
required

The two bills the saving is the difference between, EUR gross per year, all-in: supplier base fee, grid and metering fees, levies, taxes and energy. Neither includes the imputed cost of self-generated solar or feed-in revenue, so this is what gets invoiced. before is the market benchmark, or the current_tariff that was sent.

usage
object
required
optimization_rate
number
required

The share of the day-ahead price this asset mix is expected to shift, 0 to 1. A property of the mix rather than of the total, so it holds when the consumption is edited.

Example:

0.18

grid_fee_reductions
object
required

The §14a EnWG grid fee reductions this household is quoted with. Derived from its assets, from what the plan sells, and from what the grid operator publishes; they cannot be requested.

components
object[]
required

Where the saving comes from, in the order it stacks up: tariff compares the plan against the comparison tariff before §14a EnWG and before optimization, grid_fee_reductions is what the modules deduct on top of that, and optimization is what load shifting adds again. Each line compares against what the ones before it left off, so the amounts are strictly additive and sum to savings.

Example: