{"uid":"cap_oCX6x2XOhn_krogSRKO-a","slug":"business-day-compliance-oracle-7965aefc","name":"Business Day & Compliance Oracle","description":"business-day-oracle: Business Day & Compliance Oracle – counts actual trading days between two dates for a given country, excluding weekends and public holidays.","url":"https://store.cryptotradecalc.com/api/business-days","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","properties":{"endDate":{"type":"string"},"startDate":{"type":"string"},"countryCode":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dbNgSEG1Y4wT-jiK2XTPD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts actual trading/business days between two dates for a given country, excluding weekends and public holidays, with optional subdivision-level precision.","exampleAgentPrompt":"How many actual trading days are there between March 3 and June 30, 2025 in the UK — specifically for Scotland (GB-SCT), excluding weekends and public holidays?","exampleUseCases":null,"resultDescription":"Returns the count of business/trading days between the specified start and end dates for the given country, with weekends and nationwide public holidays excluded. If a subdivision region code is provided (e.g. GB-SCT, DE-BY), the count is further refined to exclude region-specific public holidays.","failureModes":["Invalid or unsupported country code returns an error or zero count","Malformed date format (non-ISO) causes a 400 bad request","Invalid ISO 3166-2 region code not recognized for the given country","Start date after end date may return zero or negative count","Missing required startDate or endDate parameters returns a 400 error","Holiday data unavailable for a specific country may result in partial or approximate counts"],"whenToPreferThis":"Choose this endpoint when you need precise business/trading day counts between two dates accounting for country-specific public holidays, not just weekday counting. Especially valuable for financial settlement calculations (T+2, T+3), contract deadline computation, compliance reporting windows, or any use case where regional public holidays in a specific country or subdivision matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:55:05.349Z","isFirstParty":false}