Get
/tmy/data-request/{requestId}/{outputFormat}
Request type: | GET |
URL: | https://api.solargis.com/tmy/data-request/{requestid}/{outputFormat} |
Authorization: | Bearer {API token} |
Use this endpoint to get your TMY data in different formats.
Key points to remember before you proceed:
- You need a live Solargis account and have purchased the TMY Basic or TMY Pro service.
- Calls to this API are paid and will deduct credits from your API call allowance.
- Allowed
outputFormatvalues are listed in the table below. - You will need to use the same API token that you have used when obtaining the
requestId. - You can get the data using the API console to the right. Learn how to use the console in the Using the API console guide.
The API console will show
SOLARGIS_JSONformat data only. All other formats are not supported by the console and need to be used elsewhere to view the received data.
| Parameter | Allowed values |
|---|---|
"outputFormat" | "SOLARGIS_JSON""SOLARGIS_CSV""SAM""HELIOSCOPE" |
Security
HTTP
Type bearer
Enter your Solargis TMY Bearer token.
Path parameters
requestId
stringRequired
outputFormat
stringRequired
Valid values[
"SOLARGIS_JSON",
"SOLARGIS_CSV",
"SAM",
"HELIOSCOPE"
]
Responses
200
TMY data in requestd format
400
Bad request format
object
Bad request format
error
string
Exampleapi.data_request.output_format
401
Invalid authorization
object
Invalid authorization
error
string
Exampletoken.invalid
404
Bad requestId
object
error
string
Exampleapi.data_request.not_found