karte.halowerk.com/v1/uv-solar
Returns an hourly CAMS forecast for UV Index under predicted clouds, clear-sky UV Index and surface solar irradiance. UV Index is derived from the CAMS biologically effective dose rate with the documented factor 40. Solar irradiance is de-accumulated from successive hourly surface-solar-energy fields. Values represent the nearest 0.4 degree model cell, not an on-site pyranometer.
POST
https://karte.halowerk.com/v1/uv-solarUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://karte.halowerk.com/v1/uv-solar", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"latitude":45,"longitude":5}),
});
console.log(await res.json());Example input
{
"latitude": 45,
"longitude": 5
}