> ## 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 TMY data in different formats ## OpenAPI ````json GET /tmy/data-request/{requestId}/{outputFormat} { "openapi": "3.0.3", "info": { "title": "Solargis API documentation", "version": "2.1.1", "description": "Explore Solargis API endpoints and learn how to retrieve TimeSeries, TMY, and other data from your Solargis subscriptions." }, "servers": [ { "url": "https://api.solargis.com", "description": "TimeSeries and TMY API endpoint" } ], "tags": [ { "name": "Solargis Time Series API", "description": "Endpoints for Time Series data requests" }, { "name": "Solargis TMY API", "description": "Endpoints for TMY data requests" }, { "name": "Subscription details API", "description": "Get information about your subscription" } ], "paths": { "/tmy/data-request/{requestId}/{outputFormat}": { "get": { "tags": [ "Solargis TMY API" ], "summary": "Get TMY data in different formats", "security": [ { "TMYToken": [] } ], "parameters": [ { "name": "requestId", "in": "path", "required": "true", "description": "Unique identifier returned by the TMY data request POST endpoint.", "schema": { "type": "string" } }, { "name": "outputFormat", "in": "path", "required": "true", "description": "Desired output format for the TMY data file.", "schema": { "type": "string", "enum": [ "SOLARGIS_JSON", "SOLARGIS_CSV", "SAM", "HELIOSCOPE" ] } } ], "responses": { "200": { "description": "TMY data in requestd format" }, "400": { "description": "Bad request format", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestFormat" } } } }, "401": { "description": "Invalid authorization", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InvalidToken" } } } }, "404": { "$ref": "#/components/responses/BadRequestId" } } } } }, "components": { "schemas": { "BadRequestFormat": { "type": "object", "description": "Bad request format", "properties": { "error": { "type": "string", "description": "Machine-readable error code indicating an invalid or unsupported request parameter.", "example": "api.data_request.output_format" } } }, "InvalidToken": { "type": "object", "description": "Invalid authorization", "properties": { "error": { "type": "string", "description": "Machine-readable error code indicating the authentication failure reason.", "example": "token.invalid" } } }, "TSerror500": { "type": "object", "required": [ "error" ], "properties": { "error": { "type": "string", "description": "Machine-readable error code indicating the reason for the failure.", "example": "api.data_request.not_found" } } } }, "responses": { "BadRequestId": { "description": "Bad requestId", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TSerror500" } } } } }, "securitySchemes": { "TMYToken": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT", "description": "Enter your Solargis TMY Bearer token.\n" } } } } ````