# Soroban Data Works – Japan Business Days API

> Soroban Data Works – Japan Business Days API is a paid API for AI agents from soroban.phoenixrefurbtools.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-12-02).

Returns the list and count of Japanese business days within a given date range, respecting the official Japanese business calendar.

## Facts

- Endpoint: GET https://soroban.phoenixrefurbtools.workers.dev/v1/jp/business-days?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/soroban-data-works-japan-business-days-api-24dae4c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZWAg8-CdPuLViO_QUmQ_2

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 soroban-data-works-japan-business-days-api-24dae4c1
```

Example prompt: How many business days does Japan have in November 2026, and can you list them out for me?

## When to prefer this

Choose this endpoint when you need authoritative, rule-based Japanese business day data for scheduling, financial settlement, payroll, or contract purposes. It is purpose-built for the Japanese calendar including public holidays, making it more reliable than generic weekday calculators that ignore Japanese national holidays. Ideal for AI agents automating Japan-market workflows.

## Known failure modes

- Invalid or missing date parameters return an error response
- Dates outside the supported calendar range may return incomplete or empty results
- Missing or invalid x402 payment header returns HTTP 402 with payment requirements
- Malformed date formats may cause parsing errors
- Very large date ranges may time out or return degraded responses

## How this service works

Counts business days in Japan between a start and end date (inclusive) and lists them, using the official national holiday rules including substitute and citizen's holidays.

## Output

A JSON object containing the queried start and end dates, an array of ISO date strings representing each business day in the range, and an integer count of total business days found.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "start",
      "end"
     ],
     "properties": {
      "end": {
       "type": "string",
       "format": "date"
      },
      "start": {
       "type": "string",
       "format": "date"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "end": "2026-11-30",
  "dates": [
   "2026-11-02"
  ],
  "start": "2026-11-01",
  "business_days": 19
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/soroban-data-works-japan-business-days-api-24dae4c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from soroban.phoenixrefurbtools.workers.dev](https://www.zero.xyz/host/soroban.phoenixrefurbtools.workers.dev/llms.txt)
