{"uid":"cap_VPk9iTY97UhRuMGFBmBaR","slug":"writerslogic-settlement-date-calculator-5325aa09","name":"WritersLogic Settlement Date Calculator","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/settlement-date?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"weekend":{"type":"array","items":{"type":"integer","maximum":6,"minimum":0},"maxItems":6,"description":"Non-business weekdays, 0=Sunday..6=Saturday. Default [0, 6]; use [5, 6] for a Friday/Saturday weekend."},"calendar":{"enum":["us-federal","us-federal-reserve","nyse","us-equities-settlement","uk-england-and-wales","uk-scotland","uk-northern-ireland","weekends-only","caller"],"type":"string","description":"Named holiday calendar with a source and supported date range (outside it the answer is unsupported), weekends-only (Saturday/Sunday only), or caller (only the holidays you list)."},"holidays":{"type":"array","items":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"maxItems":400,"description":"Extra non-business dates YYYY-MM-DD (company closures, a calendar we do not carry)."},"cycleDays":{"type":"integer","maximum":30,"minimum":0,"description":"custom only."},"tradeDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"settlement":{"enum":["us-equities","custom"],"type":"string","description":"us-equities: T+1 since 2024-05-28 on the us-equities-settlement calendar (2026-2028). custom: cycleDays on calendar/holidays/weekend."},"claimedSettlementDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B3l5RMILiTTPYl_TQG4Sf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the T+1 US equities settlement date (or custom T+n) for a given trade date, counting only NYSE and Federal Reserve open days, and optionally validates an asserted settlement date.","exampleAgentPrompt":"What is the T+1 settlement date for a US equities trade placed on 2025-07-10, and can you also verify that 2025-07-14 is the correct settlement date? Use the us-equities-settlement calendar.","exampleUseCases":[{"title":"Verify broker settlement date claim","prompt":"My broker says a trade I placed on 2025-06-16 will settle on 2025-06-18 — can you check if that's correct under US equities T+1 rules, accounting for NYSE and Federal Reserve holidays?"},{"title":"Compute settlement for holiday-week trade","prompt":"I placed a US equities trade on 2025-11-26 — what's the actual T+1 settlement date given that Thanksgiving falls that week and the NYSE will be closed?"},{"title":"Custom T+2 settlement with caller calendar","prompt":"Using a custom 2-day settlement cycle with our internal holiday list of 2025-12-24 and 2025-12-26 and normal Saturday/Sunday weekends, what does the settlement date work out to for a trade placed on 2025-12-23?"}],"resultDescription":"Returns the computed settlement date as a YYYY-MM-DD string, an indication of whether a claimed settlement date matches, the calendar and version used for the calculation, and any caveats about inferred vs. published rules or unsupported date ranges.","failureModes":["Trade date falls outside the supported date range of the named calendar — returns an unsupported/error response","Invalid date format provided — rejects with schema validation error","cycleDays missing when settlement=custom — returns a validation error","Calendar requested is out of supported range (e.g. beyond 2028 for us-equities-settlement) — returns unsupported flag","Trade date falls on a non-business day — may return error or treat as next business day depending on implementation"],"whenToPreferThis":"Use this endpoint when you need programmatic, rule-based computation of US equities T+1 settlement dates per SEC regulation 17 CFR 240.15c6-1 (effective 2024-05-28), especially when you need to account for NYSE holidays and Federal Reserve Bank closures (e.g. Columbus Day, Veterans Day) that standard calendar libraries miss. Also use it for custom T+n settlement calculations with named or caller-supplied holiday calendars. Prefer this over generic business-day calculators when compliance with US equities settlement rules is required, or when you need to validate a broker- or counterparty-asserted settlement date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:37:48.534Z","isFirstParty":false,"canonicalSlug":"writerslogic-settlement-date-calculator-5325aa09"}