Skip to content
Fourohtwo

US business days calculator

agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/calendar/us-business

US business days calculator: counts working days between two dates (inclusive), excluding weekends and observed US federal holidays per 5 U.S.C. 6103 and OPM rules. Useful for deadlines, SLAs, shipping and payment due dates. Returns the count and lists the holidays skipped. Errors: 400 JSON {error} for invalid input.

BaseAnswering
GEThttps://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/calendar/us-business-days

Uptime100% of 4 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://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/calendar/us-business-days?from=2026-11-01&to=2026-12-31");
console.log(await res.json());

Example input

{
  "from": "2026-11-01",
  "to": "2026-12-31"
}