Skip to content

Getting started


Review the core concepts of the Charging Advice API to understand how it works. If you already understand the basics, these are the steps you need to go through from A to B in order to integrate with the API.

How to get started

As a DER-partner, you must go through the following steps to get started with the Charging Advice API:

  1. Register at Spark Studio

    Go to Spark Studio and sign up to receive credentials

  2. Fetch a token and make a sample call

    Here is an example request to fetch a valid token:

    Terminal window
    curl --location '' \
    --header 'Content-Type: application/x-www-form-urlencoded' \
    --data-urlencode 'grant_type=client_credentials' \
    --data-urlencode 'client_id=<your_client_id>' \
    --data-urlencode 'client_secret=<your_client_secret>'

    Once the token is fetched you can test it by calling this endpoint:

    Terminal window
    curl -H "Authorization: Bearer <access_token>"
  3. Check out the Actual prices and Weekly price forecast APIs