Solar production estimate chart

Solar production estimate chart

(Professional accounts only)

You can direct draw forecast estimate charts via API calls.

The logic for the chart drawing URL is a bit different. In other calls you have to use your API key for calls. But the needed code snippet here is placed into a HTML page and the API key should not be visible for the public ;-)

So the process of drawing a chart consists of 3 parts:

  1. Request a unique token for your plane(s), combine up to 3 (you can build the URL with the helper page and get the script tag directly with the Test button)
  2. Init JavaScript chart functions, once per page
  3. Draw concrete chart by placing the JavaScript snippet exact at the place, where the chart should be shown.

1. Request a unique token

Result will be something like this:

    "result": {
        "token": "pDvJw75F",
        "url": "",
        "tag": "<script defer src=''></script>"
    "message": {
        "code": 0,
        "type": "success",
        "text": ""

2. Code

Chart URL for today

The offset of 0 is optional and this will work the same way:

Chart URL for tomorrow

You can draw the chart up to 6 days in advance!

Please load the scripts always defered to not block the page loading!

<-- ----------------------------------------------------------------------
 -- Init chart functions, required only ONCE per page
 -- Put this always BEFORE the chart scripts!
 -- ------------------------------------------------------------------ -->
<script defer src=""></script>

<div style="text-align:center">
    <-- ------------------------------------------------------------------
     -- Custom header
     -- -------------------------------------------------------------- -->
    <h3>Production estimate South</h3>

    <-- ------------------------------------------------------------------
     -- Wrap script with a DIV with dimensions to define chart size
     -- -------------------------------------------------------------- -->
    <div style="width:400px;height:200px;margin:auto">
        <script defer src=""></script>


You can provide 2 parameters to the script:

  • title - Chart title
  • subtitle - Chart subtitle

You can in both parameters use the follwing placeholders:

  • {place} - Location of the plant
  • {date} - Chart date

If nothing is provided, no tilte is drawn and the subtitle becomes the date.

If the title contains the {date} placeholder, the subtitle will not show the date.

Full example{date}&subtitle={place}

3. Result