# Japan Business Day API – Add Business Days

> Japan Business Day API – Add Business Days is a paid API for AI agents from japan-business-day-api.matchan962.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Given a starting date and an integer offset, returns the resulting Japanese business day by skipping weekends and national/bank holidays.

## Facts

- Endpoint: GET https://japan-business-day-api.matchan962.workers.dev/v1/add-business-days?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/japan-business-day-api-add-business-days-c90533e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V-8PgLsRiWLwyA-y54RYK

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 japan-business-day-api-add-business-days-c90533e4
```

Example prompt: Starting from 2026-12-25, what date is 3 Japanese business days later using the bank calendar — one that also skips Dec 31 through Jan 3?

## When to prefer this

Use this endpoint when you need to compute a future or past Japanese business date by advancing or retreating a fixed number of working days, and you need accurate skipping of Japanese national holidays and/or bank-specific year-end holidays. Prefer it over generic date libraries that lack Japan-specific holiday data. Choose the 'bank' calendar when dealing with financial transactions, settlements, or banking deadlines; use 'national' for general business scheduling.

## Known failure modes

- Missing required query parameters 'date' or 'days' returns a 400 error
- 'days' value outside the -366 to 366 range is rejected
- Invalid date format (non-ISO 8601) causes a parsing error
- HTTP 402 returned if payment is not provided via x402 protocol before the data response
- Invalid 'calendar' enum value rejected; must be 'national' or 'bank'

## How this service works

Add or subtract N Japanese business days from a date (e.g. settlement date T+2, delivery ETA). Skips weekends and national holidays; optional bank calendar.

## Output

A JSON object containing the input date, the days offset requested, the resulting business date after skipping weekends and applicable Japanese holidays, and the calendar type used (national or bank).

## 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",
      "days"
     ],
     "properties": {
      "date": {
       "type": "string",
       "format": "date"
      },
      "days": {
       "type": "integer",
       "maximum": 366,
       "minimum": -366
      },
      "calendar": {
       "enum": [
        "national",
        "bank"
       ],
       "type": "string",
       "description": "national = weekends + Japanese national holidays; bank = also Dec 31 - Jan 3 (bank holidays)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-12-28",
  "days": 3,
  "result": "2027-01-04",
  "calendar": "bank"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/japan-business-day-api-add-business-days-c90533e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from japan-business-day-api.matchan962.workers.dev](https://www.zero.xyz/host/japan-business-day-api.matchan962.workers.dev/llms.txt)
