Skip to content

Payment settlement calendar

$0.002 per callUSDC via x402GET /api/settlement-calendar

Expected settlement date for a payment sent on a given date over ACH, Fedwire, SEPA Credit Transfer, SEPA Instant or CHAPS, from each rail's published operating days and the bank holidays that close it, with the rule and its official source in the answer. ?rail=ach&date=2026-12-24. Send GET /api/settlement-calendar with the required fields rail and date and pay $0.002 per call over x402 or MPP (there is no free tier). It returns a JSON object with rail, name, sendDate, operatingDay, settlementDate and 3 more.

Holiday data by Nager.Date.

Category: Time & schedulingTags: settlement payments ach fedwire sepa chaps business-days finance

Try in playground →

Parameters

NameTypeRequiredDescription
railstring (one of: ach, fedwire, sepa-sct, sepa-instant, chaps)yespayment rail
datestringyessend date, YYYY-MM-DD (the rail's local calendar)

Example request

curl -i "https://agent402.tools/api/settlement-calendar?rail=ach&date=2026-12-24"

Without payment this returns HTTP 402 Payment Required with the exact price for settlement-calendar; any x402 v2 or MPP client pays it and retries.

Watch a call get paid

RequestGET /api/settlement-calendar
402$0.002 USDC
SignPAYMENT-SIGNATURE
Settleon 14 chains
Answer200 OK
ReceiptAgent402-ReceiptEd25519

Example response

{
  "rail": "ach",
  "name": "ACH (FedACH)",
  "sendDate": "2026-12-24",
  "operatingDay": true,
  "settlementDate": "2026-12-24",
  "nextDaySettlementDate": "2026-12-28",
  "closedDays": [
    {
      "date": "2026-12-25",
      "reason": "holiday",
      "name": "Christmas Day"
    },
    {
      "date": "2026-12-26",
      "reason": "weekend"
    },
    {
      "date": "2026-12-27",
      "reason": "weekend"
    }
  ],
  "sources": [
    "https://www.frbservices.org/about/holiday-schedules",
    "https://www.nacha.org/"
  ]
}
FieldTypeAlways presentIn the example
railstringyesach
namestringyesACH (FedACH)
sendDatestringyes2026-12-24
operatingDaybooleanyestrue
settlementDatestringyes2026-12-24
nextDaySettlementDatestringyes2026-12-28
closedDaysarray of objectsyes3 items in the example
sourcesarray of stringyes2 items in the example

From an MCP client

catalog.call {
  "slug": "settlement-calendar",
  "params": {
    "rail": "ach",
    "date": "2026-12-24"
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for settlement-calendar; the stdio package pays it from a wallet or from an AGENT402_CREDITS_KEY issued earlier. Local install: npx -y agent402-mcp@0.14.0.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.({ maxAmountPerPayment: "$0.002" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/settlement-calendar?rail=ach&date=2026-12-24");

Related tools

Business days by country

$0.002GET /api/country-business-days

Holiday-aware business days for a country or region: check whether a date is a business day, add or subtract N business.

Cross-border business-day planner

$0.003GET /api/business-day-planner

First dates on or after a start date that are business days in every listed country or region at once (up to 6, e.g.

Business days

FREE w/ computeor $0.001POST /api/business-days

Count business days (Mon–Fri) between two dates, inclusive of the start, exclusive of the end.

Exchange trading calendar

FREE w/ computeor $0.001GET /api/market-calendar

Is an exchange open at a given moment, and when does it next open and close: NYSE, London Stock Exchange, Xetra, JPX.

Date arithmetic

FREE w/ computeor $0.001POST /api/add-time

Add (or subtract) a duration to a date. duration like "2d", "-3h", "1w 2d", "90m".

Age calculator

FREE w/ computeor $0.001POST /api/age

Compute a precise age (years, months, days) from a birth date to today (or a given date), plus total days.