# Business Day & Compliance Oracle

> Business Day & Compliance Oracle is a paid API for AI agents from store.cryptotradecalc.com, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-14).

Counts actual trading/business days between two dates for a given country, excluding weekends and public holidays, with optional subdivision-level precision.

## Facts

- Endpoint: GET https://store.cryptotradecalc.com/api/business-days
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/business-day-compliance-oracle-7965aefc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oCX6x2XOhn_krogSRKO-a

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability business-day-compliance-oracle-7965aefc
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

business-day-oracle: Business Day & Compliance Oracle – counts actual trading days between two dates for a given country, excluding weekends and public holidays.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/business-day-compliance-oracle-7965aefc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from store.cryptotradecalc.com](https://www.zero.xyz/host/store.cryptotradecalc.com/llms.txt)
