# Business Day & Deadline API

> Business Day & Deadline API is a paid API for AI agents from businessdayapi.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Checks whether a given date is a business day for a specific country (and optional subdivision), accounting for local holidays and country-specific weekend rules.

## Facts

- Endpoint: GET https://businessdayapi.com/v1/check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/business-day-deadline-api-e97f66ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0qrHwNhunilMtkoTSFXlG

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-deadline-api-e97f66ab
```

Example prompt: Is October 3rd 2026 a business day in Germany — specifically Bavaria? I need to know if it's a holiday or weekend before I schedule a payment deadline.

## When to prefer this

Choose this endpoint when you need authoritative, always-current business-day determination for a wide range of countries including those with non-standard weekends (e.g. Fri/Sat in Egypt, Thu/Fri in some Middle Eastern countries) or subnational holiday rules (e.g. German Bundesländer, US states). It is especially useful for scheduling systems, invoice/payment deadline automation, and contract date validation. Prefer it over general-purpose date libraries which may have stale or incomplete holiday data.

## Known failure modes

- Missing required 'date' or 'country' parameters returns a 400 error
- Invalid ISO date format returns a parsing error
- Unsupported or unrecognized country code may return no data or an error
- Invalid region/subdivision code may be ignored or return an error
- Weekend override with an unrecognized custom format may fail silently or return an error
- Network timeout or upstream data source unavailability may cause delayed or failed responses

## How this service works

Verified, always-current business-day arithmetic for ~200 countries incl. subdivisions (German Bundeslaender, US states) and correct per-country weekend rules (e.g. Fri/Sat in Egypt). Informational only — verify legally binding deadlines with the competent authority. Not legal advice.

## Output

A JSON object confirming whether the queried date is a business day, including the country, optional region, the reason if it is not (e.g. 'weekend' or named holiday), the holiday name if applicable, the data source (e.g. nager.date), and a verifiedAt timestamp indicating when the holiday data was last confirmed.

## 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",
     "required": [
      "date",
      "country"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "ISO date YYYY-MM-DD"
      },
      "region": {
       "type": "string",
       "description": "optional ISO 3166-2 subdivision suffix, e.g. BY (Bavaria), CA (California)"
      },
      "country": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2 country code, e.g. DE, US, JP"
      },
      "weekend": {
       "type": "string",
       "description": "optional override: sat-sun | fri-sat | custom:THU,FRI"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-10-03",
  "reason": "weekend",
  "region": "BY",
  "source": "nager.date",
  "country": "DE",
  "verifiedAt": "2026-08-17T00:00:00Z",
  "holidayName": "Tag der Deutschen Einheit",
  "isBusinessDay": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/business-day-deadline-api-e97f66ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from businessdayapi.com](https://www.zero.xyz/host/businessdayapi.com/llms.txt)
