{"uid":"cap_C71M1DbS2ABPjFBVWkNng","slug":"polyform-business-days-calculator-2e26307c","name":"Polyform Business Days Calculator","description":"Business days between two dates (exclusive of end), skipping weekends and US federal holidays; also returns the holiday list in range. Pure computation. JSON.","url":"https://polyform.polyform-org.workers.dev/v1/time/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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_Fpdaq8uG-SZlBeVzo2v0t","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":"Calculates the number of business days between two dates, excluding weekends and US federal holidays, and returns the list of holidays in the date range.","exampleAgentPrompt":"How many business days are there between March 1, 2025 and June 30, 2025, not counting weekends or US federal holidays? Also tell me which holidays fall in that range.","exampleUseCases":[{"title":"Contract SLA deadline calculation","prompt":"How many business days are between April 15, 2025 and July 15, 2025, skipping weekends and US federal holidays? I need to know if a 60-business-day SLA fits in that window."},{"title":"Payroll processing schedule","prompt":"Count the business days from January 1, 2025 to December 31, 2025, excluding weekends and all US federal holidays — and list out which holidays get skipped."},{"title":"Project timeline estimation","prompt":"My project kicks off on September 2, 2025 and the deadline is November 28, 2025. How many actual working days is that, excluding weekends and US federal holidays?"}],"resultDescription":"Returns the count of business days between the two dates (exclusive of the end date), skipping weekends and US federal holidays, along with an enumerated list of the federal holidays that fall within the specified date range.","failureModes":["Missing or malformed start/end date parameters returns an error","End date before start date may return zero or an error","Dates outside supported range may fail","Non-US holiday calendars are not supported — only US federal holidays are excluded"],"whenToPreferThis":"Use this endpoint when you need a quick, pure-computation answer for the number of business days between two dates under the US federal holiday calendar. Ideal for SLA calculations, contract timelines, payroll scheduling, and any use case where weekends and US federal public holidays must be excluded. Prefer this over general-purpose date libraries when you also need the holiday list returned alongside the count.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-09T18:46:38.957Z","isFirstParty":false,"canonicalSlug":"polyform-business-days-calculator-2e26307c"}