# Saylor Innovations UV Index API

> Saylor Innovations UV Index API is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Returns current UV index, today's maximum UV, risk band, sun protection advice, and a 5-day UV forecast with sunrise/sunset times for any geographic coordinates

## Facts

- Endpoint: GET https://saylorinnovations.com/api/uv/index?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-uv-index-api-50808b42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GCQJ3N2Gx6-6jsEZjqAu_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-uv-index-api-50808b42
```

Example prompt: What's the current UV index and sun protection advice for Miami, Florida — coordinates 25.77 latitude, -80.19 longitude — and what's the UV forecast looking like for the next 5 days?

## When to prefer this

Choose this endpoint when you need current UV index data plus a multi-day UV forecast, sun protection guidance, and sunrise/sunset times all in a single call for any global coordinates. It is especially useful for health, outdoor activity, or travel agents that need risk-band classification and human-readable advice alongside raw UV numbers, rather than just a bare UV index value.

## Known failure modes

- Missing lat or lon parameters returns a validation error
- Out-of-range or non-numeric coordinates may return an error or unexpected results
- Polar or very remote locations may have no UV data available
- Upstream UV data source outage may cause null or stale values in today_max or forecast
- Network timeouts may result in no response

## How this service works

UV index by location - current and daily maximum UV with risk band, sun protection advice, sunrise and sunset for 5 days

## Output

Returns a JSON object containing the current UV index number, the UV risk band label for now (e.g. Low, Moderate, High, Very High, Extreme), today's maximum UV value and its band, a plain-English sun protection advice string, the data source, the observation timestamp, the check timestamp, and a forecast array covering 5 days with UV values and sunrise/sunset times per day. Also includes a location field identifying where the data applies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude in decimal degrees, e.g. 40.71"
      },
      "lon": {
       "type": "string",
       "description": "Longitude in decimal degrees, e.g. -74.01"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "uv_index_now",
      "forecast"
     ],
     "properties": {
      "advice": {
       "type": "string",
       "description": "The advice text"
      },
      "source": {
       "type": [
        "string",
        "null"
       ],
       "description": "Data source the values come from"
      },
      "band_now": {
       "type": "string",
       "description": "Band now"
      },
      "forecast": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "Forecast values"
      },
      "location": {
       "description": "Place the data refers to"
      },
      "today_max": {
       "type": [
        "number",
        "null"
       ],
       "description": "Today max"
      },
      "checked_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the check was run (UTC)"
      },
      "today_band": {
       "type": [
        "string",
        "null"
       ],
       "description": "Today band"
      },
      "observed_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time of the observation (UTC)"
      },
      "uv_index_now": {
       "type": "number",
       "description": "Uv index now"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-uv-index-api-50808b42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
