Skip to main content
POST
Check If Date Is Working Day

Request contract

  • Method and path: POST /apis/v1/api-ninjas/check-is-working-day
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/check-is-working-day
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
country
string
required

Country code (2-letter ISO 3166-1 alpha-2 code, e.g., 'US' for United States, 'GB' for United Kingdom).

Required string length: 2
Examples:

"US"

"GB"

"DE"

"FR"

"JP"

date
string
required

Date in YYYY-MM-DD format. Must be between 1980-01-01 and 2050-12-31 (inclusive).

Pattern: ^\d{4}-\d{2}-\d{2}$
Examples:

"2026-02-15"

"2025-12-25"

"2024-07-04"

include_holidays
boolean

Whether to include public holidays as non-working days. Defaults to true if not specified.

weekend_days
string

Comma-separated list of weekend days (mon,tue,wed,thu,fri,sat,sun). Optional: if not provided, default weekend days are determined by country.

Examples:

"sat,sun"

"fri,sat"

"sun"

Response

Tool result data

country
string
required
date
string
required
day_of_week
string
required
is_workday
boolean
required
non_working_reason
string[]
public_holiday_name
string