{"uid":"cap_oJ_kueJzhAv4I0YMDeNWj","slug":"business-day-calendars-add-business-days-9f20cb36","name":"Business Day Calendars – Add Business Days","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/add-business-days?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":["date","days"],"properties":{"date":{"type":"string","description":"Start date YYYY-MM-DD"},"days":{"type":"string","description":"Business days to add, -2000..2000"},"calendars":{"type":"string","description":"Comma list of calendars; a day is a business day only if open in all. XNYS (NYSE), FED (Fedwire/FedACH), TARGET2 (EUR), UK-ENG. Aliases: NYSE, US, ACH, EUR, UK. Default FED."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"date":"2026-12-23","days":2,"result":"2026-12-28","calendars":[{"id":"XNYS","name":"NYSE"},{"id":"FED","name":"Federal Reserve (Fedwire/FedACH)"}],"resultDayOfWeek":"Monday","skippedHolidays":[{"date":"2026-12-25","reason":"XNYS: Christmas Day; FED: Christmas Day"}]}},"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_FYK4mCORdDhDfkLa_88qA","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":"Adds or subtracts a number of business days to a start date using NYSE, Federal Reserve, TARGET2, or UK settlement calendars, returning the resulting date and any skipped holidays.","exampleAgentPrompt":"Starting from December 23, 2026, what date is 2 business days later using both the NYSE and Federal Reserve calendars combined?","exampleUseCases":[{"title":"T+2 equity settlement date","prompt":"I sold shares on April 14, 2025 — what is the T+2 settlement date using the NYSE calendar?"},{"title":"ACH payment value date","prompt":"If I initiate an ACH transfer today, April 14, 2025, what date will it settle on assuming 1 Federal Reserve business day?"},{"title":"EUR bond settlement on TARGET2","prompt":"What date is 3 business days after May 29, 2025 on the TARGET2 euro calendar — I need the settlement date for a European bond trade?"}],"resultDescription":"Returns the computed result date (YYYY-MM-DD), the day of week for that date, the number of days added, the calendars applied, and a list of skipped holidays with the reason each was skipped (e.g. 'XNYS: Christmas Day').","failureModes":["Invalid date format (not YYYY-MM-DD) returns a 400 error","Days value outside -2000..2000 range returns a validation error","Unknown calendar identifier returns an error listing valid calendars","Date beyond 2099 or before 2000 may be outside supported holiday data range"],"whenToPreferThis":"Choose this endpoint when you need authoritative business-day arithmetic tied to specific financial settlement calendars (NYSE, Fedwire/FedACH, TARGET2, or UK bank holidays) rather than a simple weekday counter. It is the right choice for computing T+N settlement dates, payment value dates, or any scheduling logic that must respect real market or central-bank holiday schedules.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:08.729Z","isFirstParty":false,"canonicalSlug":"business-day-calendars-add-business-days-9f20cb36"}