Skip to content
onelayer.
All tools

Tool detail

business-days

Checks or computes Japanese business days: is a date a business day, add N business days, or count business days in a range.

Categories: Utilities

Use when

  • add N business days to a date accounting for Japanese holidays
  • count business days between two dates in Japan
  • check whether a given date is a Japanese business day

Not for

  • not for other countries' holiday calendars — Japan only

Inputs

GET query params, all optional: from (date), to (date, mode B count), add (number, mode A), saturday_off (bool), new_year_break (bool)

Admitted input schema

{
  "type": "object",
  "properties": {
    "add": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Add N business days (mode A)"
    },
    "from": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Start date YYYY-MM-DD"
    },
    "new_year_break": {
      "type": "boolean"
    },
    "saturday_off": {
      "type": "boolean"
    },
    "to": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "End date YYYY-MM-DD (mode B: count)"
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://kaisha-api.hp-vladic.workers.dev/calendar/business-days

Payment

Protocol
x402
Listed price
0.002 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://kaisha-api.hp-vladic.workers.dev/calendar/business-days
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z