{"uid":"cap_V-8PgLsRiWLwyA-y54RYK","slug":"japan-business-day-api-add-business-days-c90533e4","name":"Japan Business Day API – Add Business Days","description":"Add or subtract N Japanese business days from a date (e.g. settlement date T+2, delivery ETA). Skips weekends and national holidays; optional bank calendar.","url":"https://japan-business-day-api.matchan962.workers.dev/v1/add-business-days?utm_source=zero.xyz","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":["date","days"],"properties":{"date":{"type":"string","format":"date"},"days":{"type":"integer","maximum":366,"minimum":-366},"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"}}}}},"responseSchema":{"type":"json","example":{"date":"2026-12-28","days":3,"result":"2027-01-04","calendar":"bank"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NEbeet4BkVZ5EPJMEH2dw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Given a starting date and an integer offset, returns the resulting Japanese business day by skipping weekends and national/bank holidays.","exampleAgentPrompt":"Starting from 2026-12-25, what date is 3 Japanese business days later using the bank calendar — one that also skips Dec 31 through Jan 3?","exampleUseCases":[{"title":"Payment settlement date after holidays","prompt":"A payment is initiated on December 26, 2025. What date is 3 Japanese bank business days later, skipping year-end bank holidays?"},{"title":"Contract due date calculation","prompt":"A contract signed on May 1, 2026 requires delivery in 10 Japanese national-calendar business days — what's the exact due date?"},{"title":"Trade clearing date in Japan","prompt":"If a securities trade is executed on July 18, 2025, what is the Japanese bank-calendar settlement date 2 business days out?"}],"resultDescription":"A JSON object containing the input date, the days offset requested, the resulting business date after skipping weekends and applicable Japanese holidays, and the calendar type used (national or bank).","failureModes":["Missing required query parameters 'date' or 'days' returns a 400 error","'days' value outside the -366 to 366 range is rejected","Invalid date format (non-ISO 8601) causes a parsing error","HTTP 402 returned if payment is not provided via x402 protocol before the data response","Invalid 'calendar' enum value rejected; must be 'national' or 'bank'"],"whenToPreferThis":"Use this endpoint when you need to compute a future or past Japanese business date by advancing or retreating a fixed number of working days, and you need accurate skipping of Japanese national holidays and/or bank-specific year-end holidays. Prefer it over generic date libraries that lack Japan-specific holiday data. Choose the 'bank' calendar when dealing with financial transactions, settlements, or banking deadlines; use 'national' for general business scheduling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:34:50.662Z","isFirstParty":false,"canonicalSlug":"japan-business-day-api-add-business-days-c90533e4"}