datetime.openverbs.com/v1/iso-week
Return the ISO-8601 week-numbering year, week number (1..53) and weekday (1=Monday..7=Sunday) for a Gregorian date. The ISO year can differ from the calendar year around New Year.
POST
https://datetime.openverbs.com/v1/iso-weekUptime100% of 3 checks 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://datetime.openverbs.com/v1/iso-week", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"day":1,"month":1,"year":1}),
});
console.log(await res.json());Example input
{
"day": 1,
"month": 1,
"year": 1
}