80trust / 100

Settlement Date

by Orcpin in Markets & finance

x402 APIPassing, checked 3 h ago

Single-trade T+1 settlement date, as a one-line GET: given a trade date and an as-of date, returns the settlement date and whether it has settled, on the versioned NYSE holiday calendar with SEC Rule 15c6-1 cited. The low-integration sibling of the batch settlement-dates route — no request body. A dates fact, never a violation determination. Nothing is stored.

GET https://orcpin.dev/v1/settlement-date

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
284 ms typical, 284 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://orcpin.dev/v1/settlement-date?as_of=2026-07-02&trade_date=2026-07-02"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Forcpin.dev%2Fv1%2Fsettlement-date
const res = await pay("https://orcpin.dev/v1/settlement-date?as_of=2026-07-02&trade_date=2026-07-02");
console.log(await res.json());

Example input

{
  "as_of": "2026-07-02",
  "trade_date": "2026-07-02"
}

Example output

{
  "as_of": "2026-07-02",
  "calendar_version": "nyse-2024-2027.v1",
  "disclaimer": "Deterministic trading-day arithmetic on a caller-supplied trade; nothing is stored. …",
  "explanation": "Trade dated 2026-07-02 settles 2026-07-06 (T+1 on the nyse-2024-2027.v1 calendar); as of 2026-07-02 it is not yet settled. …",
  "methodology": "https://orcpin.dev/methodology#trade_log",
  "rule_citation": "SEC Rule 15c6-1 (as amended, effective 2024-05-28) … (cited as a published rule only)",
  "schema_version": "settlement-v1",
  "settled": false,
  "settlement_date": "2026-07-06",
  "spec": "settlement-date",
  "trade_date": "2026-07-02",
  "trading_days_until_settlement": 1
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402284 ms$0.02