{"uid":"cap_dNN0D2G9xAhPk8hLP5FKY","slug":"fittings-business-days-calculator-7ddd6e34","name":"fittings Business Days Calculator","description":"Add or subtract N business days from a date, skipping weekends and any supplied holiday dates.","url":"https://fittings.sh/v1/time/business-days","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":"ISO date YYYY-MM-DD"},"days":{"type":"number","description":"Business days to add; negative subtracts"},"holidays":{"type":"array","description":"Optional ISO dates to also skip"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006649","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.006649/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006649","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006649","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Oj3u7PbZelUJoHO7E_q54","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006649","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 date, skipping weekends and optional holiday dates, returning the resulting business date.","exampleAgentPrompt":"What date is 10 business days from 2025-06-01, skipping July 4th (2025-07-04)?","exampleUseCases":[{"title":"SLA deadline tracking for support tickets","prompt":"Our support SLA requires resolution within 5 business days. If a ticket was opened on 2025-06-03, what is the deadline date? Skip Memorial Day on 2025-05-26 and any other US federal holidays in that range."},{"title":"Invoice payment due date calculation","prompt":"I need to calculate when a Net-15 invoice is due — that's 15 business days from the invoice date of 2025-07-01. Can you work that out skipping weekends?"},{"title":"Regulatory filing deadline rollback","prompt":"I need to find the date that is 3 business days before 2025-12-25 — the deadline for submitting a regulatory filing. Skip December 25th and December 26th as holidays."}],"resultDescription":"Returns the resulting date after adding or subtracting the specified number of business days from the input date, with weekends and any provided holiday dates excluded from the count. The response is a date in ISO 8601 format (YYYY-MM-DD).","failureModes":["Invalid date format (non-ISO YYYY-MM-DD) returns an error","Missing required 'date' or 'days' query parameters returns a 400-level error","Malformed holidays array values cause a parsing error","Very large day offsets may behave unexpectedly if not bounded by the service","Network or upstream timeout returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need to compute a calendar date offset by a specific number of business days, accounting for weekends and custom holiday lists. It is ideal for SLA tracking, payment settlement windows, regulatory deadlines, and any scheduling logic that must skip non-working days. Prefer this over generic date-math libraries when you want a hosted, stateless, API-callable solution with holiday injection support, without managing calendar logic yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:00.220Z","isFirstParty":false}