natur.halowerk.com/v1/growing-degree-days
Accumulates growing degree days at a location from the hourly forecast, for a base temperature you choose. Two methods are returned side by side: the hourly integration, which is the more accurate, and the conventional average of daily maximum and minimum, which is what agronomic tables and most published thresholds are built on. Reporting only one would either be less accurate or incomparable wit
POST
https://natur.halowerk.com/v1/growing-degree-daysUptime100% 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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://natur.halowerk.com/v1/growing-degree-days", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"base_temp_c":10,"lat":52.52,"lon":13.405,"thresholds":[50,100]}),
});
console.log(await res.json());Example input
{
"base_temp_c": 10,
"lat": 52.52,
"lon": 13.405,
"thresholds": [
50,
100
]
}