{
  "x402Version": 2,
  "id": 4192,
  "slug": "4192",
  "resource": "https://kaisha-api.hp-vladic.workers.dev/calendar/business-days",
  "description": "Japanese business-day calculator: check if a date is a business day, add N business days to a date, or count business days in a range. Accounts for weekends and Japanese national holidays; optional Saturday and year-end/new-year rules.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF2A6416EBb0C594Ab2977695bED061729ddEb47b",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6nZQJcTRWm6VQwa7Tg1JBUGjNznviS9fExUHb53TB3GG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "add": 5,
            "from": "2026-07-17"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "addBusinessDays": 5,
            "from": "2026-07-17",
            "result": "2026-07-27",
            "resultIsHoliday": null
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "add": {
                    "description": "Add N business days (mode A)",
                    "type": "number"
                  },
                  "from": {
                    "description": "Start date YYYY-MM-DD",
                    "type": "string"
                  },
                  "new_year_break": {
                    "type": "boolean"
                  },
                  "saturday_off": {
                    "type": "boolean"
                  },
                  "to": {
                    "description": "End date YYYY-MM-DD (mode B: count)",
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "kaisha-api.hp-vladic.workers.dev",
  "lastUpdated": "2026-09-12T16:55:51.624Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-09-12T16:55:51.42Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "kaisha-api.hp-vladic.workers.dev",
    "manifest_name": "kaisha-api.hp-vladic.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}