With the Sandbox, we provide a fully functional environment for developing your application and integration testing our APIs. It supports unlimited End-Users and consents with realistic, production-like data.
We host ⚡ Fiskil SandBox Energy, a data holder simulation for the energy industry which you are able to access via Fiskil console. In this guide we'll create a new consent using console, then walk through the process of fetching sample data via the API.
We assume you already have access to Fiskil Console. For the necessary permissions, and setting up the sandbox environment for your team, contact customer support.
If you haven't previously created one, navigate to API Keys in Fiskil console, to create a key pair. Take note of your client_id
and client_secret
for authentication purposes.
Exchange your client_id
and client_secret
for an access token
using the /token
endpoint. Note down the token value.
curl --location --request POST 'https://api.fiskil.com/v1/token' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
"client_id": "${client_id}",
"client_secret": "${client_secret}"
}'
We'll create a new End-User to test the energy API. If this is your first ever consent, we recommend to create only one consent per End-User which makes it easier to work with the sample data. To create an End-User, you will need a name
, email
and phone
. Remember to set the access token
from the previous step.
curl --location --request POST 'https://api.fiskil.com/v1/token' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
"client_id": "${client_id}",
"client_secret": "${client_secret}"
}'
Next, navigate to End-Users in Fiskil console, select the user you've just created and then click on "Create Auth Session". Copy the link into a new browser window.
In the new browser window, complete the step to allow access for your app independently by clicking on "Allow", you should now see the retailer selection in the next step.
Select ⚡ Fiskil SandBox Energy from the retailer selection screen.
Enter any email you have access to, then click on "get code". You will receive and one-time password in your inbox.
After entering the one-time password, you will be shown the account selection on the next screen.
Select one of the energy accounts for your consent. It is recommended to stick to one account to limit data included in your consent. For a full reference of the available accounts, see the table below.
Display Name | Type | Description |
---|---|---|
SMART+TOU+CTRL | residential | A smart meter account with Time of Use (TOU) tariff and Controlled Load (CL) for appliances. A residential account with varied peak pricing. |
MRIM+DER+FLAT | residential | An MRIM meter with solar panels (DER) and flat-rate tariff. Sample for a small, residential household account generating solar energy. |
MRIM+TOU | residential | An MRIM meter with Time of Use (TOU) tariff, suitable for varied energy prices across the day, also for a small residential account. |
BASIC+FLAT | residential | A basic meter with a flat-rate tariff, sample for a small residential account without complex pricing and no solar feed-in. |
SMART+DER+FLAT+CTRL | residential | A smart meter residential account with solar (DER), a flat-rate tariff, and controlled load for a fixed appliance. Associated meter has multiple registers. |
MRIM+FLAT | residential | An MRIM meter with a flat-rate tariff, sample for an older residential account requiring manual readings. |
MRIM+DER+TOU | residential | An older MRIM meter requiring interval reads with solar (DER) and TOU pricing based on time of day. Associated meter has separate register for solar feed-in. |
MRIM+TOU+DEMAND | residential, commercial | An MRIM meter with TOU and demand-based charges, sample for both residential and small-scale commercial use with varying loads billed according to demand. |
SMART+FLAT+DEMAND | commercial | A smart meter account with flat-rate pricing and demand charges, Medium sized commercial closed account with consistent usage but demand spikes. |
SMART+TOU+DEMAND+CTRL | residential | A smart meter with TOU, demand-based charges, and controlled load, Sample for a smart household user optimizing energy use based on demand and time of day. |
Account closed. Data from closed accounts may continue to be shared, i.e. when the customer has multiple energy accounts with the same provider. For details see cdr guidance on closed accounts.
After selecting the account, independently confirm the consent by selecting "Confirm and share" on the next screen. You have successfully created a consent in the sandbox environment.
Was this page helpful?