Skip to content
Fourohtwo

utils.kagurazaka.dev/v1/date

Add or subtract an ISO 8601 duration (P1M, P2W, PT36H) to a date, months clamped to the month's end; or count the days, weeks, calendar months, years, seconds and business days (Monday to Friday, less a country's public holidays) between two dates. Also the weekday, ISO week and day of year.

BaseAnswering
GEThttps://utils.kagurazaka.dev/v1/date

Uptime100% 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://utils.kagurazaka.dev/v1/date?country=JP&end=2026-12-25&start=2026-10-25");
console.log(await res.json());

Example input

{
  "country": "JP",
  "end": "2026-12-25",
  "start": "2026-10-25"
}

More from x402 Utils