Documentation Index

Fetch the complete documentation index at: https://kb.solargis.com/llms.txt

Use this file to discover all available pages before exploring further.

Get the TMY requestId

Prev Next
Post
/tmy/data-request

Use this endpoint to obtain a requestId for downloading TMY data from your live Solargis account. You will need the requestId in the next step to retrieve data for your location.

Request type:

POST

URL:

https://api.solargis.com/tmy/data-request

Authorization:

Bearer {API token}

Body: See the Body parameters section below.

Prerequisites
  • You must have a live Solargis account with an active TMY Basic or TMY Pro subscription.
  • You must generate an API token to authenticate calls to your account. .
Things to know
  • Calls to this endpoint are paid and will deduct credits from your API call allowance.
  • The API console on the right is connected to the production server. It does not support integration API calls. See Using the API console instructions.
  • Available parameters and temporal resolutions depend on your TMY API subscription type. 
  • If 1-minute data is included in the request, the request period must be at least 1 year.

<

Security
HTTP
Type bearer

Enter your Solargis TMY Bearer token.

Body parameters
{
  "latitude": 48.61259,
  "longitude": 20.827079,
  "siteName": "KB Pro Site",
  "timeStep": "PT60M",
  "tmyScenario": "P50",
  "terrainShading": true,
  "environment": {
    "surfaceAlbedo": 0.12,
    "horizon": {
      "azimuth": [
        0.0,
        37.5,
        60.0,
        82.5,
        105.0,
        127.5,
        150.0,
        172.5,
        195.0,
        217.5,
        240.0,
        262.5,
        285.0,
        307.5,
        330.0,
        352.5
      ],
      "height": [
        0.705,
        1.0588235,
        1.058894,
        1.428,
        0.70588764,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0
      ]
    }
  },
  "gtiConfiguration": {
    "layout": {
      "mounting": {
        "type": "FIXED_ONE_ANGLE",
        "tilt": 39
      }
    }
  },
  "compressOutput": true,
  "outputFormats": [
    "SOLARGIS_CSV",
    "SOLARGIS_JSON",
    "SAM",
    "HELIOSCOPE"
  ],
  "fileLabel": "tmy_pro"
}
object
latitude
number (double) Required

Geographic latitude of the site in decimal degrees (WGS84).

Example48.883753
longitude
number (double) Required

Geographic longitude of the site in decimal degrees (WGS84).

Example20.159472
timeStep
string Required

Temporal resolution of the output data.

Valid values[ "PT60M", "PT15M", "PT1M" ]
ExamplePT60M
tmyScenario
string Required

Statistical exceedance scenario for the TMY dataset; P50 represents the median energy yield.

Valid values[ "P50" ]
ExampleP50
terrainShading
boolean

When true, applies terrain horizon shading to irradiance calculations.

Defaultfalse
environment
object

Site-specific environmental parameters that influence irradiance calculations.

surfaceAlbedo

Surface albedo as a single annual value or an array of 12 monthly values (Jan–Dec).

OneOf
number
number
Example0.12
array
array
number
horizon
object

Custom horizon profile defined by azimuth–height pairs to account for local obstructions.

azimuth
Array of number

Array of azimuth angles in degrees (0–360, measured clockwise from north) defining the horizon profile.

number
height
Array of number

Array of horizon elevation angles in degrees corresponding to each azimuth point.

number
outputFormats
Array of string Required

List of output file formats to generate for the TMY data.

Example[ "SOLARGIS_JSON" ]
string
Valid values[ "SOLARGIS_JSON", "SOLARGIS_CSV", "SAM" ]
siteName
string Required

Human-readable label identifying the site in output files and logs.

ExampleSolargis Testing request KB
fileLabel
string

Short identifier prepended to output file names for easy recognition.

Examplepro_01
gtiConfiguration
object (gtiConfigurationSchema)

Panel mounting configuration used to compute plane-of-array irradiance (GTI).

layout
object

Physical layout of the PV panel installation.

mounting

