Requesting Xcast by site id - Xweather Insight

Vaisala Xweather Protect and Xweather Optimize Xcast by Site ID API Reference

Product status
Document code
M213290EN
Revision
B
ft:locale
en-US
Product
Xweather Insight
Document type
Technical description

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>'
Parameters
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.
  • air_temperature - Air temperature at 2 m (default unit: Celsius).
  • wind_speed - 10 minute average wind speed at 10 m (default unit: m/s).
wind_speed,air_temperature
period - Time series period.
  • hourly - Hourly forecasts (default).
  • subhourly - Subhourly forecasts (15 minute interval).
subhourly
units - Units system.
  • metric - Use metric units (default).
  • imperial - Use imperial units.
metric

Authorization

name: X-API-KEY
type: apiKey
in: header
description: API Key for authentication