# Business Day Checker

> Business Day Checker is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-10-12).

Checks if a given date is a business day in a specified country, accounting for weekends and public holidays, and returns the next business day if it is not.

## Facts

- Endpoint: GET https://api.strale.io/x402/business-day-check?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-d7559eea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qdTNe8l05jlUjRHbtK57N

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 api-strale-io-d7559eea
```

Example prompt: Is December 26 2025 a business day in the UK, and if not, what's the next business day?

## When to prefer this

Use this endpoint when you need to programmatically verify whether a specific date is a valid working/business day in a particular country, especially when scheduling payments, contract deadlines, or automated workflows that must land on a business day. Ideal for multi-country business logic where public holiday calendars vary.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) returns a 400 error
- Unsupported or invalid ISO country code returns an error or unexpected results
- Dates far in the future may have incomplete public holiday data
- Network or service unavailability returns a 5xx error
- Payment failure via x402 protocol prevents access

## How this service works

Check if a specific date is a business day in a given country. Accounts for weekends and public holidays. Also returns the next business day if the given date is not one.

## Output

Returns a boolean indicating whether the queried date is a business day in the given country, along with the next business day date if it is not, accounting for both weekends and country-specific public holidays.

## Example request

```json
{
 "date": "2025-12-26",
 "country_code": "GB"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "country_code",
  "date"
 ],
 "properties": {
  "date": {
   "type": "string",
   "description": "Date to check (YYYY-MM-DD)"
  },
  "country_code": {
   "type": "string",
   "description": "ISO 2-letter country code"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "reason": {
  "type": "string"
 },
 "is_business_day": {
  "type": "boolean"
 },
 "next_business_day": {
  "type": "string"
 },
 "previous_business_day": {
  "type": "string"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-d7559eea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
