{"uid":"cap_OP1Jt_dNE53-LRNL7f8Rn","slug":"kaisha-japanese-business-day-calculator-38feec1e","name":"Kaisha Japanese Business Day Calculator","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.","url":"https://kaisha-api.hp-vladic.workers.dev/calendar/business-days","method":"GET","headers":{},"bodySchema":{"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":[],"properties":{"to":{"type":"string","description":"End date YYYY-MM-DD (mode B: count)"},"add":{"type":"number","description":"Add N business days (mode A)"},"from":{"type":"string","description":"Start date YYYY-MM-DD"},"saturday_off":{"type":"boolean"},"new_year_break":{"type":"boolean"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"from":"2026-07-17","result":"2026-07-27","addBusinessDays":5,"resultIsHoliday":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iydNiGCsk2mvdAewNz5jx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks if a date is a Japanese business day, adds N business days to a date, or counts business days in a range, accounting for Japanese national holidays and optional Saturday/year-end rules.","exampleAgentPrompt":"How many Japanese business days are there between 2024-12-20 and 2025-01-15, treating Saturdays and the year-end/new-year break as non-working days?","exampleUseCases":null,"resultDescription":"Returns whether a given date is a Japanese business day, the resulting date after adding N business days, or the count of business days within a specified date range — all adjusted for Japanese national holidays and optional Saturday/new-year-break rules.","failureModes":["Missing required 'from' date parameter returns an error","Invalid date format (non-YYYY-MM-DD) causes a parsing failure","Year outside supported holiday data range may return incomplete results","Conflicting mode parameters (both 'add' and 'to' specified) may cause ambiguous behavior","Network timeout from the Cloudflare Worker edge"],"whenToPreferThis":"Use this endpoint when you need Japan-specific business day calculations that account for official Japanese national holidays from the Cabinet Office dataset. Prefer this over generic weekday calculators when the context is Japanese business, finance, contracts, or HR operations. Especially useful when Saturday-off or year-end/new-year break rules are relevant to the calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:37.771Z","isFirstParty":false}