{"uid":"cap_nw673duqgpjYgibwTy9bh","slug":"agent402-international-business-days-calculator-be43ef3c","name":"Agent402 International Business Days Calculator","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/time/business-days-intl","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","country"],"properties":{"end":{"type":"string","description":"YYYY-MM-DD"},"start":{"type":"string","description":"YYYY-MM-DD"},"country":{"type":"string","description":"ISO alpha-2"},"exclude_holidays":{"type":"string","description":"default true"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"country":"DE","holiday_days":1,"business_days":21}},"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_46bHhLJf1_76vyWFw66wv","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 for any ISO country, excluding weekends and public holidays via Nager.Date data.","exampleAgentPrompt":"How many business days are there between March 3 2025 and April 30 2025 in Germany, excluding public holidays?","exampleUseCases":[{"title":"SLA deadline tracking across borders","prompt":"Our vendor agreement says delivery must happen within 15 business days. The contract started on May 1 2025 and the other party is in France — how many business days have passed by May 31 2025?"},{"title":"Payroll cycle planning for international team","prompt":"How many business days are there between July 1 2025 and July 31 2025 in Japan? I need to plan our payroll run around their public holidays."},{"title":"Cross-border contract duration check","prompt":"Can you calculate the number of business days between January 15 2025 and March 15 2025 for Brazil? I'm trying to verify if a 40-business-day SLA was met."}],"resultDescription":"Returns a JSON object with the ISO country code, the count of holiday days within the range, and the total number of business days (excluding weekends and public holidays).","failureModes":["Invalid or unsupported ISO country code returns an error","Malformed date format (non-YYYY-MM-DD) causes a 400 bad request","End date before start date may return zero or an error","Nager.Date may lack data for very small or unrecognized territories","Network timeout on the underlying public holiday data source"],"whenToPreferThis":"Use this endpoint when you need accurate business day counts for any country globally, especially for SLA calculations, contract deadlines, or cross-border scheduling that must account for country-specific public holidays. Prefer this over manual calendar math or single-country solutions. For UK-specific bank holidays with official government accuracy, pair with /v1/uk/bank-holidays.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:30:53.619Z","isFirstParty":false}