{"uid":"cap_qdTNe8l05jlUjRHbtK57N","slug":"api-strale-io-d7559eea","name":"Business Day Checker","description":"Check if a specific date is a business day in a given country. Accounts for weekends and public holidays. Also returns the next business day if the given date is not one.","url":"https://api.strale.io/x402/business-day-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["country_code","date"],"properties":{"date":{"type":"string","description":"Date to check (YYYY-MM-DD)"},"country_code":{"type":"string","description":"ISO 2-letter country code"}}},"responseSchema":{"reason":{"type":"string"},"is_business_day":{"type":"boolean"},"next_business_day":{"type":"string"},"previous_business_day":{"type":"string"}},"example":{"request":{"date":"2025-12-26","country_code":"GB"},"response":{"date":"2025-12-26","_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0x195568b335ecf2f2d0cde2f1a12f71927f5330c9a84b4975510b7ea277302894"},"capability":"business-day-check","latency_ms":19,"provenance":{"source":"strale-calendar+nager.date","fetched_at":"2026-06-13T04:25:39.053Z"}},"reason":"public_holiday: St. Stephen's Day","country_code":"GB","is_business_day":false,"next_business_day":"2025-12-29","previous_business_day":"2025-12-24"}},"exampleRequest":{"date":"2025-12-26","country_code":"GB"},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5dJ7s1CekNTGw5XZVBPcC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks if a given date is a business day in a specified country, accounting for weekends and public holidays, and returns the next business day if it is not.","exampleAgentPrompt":"Is December 26 2025 a business day in the UK, and if not, what's the next business day?","exampleUseCases":[{"title":"Automated payment scheduling across time zones","prompt":"I need to schedule a payment for January 15th, but make sure it lands on a business day in Germany. Can you check if that date works, and if not, what's the next available business day?"},{"title":"Contract deadline validation for international deals","prompt":"Our contract with our French partner has a deadline of July 14th next year. Can you verify that's actually a business day in France, or should we push it to the next working day?"},{"title":"Payroll processing for multi-country teams","prompt":"We're setting up automated payroll transfers for December 26th. Check if that's a business day in both the UK and Canada, and if either one is a holiday, tell me when we should process those payments instead."}],"resultDescription":"Returns a boolean indicating whether the queried date is a business day in the given country, along with the next business day date if it is not, accounting for both weekends and country-specific public holidays.","failureModes":["Invalid date format (not YYYY-MM-DD) returns a 400 error","Unsupported or invalid ISO country code returns an error or unexpected results","Dates far in the future may have incomplete public holiday data","Network or service unavailability returns a 5xx error","Payment failure via x402 protocol prevents access"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify whether a specific date is a valid working/business day in a particular country, especially when scheduling payments, contract deadlines, or automated workflows that must land on a business day. Ideal for multi-country business logic where public holiday calendars vary.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:50:45.274Z","isFirstParty":false,"canonicalSlug":"api-strale-io-d7559eea"}