ToolAssay

Public and bank holidays for 100+ countries, and the business-day answer behind

Public and bank holidays for 100+ countries, and the business-day answer behind them. Returns holidays[] with localName, name, global and types; pass ?date= and it also answers isBusinessDay with nextBusinessDay and previousBusinessDay, walking weekends and year boundaries. Requires ?country=<ISO 3166-1 alpha-2, e.g. US>; optional ?date=YYYY-MM-DD or ?year=1975..2100. Errors: 400 bad_country (a 3-letter code like USA is rejected)|bad_date|bad_year, 404 unknown_country.

Answers HTTP 200 without x402 payment termsour last check, 2026-09-24
0 of 1checks answered this week
n/amedian answer time
$0.01listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://x402.donnyautomation.com/holidays

CategoryCode and developer
Provider hostx402.donnyautomation.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 no x402 terms 200 903 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "country": "US",
    "date": "2026-07-04"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "country": {
              "description": "ISO 3166-1 alpha-2 country code, e.g. US, GB, DE, JP.",
              "type": "string"
            },
            "date": {
              "description": "YYYY-MM-DD. Adds the isBusinessDay answer plus next and previous business days.",
              "type": "string"
            },
            "year": {
              "description": "Calendar year 1975..2100 (default: current year). Ignored when date is given.",
              "type": "string"
            }
          },
          "required": [
            "country"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON