Your application needs
role:application, role:customer-support or role: finance-reporting scope to access contract information.Contract information
You can use the list contracts endpoint to retrieve all contracts related to a particular user account.Contract state
The returns acontractState parameter that represents the contract lifecycle:
| Contract state | Description |
|---|---|
PendingDelivery | The contract confirmation has been sent to the customer, including a date for start of delivery, but delivery has not started yet. |
Delivery | The supply contract is active and RABOT is delivering energy to the delivery location |
Cancelled | A contract termination has been received and an end of delivery date has been set. This could either be due to a customer actively sending a termination request, or because a customer has chosen a new supplier, and the supplier has communicated the termination request via the market communication processes. |
Revoked | The customer has revoked the order |
Unspecified | An unknown state, indicating an error in the communcation with other market actors |
Cancelled, you should additionally check the endDateOfDelivery parameter to see if the the contract has expired (i.e. reached end date) or if the contract is still active (if the contract end date has not been reached yet).
Smart Meter Gateway / iMSys information
To determine if a given contract is enabled for dynamic price billing, and real energy consumption is available in 15 minute resolution, you can use theaccountingMethod information provided by the API.
Note that the API returns the information as reported to us by the grid operator (Verteilnetzbetreiber). If a customer has installed an iMSys, the Meter Operator (Messtellenbetreiber) will notify the grid operator within 10 working days. Once the grid operator is notified, then an automatic changeover to TAF7 consumption data measurement takes place.Once the grid operator notifies RABOT of the changeover to TAF7 consumption data transmission, RABOT’s billing logic automatically switches to this billing method.
| Billing method | Description |
|---|---|
SLP | The delivery location is not equipped with a Smart Meter (IMSys). Billing of consumed energy is based on standard load profiles |
IMSys (SLP) | The delivery location is equipped with a Smart Meter (IMSys), but metering operator and/or grid operator are not yet providing data in 15 minute resolution. This can be the case shortly after the installation of the Smart Meter. Billing of consumed energy is based on standard load profiles |
IMSys (TAF7) | The delivery location is equipped with a Smart Meter, and consumption reporting is available in 15 minutes resolution. |
§ 14a Module Information
If a customer has successfully registered for a module under the § 14a regulations pertaining to dynamic grid fees, we provide this information under the paragraph14AInfo.| Module | Description |
|---|---|
Module 1 | A flat, predefined reduction of grid fees granted in exchange for allowing the grid operator to temporarily control the device. |
Module 2 | A grid fee reduction based on the agreed controllable power level of the device, linking flexibility directly to capacity. |
Module 3 | Time-dependent grid fees that incentivise shifting consumption to grid-friendly periods. |
Contract metrics
The contract metrics endpoint provides access to pricing and consumption information related to a specific contract. This can be actual recorded data (e.g. consumption values as reported by a Smart Meter) or forecasted data (e.g. consumption data for SLP customers, or day-ahead price energy pricing).Your application needs
role:application scope to access contract metrics.MetricType
You can select the type of information that you want to retrieve by specifying the appropriateMetricType:
| MetricType | Description |
|---|---|
Consumption | The energy consumed during the selected period (in kWh). Can be either measured or estimated. |
WorkingPrice | The estimated average working price (ct/kWh) in the selected period, including all fees and taxes. |
TotalCost | The total energy cost in the selected period, including all fees and taxes. If the selected period is smaller than a month, the applicable monthly fees will be pro-rated to the period. |
Saving | The monetary savings (in EUR) in the selected period, compared to the local default supplier’s tariff pricing. |
Co2Saving | The savings in carbon emissions, commpared to the german energy grid mix. |
Note that for
WorkingPrice and TotalCost metrics, the values returned by this API endpoint might not match the amounts reflected on the customer’s invoice.This is due to the fact that certain price conditions or discounts are only applied during the monthly billing process. For example a working price cap is only applied when the monthly settlement is created, which may result ina lower effective price than the average WorkingPrice returned by the API.ValueType
You can use theValueType request parameter to define if you want to only receive recorded data or forecasted data, or both:
| ValueType | Description |
|---|---|
Actual | return only data based on measurements, e.g. energy consumption reported by the DSO |
Forecast | return only data based on estimations, e.g. consumption estimated based on standard load profiles (SLP), not confirmed by actual meter reading yet |
Dynamic | return either actual or forecasted data for the whole period, but not mixed |
Combined | return either actual or forecasted data. E.g. when querying data for a month on daily level, for some days the API might returned actual data, while for other days might return forecasted data, based on data availability |
Periods and Intervals
The API allows to retrieve data in different granularity, from to 15 minute intervals, up to aggregation on monthly or yearly level. Use theinterval parameter to select the aggregation level. To limit the size of the result set, depending on the selected interval, you can only query a limited time period:
| interval | maximum period |
|---|---|
QuarterHourly | 3 days |
Hourly | 5 days |
Daily | 2 months |
Weekly | 1 year |
Monthly | 15 years |
Yearly | 50 years |
HTTP 400 error.
Forecasted data availability
Via the contract metrics endpoint, you can retrieve both recorded data as well as forecasted data, i.e. data for future time periods. Forecasted data is only available for a limited number of day into the future, and generated as part of a scheduled data processing in the Rabot platform:| MetricType | generated | coverage |
|---|---|---|
Consumption | before 00:00 every day | next 7 days |
WorkingPrice | before 00:00 every day | current day |
TotalCost | before 00:00 every day | current day |
Saving | before 00:00 every day | current day |
Co2Saving | before 00:00 every day | next 7 days |
WorkingPrice data for today + 3 days), the API will return an empty data set.
Example - 15-min consumption for Smart Meter
For contracts that are linked to a Smart Meter, the RABOT platform typically receives the measured consumption values in 15 minutes intervals on the following day. You can use the API to retrieve this information e.g. to display a detailed consumption graph to the user.Request
Response
Example - Daily energy cost
You can easily retrieve the daily energy cost for any contract using the metrics API endpoint:Request
Response
Example - Day-Ahead Working Price
The metrics endpoint can also be used to get the future energy cost based on the Day Ahead market prices, and including all other fixed and variable fees and taxes.Request
Response
This data is available in the TEST environment at 6pm CET and in the PROD environment at midnight (12am) CET for Day-Ahead values.
Contract documents
The API also provides access to relevant contract-related documents, such as the prepayment and settlement invoices, so that your application can present these documents to the customer to review or download.- Use get contract documents to retrieve the list of documents that are available for a contract.
Example request
Example response
- With a
fileIdfrom the API call above, you can then download an individual document using the download document endpoint
Example request

Example response
Contract cost details
To understand the price components that make up the contract cost, the API offers the contract cost details endpoint. This endpoint provides the same information that customers have received together with their order confirmation, and splits out energy cost, service fees and all applicable taxes and levies.The price component information only applies to dynamic price tariffs, not to fix price tariffs (that guarantee the same basic fee and working price for the duration of the contract).