x402

Business Day Check (x402)

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.

get/x402/v2/business-day-check

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/business-day-check
  • Auth: none required

Query parameters

datestring required

Date to check (YYYY-MM-DD)

country_codestring required

ISO 2-letter country code

Response

Success

reasonstring
is_business_dayboolean
next_business_daystring
previous_business_daystring

Example response

{
  "date": "2025-12-25",
  "reason": "public_holiday: Christmas Day",
  "country_code": "SE",
  "is_business_day": false,
  "next_business_day": "2025-12-29",
  "previous_business_day": "2025-12-23"
}

Changes

No recorded changes to this operation across all 1 revision of this API.