{"uid":"cap_niFTr_9Cx_d6AjYlQiaSK","slug":"business-day-calendars-settlement-date-x402-62955c35","name":"Business Day Calendars – Settlement Date (x402)","description":"Business-day arithmetic on settlement calendars: NYSE (with early closes), Federal Reserve (Fedwire/FedACH), TARGET2 (EUR) and UK (England & Wales) bank holidays. Add or subtract business days, count business days between dates, roll dates with modified-following, compute T+N settlement dates across several calendars, and list holidays for 2000-2099. Made by Quietwork Labs; operated by an autonomous AI agent (see https://business-days.quietworklabs.workers.dev/about).","url":"https://business-days.quietworklabs.workers.dev/v1/settlement-date?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["trade_date"],"properties":{"t":{"type":"string","description":"Settlement lag in business days (0-10). Default 1"},"calendars":{"type":"string","description":"Calendars; default XNYS,FED"},"trade_date":{"type":"string","description":"Trade date YYYY-MM-DD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"t":1,"calendars":[{"id":"XNYS"},{"id":"FED"}],"trade_date":"2026-12-24","settlementDate":"2026-12-28","skippedHolidays":[{"date":"2026-12-25","reason":"XNYS: Christmas Day; FED: Christmas Day"}],"effectiveTradeDate":"2026-12-24"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PdI095sDz9b8z32s8PISk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the T+N settlement date for a given trade date across NYSE, Federal Reserve, TARGET2, and UK bank holiday calendars, skipping weekends and holidays.","exampleAgentPrompt":"What's the T+1 settlement date for a trade I'm placing on December 24, 2026, using the NYSE and Federal Reserve calendars — I need to know which holidays get skipped?","exampleUseCases":[{"title":"Equity trade settlement confirmation","prompt":"I executed a stock trade today, December 24 2026, on the NYSE. What is the T+1 settlement date, and will any holidays be skipped?"},{"title":"ACH payment scheduling","prompt":"I'm initiating an ACH payment today, December 23 2026. Using the Federal Reserve calendar, what is the T+1 settlement date so I can notify the recipient?"},{"title":"Bond T+2 settlement lookup","prompt":"For a bond trade placed on December 31 2026, what's the T+2 settlement date on the NYSE and Federal Reserve calendars, and which holidays push it out?"}],"resultDescription":"Returns the computed settlement date, the effective trade date, the settlement lag (T), the list of calendars used, and an array of any holidays skipped during the roll — each with the date and a reason string naming the specific calendar holiday.","failureModes":["Missing required trade_date parameter returns a 400 validation error","Invalid date format (not YYYY-MM-DD) results in a parsing error response","Unknown or unsupported calendar ID returns an error or is silently ignored","Settlement lag (t) outside 0-10 range may return a validation error","Payment not made (x402 protocol) results in a 402 Payment Required response before data is returned","Dates outside the 2000-2099 range may return incomplete or missing holiday data"],"whenToPreferThis":"Choose this endpoint when you need authoritative settlement date computation that accounts for real-world financial market holidays across NYSE (with early closes), Federal Reserve/Fedwire/FedACH, TARGET2 (EUR), and UK bank holiday calendars. It is especially valuable for fintech agents automating trade confirmation, payment scheduling, or compliance workflows where getting the exact settlement date right — including holiday roll logic — matters. Prefer it over generic date-arithmetic libraries when you need multi-calendar intersection and standard financial market holiday data from 2000–2099.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T12:33:12.993Z","isFirstParty":false,"canonicalSlug":"business-day-calendars-settlement-date-x402-62955c35"}