{"uid":"cap_AoNq-QONjS8F6n5gaNT_f","slug":"statepulse-uv-index-lookup-5b634c60","name":"StatePulse UV Index Lookup","description":"Retrieves the current solar UV Index and calculates sun safety burn times.","url":"https://statepulse-api.hahavoid0.workers.dev/environment/uv-index","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"result":{"uv_index":8.5,"classification":"Very High","safe_minutes_fair_skin":15},"supported":true,"confidence":"high"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_60QiTWY00GqE9YCzCZMxD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current UV index, risk classification, and safe sun exposure time for fair skin at a given location","exampleAgentPrompt":"What's the current UV index in Miami, and how long can someone with fair skin safely be outside right now?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the numeric UV index value (e.g. 8.5), a risk classification label (e.g. 'Very High'), and the recommended maximum safe sun exposure time in minutes for fair-skinned individuals, along with a confidence level for the reading.","failureModes":["Invalid or missing coordinates return an error or unsupported flag","Location outside coverage area may return supported:false","Network or upstream data source unavailability causes 5xx errors","Malformed POST body results in 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need real-time UV index data with built-in risk classification and sun safety guidance in a single call, especially for health or outdoor activity planning agents. Prefer over general weather APIs when UV-specific classification and skin-safety exposure limits are required without additional processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:43:04.367Z","isFirstParty":false}