{"uid":"cap_ZdBARyos5h6hrEkXwITJH","slug":"business-days-calculator-b3734509","name":"Business Days Calculator","description":"Add/subtract business days to a date, or count working days between two dates. Weekend- and custom-holiday-aware (0=Mon..6=Sun).","url":"https://api.24klabs.ai/api/business-days-calc","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"op":{"type":"string"},"days":{"type":"number"},"start":{"type":"string"},"holidays":{"type":"array"}}},"responseSchema":{"type":"json","example":{"result":"2026-01-08"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-6srVjzTohKrwirLl2DPX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Add or subtract business days to/from a date, or count working days between two dates, with weekend and custom holiday awareness.","exampleAgentPrompt":"What date is 10 business days from March 14, 2025, excluding Good Friday and Easter Monday as holidays?","exampleUseCases":[{"title":"SLA deadline calculation","prompt":"Our SLA requires responding within 5 business days from when a ticket is opened. The ticket was opened on April 1, 2025 — what is the exact deadline date, excluding weekends?"},{"title":"Working days between two dates","prompt":"How many business days are there between January 15, 2025 and February 28, 2025, excluding Martin Luther King Jr. Day on January 20th and Presidents' Day on February 17th?"},{"title":"Invoice payment due date","prompt":"Our payment terms are net 30 business days. If I issued an invoice on May 5, 2025, what date should the payment be due, skipping weekends and the Memorial Day holiday on May 26th?"}],"resultDescription":"Returns either the resulting date after adding/subtracting the specified number of business days, or the count of working days between two given dates. Accounts for weekends (Saturday and Sunday by default) and any custom holidays provided in the request.","failureModes":["Invalid date format — returns error if dates are not parseable ISO-8601 strings","Invalid day offset — non-integer or out-of-range business day count","Malformed holiday list — unrecognized date formats in custom holidays array","Missing required fields — error if neither an offset nor an end date is provided","Network timeout or service unavailability returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need reliable, calendar-aware business day arithmetic that respects weekends and custom holidays — especially for SLA tracking, invoice due dates, delivery estimates, or any scheduling workflow. Prefer it over generic date-math libraries when you need a simple, hosted, pay-per-call solution without managing holiday calendars in your own codebase.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:00:50.940Z","isFirstParty":false}