Request
The following is a cURL example of making a request with GET.
curl -L -X GET 'https://api.eu.platform.xweather.com/forecast-service/xcast' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
| Parameter | Mandatory | Description | Example |
|---|---|---|---|
| site_id | ✓ | Site ID. | urn:dev:ops:16961-CXT530-S1234567 |
| geometry | - | Latitude and longitude of the geometry point. | 13.253,15.6 |
| weather_params | ✓ | Weather parameters.
|
wind_speed,air_temperature |
| period | - | Time series period.
|
subhourly |
| units | - | Units system.
|
metric |
Authorization
name: X-API-KEY
type: apiKey
in: header
description: API Key for authentication