{"uid":"cap_JZQqhokAdkj1CA28hIyU7","slug":"work-time-calc-add-business-days-8acac1d9","name":"Work Time Calc – Add Business Days","description":"Add or subtract N business days from a date, skipping weekends and your holiday list, WORKDAY style.","url":"https://work-time-calc.x402tookit.com/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":"integer","description":"Business days to add (negative goes back), -20000 to 20000"},"weekend":{"type":"string","description":"Comma-separated weekend days, default sat,sun; none for a 7-day week"},"holidays":{"type":"string","description":"Comma-separated holiday dates YYYY-MM-DD (up to 500)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"result":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"weekday":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"calendarDaysMoved":{"type":["null","number"]},"startIsBusinessDay":{"type":["boolean","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RsYWs9QhkAy7m06gpy7zb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Add or subtract N business days from a start date, skipping configurable weekends and holidays (Excel WORKDAY-style).","exampleAgentPrompt":"Starting from 2025-03-01, what date is 20 business days out, skipping Saturdays and Sundays plus these holidays: 2025-03-17 and 2025-04-18?","exampleUseCases":[{"title":"Contract closing date calculation","prompt":"Our deal signed on 2025-07-01 — what's the closing date if the contract requires 45 business days to close, skipping weekends and these US holidays: 2025-07-04, 2025-09-01?"},{"title":"Invoice payment due date","prompt":"An invoice was issued on 2025-06-10 with net-30 business days payment terms. What's the actual due date, excluding Saturdays, Sundays, and 2025-06-19?"},{"title":"Project deadline countdown backwards","prompt":"I need to finish a deliverable that's due 2025-08-15 — what date do I need to start if I work backwards 10 business days, skipping weekends?"}],"resultDescription":"Returns a JSON object with the computed result date (YYYY-MM-DD), the weekday name of that date, the number of calendar days actually moved, whether the start date was itself a business day, a plain-English summary, and metadata fields like source, asOf, and any degraded-mode warnings.","failureModes":["Missing required 'date' or 'days' parameters returns an error","Invalid date format (not YYYY-MM-DD) causes a parsing error","'days' value outside -20000 to 20000 range is rejected","More than 500 holidays provided exceeds the limit","Malformed holiday date strings in the list cause validation errors","Payment failure (x402) returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to compute a future or past date by counting only working days — equivalent to Excel's WORKDAY function — especially when you need custom holiday exclusion lists and configurable weekend definitions. Prefer it over general date-math APIs when business-day semantics (skipping non-working days) are required rather than simple calendar-day arithmetic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:45.163Z","isFirstParty":false,"canonicalSlug":"work-time-calc-add-business-days-8acac1d9"}