{
  "x402Version": 2,
  "id": 32255,
  "slug": "32255",
  "resource": "https://toolvend.dev/calendar/business-days",
  "description": "Add/subtract, count or find business days across countries and subdivisions; list public holidays. Bundled 2024–2030 calendars, inclusive ranges, explicit weekends and closures, source attribution and coverage warnings. See /calendar/coverage.",
  "type": "http",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FSnwAPTNNSxqnR8MtuNrtwLkyYusZ4hncp684HxYpdLb",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x55ae5d177cdc9493391a632794fd048e8dba4e20",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "countries": [
              "GB-ENG",
              "DE-BY"
            ],
            "end": "2027-01-07",
            "operation": "intersection",
            "start": "2027-01-01"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "asOf": "2026-09-30",
            "coverage": {
              "authoritative": false,
              "countries": [
                {
                  "availableYears": [
                    2024,
                    2025,
                    2026,
                    2027,
                    2028,
                    2029,
                    2030
                  ],
                  "emptyYears": [],
                  "key": "GB-ENG",
                  "name": "England",
                  "scope": "subdivision"
                },
                {
                  "availableYears": [
                    2024,
                    2025,
                    2026,
                    2027,
                    2028,
                    2029,
                    2030
                  ],
                  "emptyYears": [],
                  "key": "DE-BY",
                  "name": "Bayern",
                  "scope": "subdivision"
                }
              ],
              "end": "2030-12-31",
              "holidayTypes": [
                "public"
              ],
              "start": "2024-01-01"
            },
            "holidays": [
              {
                "country": "GB-ENG",
                "date": "2027-01-01",
                "names": [
                  "New Year's Day"
                ]
              },
              {
                "country": "DE-BY",
                "date": "2027-01-01",
                "names": [
                  "New Year's Day"
                ]
              },
              {
                "country": "DE-BY",
                "date": "2027-01-06",
                "names": [
                  "Epiphany"
                ]
              }
            ],
            "input": {
              "additionalClosures": [],
              "countries": [
                "GB-ENG",
                "DE-BY"
              ],
              "end": "2027-01-07",
              "operation": "intersection",
              "start": "2027-01-01",
              "weekend": [
                6,
                7
              ]
            },
            "operation": "intersection",
            "result": {
              "count": 3,
              "date": null,
              "dates": [
                "2027-01-04",
                "2027-01-05",
                "2027-01-07"
              ]
            },
            "source": {
              "asOf": "2026-09-30",
              "attribution": "Python holidays contributors; see /calendar/coverage for the original licence and country-directory attribution.",
              "changes": "Public and observed holiday rules compiled into civil dates for 2024–2030 for all supported country/subdivision keys.",
              "license": "MIT",
              "licenseUrl": "https://github.com/vacanza/holidays/blob/v0.105/LICENSE",
              "name": "Python holidays",
              "url": "https://github.com/vacanza/holidays",
              "version": "holidays@0.105"
            },
            "trace": [
              {
                "date": "2027-01-01",
                "reasons": [
                  "holiday:GB-ENG",
                  "holiday:DE-BY"
                ],
                "working": false
              },
              {
                "date": "2027-01-02",
                "reasons": [
                  "weekend"
                ],
                "working": false
              },
              {
                "date": "2027-01-03",
                "reasons": [
                  "weekend"
                ],
                "working": false
              },
              {
                "date": "2027-01-04",
                "reasons": [],
                "working": true
              },
              {
                "date": "2027-01-05",
                "reasons": [],
                "working": true
              },
              {
                "date": "2027-01-06",
                "reasons": [
                  "holiday:DE-BY"
                ],
                "working": false
              },
              {
                "date": "2027-01-07",
                "reasons": [],
                "working": true
              }
            ],
            "warnings": [
              "Community-maintained calendar rules are not authoritative. Local, employer, bank-only and emergency closures may be missing. Moon-sighting dates can differ. Verify critical schedules with the relevant authority.",
              "Weekend defaults to Saturday/Sunday for every country; supply weekend explicitly where different. Government-designated compensating working weekends are not applied.",
              "Public holidays affecting part of a day are conservatively treated as full-day closures."
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "additionalClosures": {
                    "description": "Closure dates applied to every requested calendar.",
                    "items": {
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "maxItems": 100,
                    "type": "array"
                  },
                  "countries": {
                    "description": "Country or subdivision keys from /calendar/coverage, e.g. GB-ENG, DE-BY, US-NY.",
                    "items": {
                      "maxLength": 64,
                      "minLength": 2,
                      "type": "string"
                    },
                    "maxItems": 4,
                    "minItems": 1,
                    "type": "array"
                  },
                  "days": {
                    "description": "Required for add. Start excluded except when days=0.",
                    "maximum": 250,
                    "minimum": -250,
                    "type": "integer"
                  },
                  "end": {
                    "description": "Required for count/intersection/holidays. Inclusive; at most 366 days.",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "operation": {
                    "enum": [
                      "add",
                      "count",
                      "next",
                      "intersection",
                      "holidays"
                    ],
                    "type": "string"
                  },
                  "start": {
                    "description": "Civil ISO date within 2024–2030.",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "weekend": {
                    "description": "ISO weekdays, Monday=1; default [6,7]. Applies to all calendars.",
                    "items": {
                      "maximum": 7,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "maxItems": 6,
                    "type": "array"
                  }
                },
                "required": [
                  "operation",
                  "countries",
                  "start"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "toolvend.dev",
  "lastUpdated": "2026-10-05T03:14:36.097Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-05T03:14:35.851Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "countries": [
                "GB-ENG",
                "DE-BY"
              ],
              "end": "2027-01-07",
              "operation": "intersection",
              "start": "2027-01-01"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "asOf": "2026-09-30",
              "coverage": {
                "authoritative": false,
                "countries": [
                  {
                    "availableYears": [
                      2024,
                      2025,
                      2026,
                      2027,
                      2028,
                      2029,
                      2030
                    ],
                    "emptyYears": [],
                    "key": "GB-ENG",
                    "name": "England",
                    "scope": "subdivision"
                  },
                  {
                    "availableYears": [
                      2024,
                      2025,
                      2026,
                      2027,
                      2028,
                      2029,
                      2030
                    ],
                    "emptyYears": [],
                    "key": "DE-BY",
                    "name": "Bayern",
                    "scope": "subdivision"
                  }
                ],
                "end": "2030-12-31",
                "holidayTypes": [
                  "public"
                ],
                "start": "2024-01-01"
              },
              "holidays": [
                {
                  "country": "GB-ENG",
                  "date": "2027-01-01",
                  "names": [
                    "New Year's Day"
                  ]
                },
                {
                  "country": "DE-BY",
                  "date": "2027-01-01",
                  "names": [
                    "New Year's Day"
                  ]
                },
                {
                  "country": "DE-BY",
                  "date": "2027-01-06",
                  "names": [
                    "Epiphany"
                  ]
                }
              ],
              "input": {
                "additionalClosures": [],
                "countries": [
                  "GB-ENG",
                  "DE-BY"
                ],
                "end": "2027-01-07",
                "operation": "intersection",
                "start": "2027-01-01",
                "weekend": [
                  6,
                  7
                ]
              },
              "operation": "intersection",
              "result": {
                "count": 3,
                "date": null,
                "dates": [
                  "2027-01-04",
                  "2027-01-05",
                  "2027-01-07"
                ]
              },
              "source": {
                "asOf": "2026-09-30",
                "attribution": "Python holidays contributors; see /calendar/coverage for the original licence and country-directory attribution.",
                "changes": "Public and observed holiday rules compiled into civil dates for 2024–2030 for all supported country/subdivision keys.",
                "license": "MIT",
                "licenseUrl": "https://github.com/vacanza/holidays/blob/v0.105/LICENSE",
                "name": "Python holidays",
                "url": "https://github.com/vacanza/holidays",
                "version": "holidays@0.105"
              },
              "trace": [
                {
                  "date": "2027-01-01",
                  "reasons": [
                    "holiday:GB-ENG",
                    "holiday:DE-BY"
                  ],
                  "working": false
                },
                {
                  "date": "2027-01-02",
                  "reasons": [
                    "weekend"
                  ],
                  "working": false
                },
                {
                  "date": "2027-01-03",
                  "reasons": [
                    "weekend"
                  ],
                  "working": false
                },
                {
                  "date": "2027-01-04",
                  "reasons": [],
                  "working": true
                },
                {
                  "date": "2027-01-05",
                  "reasons": [],
                  "working": true
                },
                {
                  "date": "2027-01-06",
                  "reasons": [
                    "holiday:DE-BY"
                  ],
                  "working": false
                },
                {
                  "date": "2027-01-07",
                  "reasons": [],
                  "working": true
                }
              ],
              "warnings": [
                "Community-maintained calendar rules are not authoritative. Local, employer, bank-only and emergency closures may be missing. Moon-sighting dates can differ. Verify critical schedules with the relevant authority.",
                "Weekend defaults to Saturday/Sunday for every country; supply weekend explicitly where different. Government-designated compensating working weekends are not applied.",
                "Public holidays affecting part of a day are conservatively treated as full-day closures."
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "additionalClosures": {
                      "description": "Closure dates applied to every requested calendar.",
                      "items": {
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string"
                      },
                      "maxItems": 100,
                      "type": "array"
                    },
                    "countries": {
                      "description": "Country or subdivision keys from /calendar/coverage, e.g. GB-ENG, DE-BY, US-NY.",
                      "items": {
                        "maxLength": 64,
                        "minLength": 2,
                        "type": "string"
                      },
                      "maxItems": 4,
                      "minItems": 1,
                      "type": "array"
                    },
                    "days": {
                      "description": "Required for add. Start excluded except when days=0.",
                      "maximum": 250,
                      "minimum": -250,
                      "type": "integer"
                    },
                    "end": {
                      "description": "Required for count/intersection/holidays. Inclusive; at most 366 days.",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "operation": {
                      "enum": [
                        "add",
                        "count",
                        "next",
                        "intersection",
                        "holidays"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "description": "Civil ISO date within 2024–2030.",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "weekend": {
                      "description": "ISO weekdays, Monday=1; default [6,7]. Applies to all calendars.",
                      "items": {
                        "maximum": 7,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "maxItems": 6,
                      "type": "array"
                    }
                  },
                  "required": [
                    "operation",
                    "countries",
                    "start"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "toolvend.dev",
    "manifest_name": "toolvend.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}