Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/settlement-date

Computes the settlement date for a trade date under US equities T+1 (17 CFR 240.15c6-1, compliance date 2024-05-28) counting only days when the NYSE and the Federal Reserve Banks are open, or T+n on a named or caller calendar, and checks an asserted settlement date. The settlement-day rule (NYSE and Reserve Banks both open, so Columbus Day and Veterans Day are skipped) is our inference, not a publ

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/settlement-date

Uptime100% of 2 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/settlement-date", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"tradeDate":"2026-10-09","settlement":"us-equities"}),
});
console.log(await res.json());

Example input

{
  "tradeDate": "2026-10-09",
  "settlement": "us-equities"
}