{"uid":"cap_bI-vT_114yfhzvri_3f5n","slug":"bizcal-api-between-count-business-days-between-two-dates-a2bfa084","name":"bizcal-api /between — Count Business Days Between Two Dates","description":"Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, basewatch, chainread, check-sanctions, chgwatch, company-facts, composite, edgar, feednews, pageaudit, solcheck, token-dd, txpreflight, walletcheck, webmd, webread, websearch, x402index. Each operation describes its service.","url":"https://api.firstmention.uk/s/bizcal-api/between?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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"date":{"type":"string"},"country":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"date":{"type":"string"},"country":{"type":"string"},"holiday":{"type":"string"},"weekday":{"type":"string"},"is_holiday":{"type":"boolean"},"is_weekend":{"type":"boolean"},"is_business_day":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"end":"2026-12-05","start":"2026-11-20","country":"US","holidays":[{"date":"2026-11-26","name":"Thanksgiving Day"}],"business_days":10,"weekday_holidays":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vvUEEwqGvTrxJECY9r_pY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts the number of business days between two dates for a given country (US, UK, Germany, France, Netherlands), accounting for weekends and national public holidays.","exampleAgentPrompt":"How many business days are there between March 1 and June 30, 2025 in the US, accounting for federal holidays?","exampleUseCases":[{"title":"Contract deadline calculation","prompt":"Our contract says delivery is due 45 business days after signing. We signed on April 1, 2025 and the counterparty is in Germany — how many business days are there between April 1 and June 30, 2025 in Germany so I can check if we're within the window?"},{"title":"SLA compliance check","prompt":"We have a 30-business-day SLA for UK customers. The ticket opened on January 6, 2025 and was resolved on February 28, 2025 — how many business days is that in the UK (England & Wales)?"},{"title":"Payroll cycle planning","prompt":"I need to know how many business days fall between January 1 and March 31, 2025 in France so I can plan our Q1 payroll schedule around French public holidays."}],"resultDescription":"Returns a JSON object with: business_days (int), calendar_days (int), weekend_days (int), weekday_holidays (int), plus a holidays array listing each public holiday (date, name, weekday) that falls in the range, along with the echoed start, end, and country parameters and an optional note.","failureModes":["Missing required query parameters (country, start, end) — returns 400 Bad Request","Invalid date format (non-YYYY-MM-DD) — returns 400 validation error","Unsupported country code (anything other than US, GB, DE, FR, NL) — returns 400 or enum validation error","Start date after end date — may return 0 business days or an error","Payment not included or insufficient USDC balance — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need the exact count of net working days between two dates for one of the five supported countries (US, UK/England & Wales, Germany, France, Netherlands), factoring in both weekends and national public holidays. It is ideal for SLA calculations, contract deadline arithmetic, payroll planning, and any scheduling logic that must respect country-specific holidays. Prefer it over generic date-diff utilities when holiday-aware business-day counts are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:37:55.097Z","isFirstParty":false,"canonicalSlug":"bizcal-api-between-count-business-days-between-two-dates-a2bfa084"}