{"uid":"cap_hYZqbf2HjLimWBFJ-zCKc","slug":"business-day-calendars-list-holidays-e3741ebc","name":"Business Day Calendars – List Holidays","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/holidays?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":["calendar","year"],"properties":{"year":{"type":"string","description":"Year 2000-2099"},"calendar":{"type":"string","description":"XNYS, FED, TARGET2 or UK-ENG"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"year":2027,"source":"https://www.nyse.com/markets/hours-calendars","calendar":"XNYS","holidays":[{"date":"2027-01-01","name":"New Year's Day","type":"closed"},{"date":"2027-11-26","name":"Day after Thanksgiving","type":"early_close","closeTime":"13:00 America/New_York"}]}},"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_iXxSzC1NNpKfC8sTYihsg","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":"Returns all official holidays and early closes for a given calendar (NYSE, Federal Reserve, TARGET2, or UK) for a specified year between 2000 and 2099.","exampleAgentPrompt":"Can you list all the NYSE holidays and early closes for 2025, including the exact close times for early-close days?","exampleUseCases":[{"title":"Settlement schedule for trade ops","prompt":"I need to know all the Federal Reserve Fedwire non-settlement days for 2026 — can you pull the full FED holiday list for that year?"},{"title":"European payment cutoff planning","prompt":"What are all the TARGET2 non-business days in 2025? I need to know which dates the euro payment system is closed so we can plan our settlement schedule."},{"title":"NYSE early-close alert setup","prompt":"Can you get me all the NYSE early closes for 2024, including the exact closing times in New York? I want to make sure our trading desk is aware of them in advance."}],"resultDescription":"A JSON object containing the calendar code, year, source URL, and an array of holiday entries — each with a date (ISO 8601), holiday name, type ('closed' or 'early_close'), and for early closes the closing time with timezone.","failureModes":["Missing required 'calendar' or 'year' query parameters returns an error","Invalid calendar code (not XNYS, FED, TARGET2, or UK-ENG) returns an error","Year outside 2000–2099 range returns a validation error","Payment failure (x402) if USDC payment is not properly attached","Network timeout on the Cloudflare Workers edge"],"whenToPreferThis":"Use this endpoint when you need the authoritative, machine-readable list of market or banking holidays for a specific year and settlement calendar (NYSE, Fed, TARGET2, or UK), especially when building business-day arithmetic, trade settlement engines, or payment scheduling systems. Prefer it over manual calendar scraping or generic holiday APIs that don't distinguish between early closes and full closes, or that lack settlement-specific calendars like Fedwire/FedACH and TARGET2.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:32:11.294Z","isFirstParty":false,"canonicalSlug":"business-day-calendars-list-holidays-e3741ebc"}