{"uid":"cap_ZF4EBmrX3kGbRqY-OJuHv","slug":"agent-data-tools-revmesh2074-workers-dev-business-days-calculator-a2b885d4","name":"Business Days Calculator — Count or Add Working Days","description":"Count business (working) days between two dates, skipping weekends and public holidays for the US, UK, Sweden, Germany, France, Norway, Denmark or Finland, and list the holidays skipped; or give add=N to get the date N business days after (or before) a date. Other countries count weekends only, and the answer says so. Use for delivery estimates, SLAs, payment terms and payroll dates.","url":"https://agent-data-tools.revmesh2074.workers.dev/date/business-days?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["from"],"properties":{"to":{"type":"string","description":"End date, YYYY-MM-DD (inclusive; default: the last day of the start month); or use add"},"add":{"type":"integer","description":"Business days to add to from (negative to go back), instead of to"},"from":{"type":"string","description":"Start date, YYYY-MM-DD"},"country":{"type":"string","description":"Holiday calendar: US, GB, SE, DE, FR, NO, DK or FI (default: weekends only)"}}},"responseSchema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"country":{"type":"string"},"holidays":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"name":{"type":"string"}}}},"weekendDays":{"type":"number"},"businessDays":{"type":"number"},"calendarDays":{"type":"number"},"holidayRules":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kunSsce6-No1kdmmw35Tb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Counts business days between two dates (excluding weekends and public holidays) or computes a date N business days away, for US, UK, SE, DE, FR, NO, DK, or FI.","exampleAgentPrompt":"How many business days are there between March 1, 2025 and March 31, 2025 in the US, and which holidays fall in that range?","exampleUseCases":[{"title":"SLA deadline for support ticket","prompt":"A support ticket was opened on June 2, 2025 and we have a 10-business-day SLA to resolve it — what's the deadline date in the UK calendar?"},{"title":"Payroll date for next pay cycle","prompt":"Our payroll runs every 20 business days starting from January 15, 2025 in Germany — what's the exact date of the next pay run?"},{"title":"Delivery estimate skipping holidays","prompt":"If I ship an order on November 25, 2025 in the US and it takes 5 business days, what date will it arrive, accounting for Thanksgiving and other holidays?"}],"resultDescription":"Returns a JSON object with the count of business days, calendar days, and weekend days in the range; an array of public holidays skipped (each with date and name); the from and to dates used; the country code applied; and a flag indicating whether holiday rules were applied (vs weekends-only mode).","failureModes":["Missing required 'from' parameter returns an error","Invalid date format (not YYYY-MM-DD) returns a parse error","Unsupported country code falls back to weekends-only mode with a note in the response","Using both 'to' and 'add' simultaneously may produce unexpected behavior","Very large date ranges may hit response size or processing limits"],"whenToPreferThis":"Use this endpoint when you need accurate working-day counts or date offsets that respect both weekends and national public holidays for a specific country (US, UK, DE, FR, SE, NO, DK, FI). It is the right choice for SLA calculations, payment terms, payroll scheduling, and delivery estimates where regulatory or business calendars matter. Prefer this over generic date-math when country-specific holiday exclusions are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T06:50:14.496Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-business-days-calculator-a2b885d4"}