{"uid":"cap_U-oyrEYkUxLO3SyeSGUcX","slug":"business-days-calculator-3afea475","name":"Business Days Calculator","description":"Add business days to a date, or count them between two dates, for ~110 countries. Knows each country's weekend (Friday-Saturday where that applies, not just Sat-Sun) and its national public holidays, and names every day it skipped. Holidays observed only in some provinces are deliberately NOT treated as national closures — they are listed separately so you can apply them when your case is regional. Built for payment terms, SLAs and delivery dates.","url":"https://402.com.tr/api/x402/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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["country"],"properties":{"to":{"type":"string","description":"…or an end date, to count business days instead"},"add":{"type":"string","description":"Business days to add"},"from":{"type":"string","description":"Start date (optional, defaults to today)"},"country":{"type":"string","description":"Country (2-letter ISO)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_sMikm_Mh2vzU6wUbxZ06Q","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 a number of business days to a date, or count business days between two dates, for ~110 countries with country-specific weekends and national public holidays.","exampleAgentPrompt":"What date is 30 business days from today in Germany, and list all the holidays or weekends that get skipped along the way?","exampleUseCases":[{"title":"Invoice net-30 payment deadline","prompt":"Our invoice was issued on March 3rd and payment terms are net-30 business days in France — what's the exact due date, and which holidays are skipped?"},{"title":"SLA deadline for UK customer ticket","prompt":"A support ticket was opened on April 14th in the UK and our SLA requires resolution within 10 business days — what's the deadline date?"},{"title":"Count working days for project timeline","prompt":"How many business days are there between May 1st and June 30th in Japan? I need this for a project milestone plan."}],"resultDescription":"Returns the resulting date after adding business days (or the count of business days between two dates), along with a named list of every skipped day including why it was skipped (public holiday name or weekend), for the specified country using that country's correct weekend definition and national public holidays.","failureModes":["Invalid or unsupported country code returns an error — only ~110 countries supported","Malformed date strings (non-ISO format) may cause parsing errors","Missing required 'country' parameter returns a validation error","Requesting a date range spanning many years may cause unexpected behavior","Provincial/regional holidays are not treated as national closures — users expecting them to be excluded may get incorrect results for regional use cases"],"whenToPreferThis":"Choose this endpoint when you need country-aware business day arithmetic that correctly handles non-Saturday/Sunday weekends (e.g. Friday-Saturday in some Middle Eastern countries) and national public holidays for ~110 countries. It is specifically designed for payment terms, SLA deadlines, and delivery date calculations where knowing exactly which holidays were skipped and why is important. Prefer it over generic date-math libraries that ignore holidays or assume universal Sat-Sun weekends.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:40:26.343Z","isFirstParty":false,"canonicalSlug":"business-days-calculator-3afea475"}