TS integration setup

Prev Next

When you are setting up your integration, you can use our FREE dedicated API integration setup endpoint to perform testing calls. This will help you set up your API without spending any subscription credits. Ask your Solargis sales representative to assign an API integration subscription to you.  

Important: Do not modify any of the request body parameters. The endpoint will only accept the parameters exactly as listed in the table; any changes will cause the call to fail.

Get your requestId

URL:

https://api.solargis.com/ts-integration/data-request

Headers:

Authorization: Bearer {API token}

Body parameters:

JSON

{
  "site": {
    "latitude": 48.88375,
    "longitude": 20.159472,
    "siteName": "Basic example Site"
  },
  "timeStep": "PT15M",
  "columns": [
    "GHI",
    "DNI",
    "DIF",
    "GHI_NOSHD",
    "DNI_NOSHD",
    "DIF_NOSHD",
    "GTI_NOSHD",
    "GTI",
    "CI_FLAG",
    "SUN_ELEVATION",
    "SUN_AZIMUTH",
    "PANEL_AZIMUTH",
    "PANEL_TILT",
    "PANEL_INC",
    "TEMP",
    "WS",
    "WD",
    "WG",
    "RH",
    "AP",
    "PWAT",
    "PREC",
    "TD",
    "WBT",
    "SDWE",
    "SFWE"
  ],
  "fromDate": "AUTODETECT",
  "toDate": "2023-12-31",
  "utcOffset": "+01:00",
  "outputFormat": "SOLARGIS_JSON",
  "timeAlignment": "CENTER",
  "terrainShading": true,
  "environment": {
    "surfaceAlbedo": 0.12,
    "horizon": {
      "azimuth": [
        0,
        37.5,
        60,
        82.5,
        105,
        127.5,
        150,
        172.5,
        195,
        217.5,
        240,
        262.5,
        285,
        307.5,
        330,
        352.5
      ],
      "height": [
        0.705,
        1.0588235,
        1.058894,
        1.428,
        0.70588764,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ]
    }
  },
  "gtiConfiguration": {
    "layout": {
      "mounting": {
        "type": "FIXED_ONE_ANGLE",
        "tilt": 39
      }
    }
  },
  "fileLabel": "Integration_example",
  "compressOutput": false
}

Get your Time Series data using the requestId

URL:

https://api.solargis.com/ts-integration/data-request/{requestId}

Headers:

Authorization: Bearer {API token}

Body parameters: N/A