{"uid":"cap_elOzeYcDXWkfgHlm45rVS","slug":"logicnodes-business-days-calculator-4143c62f","name":"LogicNodes Business Days Calculator","description":"Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.","url":"https://logicnodes.io/paid/v1/tools/business_days?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"op":{"enum":["count","add","is_business_day"],"type":"string"},"to":{"type":"string"},"days":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"from":{"type":"string"},"weekend":{"enum":["sat_sun","fri_sat","sun_only","none"],"type":"string"},"holidays":{"type":"array","items":{"type":"string"},"maxItems":400}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"business_days"}},"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_tpfuL8ghPufsOUJG_Sh6-","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 business days between two dates, adds business days to a date, or checks if a date is a business day — with configurable weekend and holiday rules.","exampleAgentPrompt":"How many business days are there between March 3 and March 28, 2025, using a Saturday-Sunday weekend and excluding March 17 and March 20 as holidays?","exampleUseCases":[{"title":"Payment settlement deadline calculation","prompt":"A payment was initiated on April 1, 2025 — what date will it settle if it takes 5 business days, using a Saturday-Sunday weekend and skipping April 18 as a holiday?"},{"title":"Contract turnaround deadline check","prompt":"Is July 4, 2025 a business day if we use a Monday-Friday workweek with Saturday and Sunday as the weekend? I need to know if I can set it as a contract deadline."},{"title":"Invoice due date counting","prompt":"Count the number of business days between January 15 and February 15, 2025, treating Friday and Saturday as the weekend and excluding January 29 and February 5 as holidays."}],"resultDescription":"A JSON object with 'ok: true' and 'tool: business_days', plus the computed result: either a count of business days, a calculated target date, or a boolean indicating whether the given date is a business day — depending on the operation requested.","failureModes":["Invalid date string format returns an error","Days parameter out of reasonable range may fail validation","More than 400 holidays in the list will be rejected","Invalid enum value for 'op' or 'weekend' returns a schema error","Missing required fields for the chosen operation (e.g. 'to' missing for 'count') causes an error"],"whenToPreferThis":"Choose this endpoint when you need deterministic, configurable business-day arithmetic — especially when weekend conventions differ from the Western Mon–Fri standard (e.g. Middle Eastern Fri–Sat weekends) or when you need to factor in a specific list of public holidays. Prefer it over date libraries or LLM reasoning for exact, auditable results in scheduling, finance, or contract workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:06:31.764Z","isFirstParty":false,"canonicalSlug":"logicnodes-business-days-calculator-4143c62f"}