# Japan Business Day API – List Holidays

> Japan Business Day API – List Holidays 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).

Returns a list of Japanese national or bank holidays for a given year, with dates and names in Japanese and English.

## Facts

- Endpoint: GET https://japan-business-day-api.matchan962.workers.dev/v1/holidays?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-list-holidays-0a54910b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OWqLB56bolSxuJ4N4nfos

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-list-holidays-0a54910b
```

Example prompt: Can you get me the full list of Japanese national holidays for 2025, including the official Japanese and English names?

## When to prefer this

Use this endpoint when you need a complete list of all Japanese holidays for a full calendar year, especially when you need both national and bank-specific holidays. It is ideal for batch calendar setup, payroll configuration, or any system that needs to enumerate all non-business days upfront rather than checking individual dates one by one.

## Known failure modes

- Missing required 'year' parameter returns a 400 error
- Invalid calendar enum value (not 'national' or 'bank') may return a 400 error
- Payment not completed or invalid x402 signature returns HTTP 402 with payment requirements
- Year outside supported data range may return an empty holidays array or error
- Network timeout from the Cloudflare Worker edge environment

## How this service works

List all Japanese national holidays (JA/EN names) for a year, from official Cabinet Office data.

## Output

A JSON object containing the requested year and an array of holiday objects, each with a date (YYYY-MM-DD), a Japanese name (e.g. 元日), and an English name (e.g. New Year's Day). For 'bank' calendar, year-end bank closure days (Dec 31–Jan 3) are also included.

## 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": [
      "year"
     ],
     "properties": {
      "year": {
       "type": "integer"
      },
      "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": {
  "year": 2027,
  "holidays": [
   {
    "date": "2027-01-01",
    "name": "元日",
    "nameEn": "New Year's Day"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/japan-business-day-api-list-holidays-0a54910b/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)
