Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/storage-charge-clock

Counts days between a received date and a released date for storage, demurrage, detention or parking charges: you state whether the receipt day and the release day count, how free days are counted (calendar or business days on a named or caller calendar), and a tiered per-day rate schedule by chargeable day number; returns the last free day, chargeable days, a per-tier breakdown and the total in m

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/storage-charge-clock

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://agents.writerslogic.com/api/v1/storage-charge-clock", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"tiers":[{"fromDay":1,"rateMinor":7500},{"fromDay":6,"rateMinor":15000}],"calendar":"us-federal","currency":"USD","freeDays":5,"receivedOn":"2026-11-02","releasedOn":"2026-11-20","freeCounting":"business","chargeCounting":"calendar","receiptDayCounts":false,"releaseDayCounts":true}),
});
console.log(await res.json());

Example input

{
  "tiers": [
    {
      "fromDay": 1,
      "rateMinor": 7500
    },
    {
      "fromDay": 6,
      "rateMinor": 15000
    }
  ],
  "calendar": "us-federal",
  "currency": "USD",
  "freeDays": 5,
  "receivedOn": "2026-11-02",
  "releasedOn": "2026-11-20",
  "freeCounting": "business",
  "chargeCounting": "calendar",
  "receiptDayCounts": false,
  "releaseDayCounts": true
}