Public holidays API
x402.forgemesh.io/public-holidays
Public holidays API: the official national public holidays for 200+ countries and any year — date, local name, English name, and holiday type (public/bank/school/observance) as JSON, served from data bundled locally with no third-party dependency at request time. The data scheduling, payroll, SLA, and delivery agents check before promising a date.
POST
https://x402.forgemesh.io/public-holidaysUptime100% 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://x402.forgemesh.io/public-holidays", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"country":"US","year":"2026"}),
});
console.log(await res.json());Example input
{
"country": "US",
"year": "2026"
}