{"uid":"cap_ctd6z38n32VAOh30JujQI","slug":"foundry-business-days-calculator-1620e895","name":"Foundry Business Days Calculator","description":"Business days between two dates: weekdays, weekend days and calendar days. Input: '2026-11-01 2026-11-30'.","url":"https://minty-sprout.onrender.com/v1/business-days?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"Two YYYY-MM-DD dates"}}},"responseSchema":{"type":"json","example":{"to":"2026-11-30","from":"2026-11-01","note":"Monday to Friday; public holidays are not excluded.","weekend_days":9,"business_days":21,"calendar_days":30}},"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_updGVMONRGXTv88c8Nqp3","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, weekend days, and calendar days between two dates","exampleAgentPrompt":"How many business days are there between 2026-11-01 and 2026-11-30? I also want to know the weekend days and total calendar days.","exampleUseCases":[{"title":"Project deadline working days","prompt":"How many business days do we have between 2025-03-01 and 2025-03-31? I need to plan a sprint and want to know weekdays vs weekend days."},{"title":"Contract duration in working days","prompt":"Our contract runs from 2025-06-15 to 2025-09-15 — can you tell me how many business days, weekend days, and total calendar days that covers?"},{"title":"Invoice payment window calculation","prompt":"We issue invoices on 2025-08-01 and they're due 2025-08-30 — how many business days is that payment window, and how many weekend days fall in between?"}],"resultDescription":"Returns a JSON object with the start date (from), end date (to), count of business days (Monday–Friday, excluding no public holidays), weekend days, and total calendar days, plus a note clarifying the counting methodology.","failureModes":["Invalid date format (non-YYYY-MM-DD input) may cause an error or unexpected result","End date before start date may return zero or negative counts","Missing or malformed input string returns an error","Network or server unavailability on the Render-hosted service"],"whenToPreferThis":"Use this endpoint when you need a quick, structured breakdown of business days vs weekend days vs calendar days for any date range, without needing public holiday exclusions. Ideal for scheduling, project planning, contract duration calculations, and invoice windows where a simple Monday–Friday count suffices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:41.504Z","isFirstParty":false,"canonicalSlug":"foundry-business-days-calculator-1620e895"}