Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/time-bucket-check

For a time zone and a date range of up to 1100 days, lists every offset transition and what it does to local bucketing: the hourly labels that never occur (spring-forward), the hourly labels that occur twice and would merge two real hours when grouped by local time (fall-back), and the 23-, 24.5- or 25-hour days; optionally checks up to 500 caller hourly labels (YYYY-MM-DDTHH:00) for non-existent

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/time-bucket-check

UptimeNot checked yet

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://agents.writerslogic.com/api/v1/time-bucket-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"to":"2026-12-31","from":"2026-01-01","labels":["2026-03-08T02:00","2026-11-01T01:00","2026-06-01T12:00"],"timeZone":"America/New_York"}),
});
console.log(await res.json());

Example input

{
  "to": "2026-12-31",
  "from": "2026-01-01",
  "labels": [
    "2026-03-08T02:00",
    "2026-11-01T01:00",
    "2026-06-01T12:00"
  ],
  "timeZone": "America/New_York"
}