{"uid":"cap_0TIpeK7ELluOxeqI4j0MW","slug":"workday-calendar-api-single-date-business-day-check-1e1b490b","name":"Workday Calendar API – Single Date Business Day Check","description":"Whether a date is a business day in a country (holiday/weekend/make-up workday aware), plus the previous and next business day.","url":"https://workday-calendar.regnotes.workers.dev/v1/business-day?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":["country","date"],"properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"country":{"enum":["US","CA","MX","BR","AR","CL","CO","PE","GB","IE","FR","DE","NL","BE","LU","CH","AT","IT","ES","PT","SE","NO","DK","FI","PL","CZ","HU","RO","GR","TR","IL","AE","SA","EG","ZA","NG","KE","IN","PK","BD","LK","SG","MY","ID","TH","VN","PH","HK","TW","CN","JP","KR","AU","NZ","UA"],"type":"string","description":"ISO 3166-1 alpha-2 country code"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"date":"2026-11-03","country":"JP","holiday":"Culture Day","weekday":2,"weekend":false,"business_day":false,"weekend_workday":false,"next_business_day":"2026-11-04","previous_business_day":"2026-11-02"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S_rGrTZ0EA02FIVz-mGUu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns whether a specific date is a business day in a given country, accounting for public holidays, weekends, and make-up workdays, plus the adjacent previous and next business days.","exampleAgentPrompt":"Is November 3, 2026 a business day in Japan, and if not, what's the next working day?","exampleUseCases":[{"title":"Payment settlement date validation","prompt":"We're scheduling a wire transfer to land on March 28, 2025 in the UK — is that actually a business day, and if not, what's the next one we should target?"},{"title":"SLA deadline calculation","prompt":"Our SLA says we need to respond within one business day. The ticket came in on April 18, 2025 in Germany — is that a working day and what's the next business day if it's not?"},{"title":"Cross-border payroll check","prompt":"We're running payroll in Brazil on November 15, 2025 — is that a business day there, and what's the previous business day in case we need to move it earlier?"}],"resultDescription":"A JSON object with: the queried date and country, the holiday name (if applicable), the weekday number, boolean flags for weekend/business_day/weekend_workday, and the ISO dates of the next and previous business days.","failureModes":["Invalid date format (not YYYY-MM-DD) returns a 400 error","Unsupported country code (not in the allowed enum) returns a 400 error","Date out of supported range may return an error or empty result","Payment failure (x402) if USDC balance is insufficient returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need to check a single specific date's business day status in one of 50+ supported countries, with full awareness of national public holidays, standard weekends, and make-up workdays. Prefer this over general date libraries when country-specific holiday data and make-up workday logic are required. For counting business days between two dates or computing an offset of N business days, use the sibling endpoints on the same provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:07.147Z","isFirstParty":false,"canonicalSlug":"workday-calendar-api-single-date-business-day-check-1e1b490b"}