{"uid":"cap_nvQiAyPVQw_L22KjhNwse","slug":"agenttools-business-day-counter-f1b3d597","name":"AgentTools Business Day Counter","description":"Count business days (Mon–Fri) between two dates, with weekend and holiday breakdown. Provide a country code and real public holidays (via Nager.Date) are excluded too. Use this when an agent needs to working days between dates, optionally minus public holidays.","url":"https://agenttools-hub.vercel.app/api/v1/live/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":["start","end"],"properties":{"end":{"type":"string","description":"End date"},"start":{"type":"string","description":"Start date"},"country":{"type":"string","description":"Excludes that country's public holidays"}}}},"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_w2Wgjx68VaZaP2Zj8u-qN","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":"Counts working days (Mon–Fri) between two dates, breaking out weekends and optionally excluding public holidays for a given country via Nager.Date","exampleAgentPrompt":"How many business days are there between March 3 and April 18, 2025, excluding US public holidays?","exampleUseCases":[{"title":"Project deadline working-day buffer","prompt":"We're kicking off a project on May 5th and the deadline is June 20th, 2025 — how many actual business days do we have to work with, excluding UK public holidays?"},{"title":"Invoice net-30 payment terms verification","prompt":"An invoice was issued on February 1st 2025 and the client says net-30 business days apply. What date does that land on, and how many working days are between Feb 1 and March 17 excluding US holidays?"},{"title":"SLA compliance tracking","prompt":"I need to know how many business days passed between January 6th and January 31st 2025 in Germany, excluding German public holidays, so I can check if we breached our SLA."}],"resultDescription":"Returns the count of business days (Mon–Fri) between the two provided dates, along with a breakdown of weekend days excluded and public holidays excluded (if a country code was supplied). Holiday data is sourced from Nager.Date for real national public holidays.","failureModes":["Missing required 'start' or 'end' query parameters returns an error","Invalid date format (non-ISO) may cause a parse error or unexpected results","Unsupported or unrecognized country code may result in no holidays being excluded or an error","End date before start date may return zero or a negative count","Nager.Date upstream unavailability may affect holiday exclusion accuracy"],"whenToPreferThis":"Use this endpoint when you need a reliable, fast computation of working days between two dates with optional country-specific public holiday exclusion. Prefer it over manual calendar arithmetic when holiday accuracy matters for SLAs, payment terms, project planning, or compliance deadlines. It is cheaper and simpler than spinning up a full calendar API integration and supports real national holiday calendars via Nager.Date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:44.055Z","isFirstParty":false,"canonicalSlug":"agenttools-business-day-counter-f1b3d597"}