Mounting system type and its associated configuration parameters.

OneOf
FixedOneAngleMounting
object (FixedOneAngleMounting)
type
string Required

Identifies the mounting type as fixed single-angle.

Valid values[ "FIXED_ONE_ANGLE" ]
ExampleFIXED_ONE_ANGLE
tilt
number Required

Panel tilt angle in degrees from horizontal (0° = flat, 90° = vertical).

Minimum0.0
Maximum90.0
Example39.0
TrackerOneAxisHorizontalMounting
object (TrackerOneAxisHorizontalMounting)
type
string Required

Identifies the mounting type as a horizontal single-axis tracker.

Valid values[ "TRACKER_ONE_AXIS_HORIZONTAL" ]
backtracking
boolean Required

When true, the tracker uses backtracking to avoid inter-row shading at low sun angles.

rotationLimitEast
number Required

Maximum rotation angle in degrees toward the east (negative value).

Minimum-180.0
Maximum0.0
Example-50.0
rotationLimitWest
number Required

Maximum rotation angle in degrees toward the west (positive value).

Minimum0.0
Maximum180.0
Example50.0
TrackerOneAxisInclinedMounting
object (TrackerOneAxisInclinedMounting)
type
string Required

Identifies the mounting type as an inclined single-axis tracker.

Valid values[ "TRACKER_ONE_AXIS_INCLINED" ]
axisTilt
number Required

Tilt angle of the tracker rotation axis from horizontal, in degrees.

Minimum0.0
Maximum90.0
Example30.0
backtracking
boolean Required

When true, the tracker uses backtracking to avoid inter-row shading at low sun angles.

rotationLimitEast
number Required

Maximum rotation angle in degrees toward the east (negative value).

Example-50.0
rotationLimitWest
number Required

Maximum rotation angle in degrees toward the west (positive value).

Example50.0
TrackerOneAxisVerticalMounting
object (TrackerOneAxisVerticalMounting)
type
string Required

Identifies the mounting type as a vertical single-axis (azimuth) tracker.

Valid values[ "TRACKER_ONE_AXIS_VERTICAL" ]
tilt
number Required

Fixed panel tilt angle in degrees from horizontal.

Minimum0.0
Maximum90.0
Example30.0
azimuthLimitEast
number Required

Maximum azimuth rotation limit toward the east in degrees (negative value).

Minimum-180.0
Maximum0.0
Example-120.0
azimuthLimitWest
number Required

Maximum azimuth rotation limit toward the west in degrees (positive value).

Minimum0.0
Maximum180.0
Example120.0
backtracking
boolean Required

When true, the tracker uses backtracking to avoid inter-row shading at low sun angles.

TrackerTwoAxisMounting
object (TrackerTwoAxisMounting)
type
string Required

Identifies the mounting type as a two-axis tracker.

Valid values[ "TRACKER_TWO_AXIS" ]
backtracking
boolean Required

When true, the tracker uses backtracking to avoid inter-row shading at low sun angles.

tiltLimitMin
number Required

Minimum allowable tilt angle in degrees from horizontal.

Minimum0.0
Maximum90.0
Example10.0
tiltLimitMax
number Required

Maximum allowable tilt angle in degrees from horizontal.

Minimum0.0
Maximum90.0
Example90.0
azimuthLimitEast
number Required

Maximum azimuth rotation limit toward the east in degrees (negative value).

Example-90.0
azimuthLimitWest
number Required

Maximum azimuth rotation limit toward the west in degrees (positive value).

Example90.0
relativeSpacing
number (float)

Row-to-row spacing relative to the panel height, used to model inter-row shading.

Minimum0.1
compressOutput
boolean

When true, the output file is compressed as a ZIP archive.

Defaultfalse
Responses
200

RequestId retrieved

object
requestId
string

Unique identifier used to retrieve the processed data in a subsequent GET request.

401

Invalid authorization

object

Invalid authorization

error
string

Machine-readable error code indicating the authentication failure reason.

Exampletoken.invalid