{"uid":"cap_GCQJ3N2Gx6-6jsEZjqAu_","slug":"saylor-innovations-uv-index-api-50808b42","name":"Saylor Innovations UV Index API","description":"UV index by location - current and daily maximum UV with risk band, sun protection advice, sunrise and sunset for 5 days","url":"https://saylorinnovations.com/api/uv/index?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3IRC7FOkZ0WHMtRfs9nLj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Outdoor event sun safety check","prompt":"We're hosting an outdoor wedding in Austin, Texas this Saturday — can you check the UV index and risk band for coordinates 30.27 lat, -97.74 lon, and tell me what sun protection advice the forecast gives for that day?"},{"title":"Beach trip UV planning","prompt":"I'm heading to Malibu beach this week — latitude 34.03, longitude -118.78 — can you pull the 5-day UV forecast so I know which days will have the highest UV and when sunrise and sunset are?"},{"title":"Daily health monitoring dashboard","prompt":"For my morning health report, fetch the current UV index, today's maximum UV, and risk band for our office location at 40.71 latitude, -74.01 longitude so I know whether to remind the team to wear sunscreen."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:03.762Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-uv-index-api-50808b42"}