Get the UV index every 15 minutes for up to 10 locations, up to 15 days ahead. Each value is the UV index at that moment, so the rows show how high it peaks around midday and when. It accounts for forecast clouds, the sun's angle, ozone, ground height and snow.
Interpolated Point Forecast with
variable=uv_index gives a simpler estimate every 3 hours, which can miss the peak and differs
from these values at the same time.
For the UV index alongside a MetaMesh forecast, use Weather Context
with include_uv_index=true.
| Name | Type | Description |
|---|---|---|
| coordinates Required | string (lat,lon;...) | Latitude,longitude pairs separated by semicolons, for example 37,-121;40.3,-100. Results preserve the input order. Range: latitude −90° to 90°, longitude −180° to 180°; Max: 10 pairs |
| include_distribution Optional | boolean | Add the ensemble mean, standard deviation and percentiles of uv_index to each row in distribution. Default: false |
| min_forecast_time Optional | string (ISO 8601) | Earliest valid time to include in the response. A time without an offset is UTC. |
| max_forecast_time Optional | string (ISO 8601) | Latest valid time to include in the response. A time without an offset is UTC. |
| min_forecast_hour Optional | integer | Earliest forecast hour to include in the response, counted from forecast_zero. Unit: hours |
| max_forecast_hour Optional | integer | Latest forecast hour to include in the response, counted from forecast_zero. Unit: hours |
| initialization_time Optional | string (ISO 8601) | The initialization time for the forecast. Default: latest initialization time |
| Name | Type | Description |
|---|---|---|
| forecasts | object[][] | Forecasts, in the same order as the input coordinates. Each has a row every 15 minutes, on the quarter hour; by default from forecast_zero to the end of the run, up to 360 hours later. |
| time | string (ISO 8601) | When this forecast point is valid. |
| latitude | number | Requested latitude. Rounded to two decimal places. Unit: degrees |
| longitude | number | Requested longitude. Rounded to two decimal places. Unit: degrees |
| uv_index | number | null | UV index at time on the WHO scale, where 11 or more is extreme. This is the value at that moment, not a daily maximum, and is 0 at night and when the sun is too low for WM-6 sunlight to show clouds and a clear sky would stay under 0.5. Null when the WM-6 inputs around time (downward and net sunlight, surface pressure) are missing. |
| distribution | object | null | Ensemble spread of uv_index from forecast cloud uncertainty, or null when uv_index is null. Present when: include_distribution=true |
| mean | number | null | Ensemble mean. Equal to uv_index. |
| std | number | null | Ensemble standard deviation. |
| p01 , p05 , p10 , p25 , p75 , p90 , p95 , p99 | number | null | Ensemble percentiles. |
| forecast_zero | string (ISO 8601) | Valid time of forecast hour 0. |
| initialization_time | string (ISO 8601) | The forecast initialization time. This can be later than forecast_zero. |
| filtered_coordinates | integer[] | Indices of requested coordinates excluded by geographic access rules; forecasts omits them. Present when: requested coordinates are excluded |