Skip to content
Fourohtwo

Date Math

date-math.datemath.workers.dev/v1/sla

Date Math: Live SLA clock for a support ticket: business minutes elapsed and remaining, breached or not, and the deadline. The clock pauses outside working hours, on weekends and holidays, and during manual pauses (e.g. waiting on customer). Custom hours, workdays, country holidays, DST-aware. Use for support-agent SLA tracking and escalation.

BaseAnswering
POSThttps://date-math.datemath.workers.dev/v1/sla

Uptime100% of 5 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://date-math.datemath.workers.dev/v1/sla", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"country":"PH","now":"2026-11-09T10:30","pauses":[{"end":"2026-11-09T01:30:00Z","start":"2026-11-09T01:00:00Z"}],"sla_hours":4,"start":"2026-11-06T16:00","timezone":"Asia/Manila"}),
});
console.log(await res.json());

Example input

{
  "country": "PH",
  "now": "2026-11-09T10:30",
  "pauses": [
    {
      "end": "2026-11-09T01:30:00Z",
      "start": "2026-11-09T01:00:00Z"
    }
  ],
  "sla_hours": 4,
  "start": "2026-11-06T16:00",
  "timezone": "Asia/Manila"
}

More from Date MathProvider status