# OpenUV - Global Real-Time UV Index Forecast API API

> OpenUV - Global Real-Time UV Index Forecast API API on Apizie: 3 endpoints (Get hourly UV Index Forecast by location and date. Optional altitude, ozone level and datetime could be…, Get daily protection time by location, UV Index from and UV Index to with 10 minutes accuracy. Optional…, Get real-time UV Index by location. Optional altitude, ozone level and datetime could be provided.) returned as clean JSON through one API key. 3 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/open-data:openuv/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:openuv`
- Category: Open Data
- Status: live
- Source: https://openuv.io
- Page: https://zieapi.vercel.app/api/open-data/openuv
- OpenAPI: https://zieapi.vercel.app/api/open-data/openuv/openapi.json

The missing minimalistic JSON real-time UV Index API for awesome Developers, Innovators and Smart Home Enthusiasts

## Endpoints

### Get hourly UV Index Forecast by location and date. Optional altitude, ozone level and datetime could be…
`GET https://zieapi.vercel.app/v1/open-data:openuv/get-forecast`

| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | yes | latitude, from -90.00 to 90.00 |
| lng | number | yes | longitude, from -180.00 to 180.00 |
| alt | number | no | Altitude in meters, from 0 to 10000m, 0m by default. If provided the altitude correction factor will be applied to clear sky sea level UV… |
| ozone | number | no | Ozone in du (Dobson Units), from 100 to 550du, the latest forecast from OMI dataset is used by default. |
| dt | string | no | UTC datetime in ISO-8601 format, now by default. Use that parameter to get UV Index Forecast for any point in time. |
| x-access-token | string | yes | This header is used to send data that contains your OpenUV API key |

### Get daily protection time by location, UV Index from and UV Index to with 10 minutes accuracy. Optional…
`GET https://zieapi.vercel.app/v1/open-data:openuv/get-protection`

| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | yes | latitude, from -90.00 to 90.00 |
| lng | number | yes | longitude, from -180.00 to 180.00 |
| from | number | yes | UV Index from value for protection datetime lookup. From 0 to 40. |
| to | number | yes | UV Index to value for protection datetime lookup. From 0 to 40. |
| alt | number | no | Altitude in meters, from 0 to 10000m, 0m by default. If provided the altitude correction factor will be applied to clear sky sea level UV… |
| ozone | number | no | Ozone in du (Dobson Units), from 100 to 550du, the latest forecast from OMI dataset is used by default. |
| x-access-token | string | yes | This header is used to send data that contains your OpenUV API key |

### Get real-time UV Index by location. Optional altitude, ozone level and datetime could be provided.
`GET https://zieapi.vercel.app/v1/open-data:openuv/get-uv`

| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | yes | latitude, from -90.00 to 90.00 |
| lng | number | yes | longitude, from -180.00 to 180.00 |
| alt | number | no | Altitude in meters, from 0 to 10000m, 0m by default. If provided the altitude correction factor will be applied to clear sky sea level UV… |
| ozone | number | no | Ozone in du (Dobson Units), from 100 to 550du, the latest forecast from OMI dataset is used by default. |
| dt | string | no | UTC datetime in ISO-8601 format, now by default. Use that parameter to get UV Index Forecast for any point in time. |
| x-access-token | string | yes | This header is used to send data that contains your OpenUV API key |

## Example
```
curl "https://zieapi.vercel.app/v1/open-data:openuv/get-forecast" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the OpenUV - Global Real-Time UV Index Forecast API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/open-data:openuv/get-forecast with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the OpenUV - Global Real-Time UV Index Forecast API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the OpenUV - Global Real-Time UV Index Forecast API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:openuv.

### What is the status of the OpenUV - Global Real-Time UV Index Forecast API API?
Live: works with just an Apizie key
