{
  "x402Version": 2,
  "id": 35892,
  "slug": "35892",
  "resource": "https://tanod.dev/v1/date/business-days",
  "description": "utilpeek (Tanod) business days: count working days between two dates or add N working days, with custom weekends and public holidays for 250 countries.",
  "type": "http",
  "serviceName": "Tanod utilpeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "business_days": {
            "type": "integer"
          },
          "calendar_days": {
            "type": "integer"
          },
          "counting": {
            "type": "string"
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "date": {
            "type": "string"
          },
          "days": {
            "type": "integer"
          },
          "end": {
            "type": "string"
          },
          "holiday_days": {
            "type": "integer"
          },
          "holidays_skipped": {
            "items": {
              "properties": {
                "date": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "weekday": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "holidays_truncated": {
            "type": "boolean"
          },
          "include_end": {
            "type": "boolean"
          },
          "include_start": {
            "type": "boolean"
          },
          "mode": {
            "enum": [
              "count",
              "add"
            ],
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "source": {
            "properties": {
              "library": {
                "type": "string"
              },
              "license": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "start": {
            "type": "string"
          },
          "start_is_business_day": {
            "type": "boolean"
          },
          "subdivision": {
            "type": [
              "string",
              "null"
            ]
          },
          "weekday": {
            "type": "string"
          },
          "weekend": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "weekend_days": {
            "type": "integer"
          }
        },
        "required": [
          "mode",
          "start",
          "holidays_skipped",
          "weekend"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "country": "US",
            "end": "2027-01-08",
            "mode": "count",
            "start": "2026-12-21"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "business_days": 13,
            "calendar_days": 19,
            "counting": "Both start and end are counted when they are business days (like Excel NETWORKDAYS).",
            "country": "US",
            "end": "2027-01-08",
            "holiday_days": 2,
            "holidays_skipped": [
              {
                "date": "2026-12-25",
                "name": "Christmas Day",
                "weekday": "Friday"
              },
              {
                "date": "2027-01-01",
                "name": "New Year's Day",
                "weekday": "Friday"
              }
            ],
            "holidays_truncated": false,
            "include_end": true,
            "include_start": true,
            "mode": "count",
            "note": "Rules-based computation (no official calendar is consulted): public holidays as modelled by the library, including observed/substitute days. Lunar, religious and one-off holidays can be estimates or missing for some years; confirm with an official source for legal or payroll use.",
            "source": {
              "library": "python-holidays 0.106",
              "license": "MIT",
              "url": "https://github.com/vacanza/holidays"
            },
            "start": "2026-12-21",
            "start_is_business_day": true,
            "subdivision": null,
            "weekend": [
              "sat",
              "sun"
            ],
            "weekend_days": 4
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "country": {
                    "anyOf": [
                      {
                        "maxLength": 2,
                        "minLength": 2,
                        "pattern": "^[A-Za-z]{2}$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Optional ISO 3166-1 alpha-2 country whose public holidays are not business days (the /v1/holidays data; dates in 1990-2100)."
                  },
                  "days": {
                    "anyOf": [
                      {
                        "maximum": 7305,
                        "minimum": -7305,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "add only: business days to add (negative subtracts). The start date is never counted (like Excel WORKDAY); 0 returns start."
                  },
                  "end": {
                    "anyOf": [
                      {
                        "maxLength": 10,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "count only: end date, YYYY-MM-DD, at most 20 years from start (before start gives a negative count)."
                  },
                  "include_end": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "count only: count the end date (default true; both true is Excel NETWORKDAYS, include_end false the half-open [start, end) of numpy.busday_count)."
                  },
                  "include_start": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "count only: count the start date (default true)."
                  },
                  "mode": {
                    "description": "count: business days between start and end; add: the date `days` business days after (or before) start.",
                    "enum": [
                      "count",
                      "add"
                    ],
                    "type": "string"
                  },
                  "start": {
                    "description": "Start date, YYYY-MM-DD (1900-01-01..2199-12-31).",
                    "maxLength": 10,
                    "type": "string"
                  },
                  "subdivision": {
                    "anyOf": [
                      {
                        "maxLength": 40,
                        "minLength": 1,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Optional subdivision code or name for that country (e.g. CA or California for US)."
                  },
                  "weekend": {
                    "description": "Weekday names that are not business days (default [\"sat\", \"sun\"]; e.g. [\"fri\", \"sat\"]; [] for none).",
                    "items": {
                      "maxLength": 9,
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 7,
                    "type": "array"
                  }
                },
                "required": [
                  "mode",
                  "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": {
                "properties": {
                  "business_days": {
                    "type": "integer"
                  },
                  "calendar_days": {
                    "type": "integer"
                  },
                  "counting": {
                    "type": "string"
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "date": {
                    "type": "string"
                  },
                  "days": {
                    "type": "integer"
                  },
                  "end": {
                    "type": "string"
                  },
                  "holiday_days": {
                    "type": "integer"
                  },
                  "holidays_skipped": {
                    "items": {
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "weekday": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "holidays_truncated": {
                    "type": "boolean"
                  },
                  "include_end": {
                    "type": "boolean"
                  },
                  "include_start": {
                    "type": "boolean"
                  },
                  "mode": {
                    "enum": [
                      "count",
                      "add"
                    ],
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "source": {
                    "properties": {
                      "library": {
                        "type": "string"
                      },
                      "license": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "start": {
                    "type": "string"
                  },
                  "start_is_business_day": {
                    "type": "boolean"
                  },
                  "subdivision": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "weekday": {
                    "type": "string"
                  },
                  "weekend": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "weekend_days": {
                    "type": "integer"
                  }
                },
                "required": [
                  "mode",
                  "start",
                  "holidays_skipped",
                  "weekend"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "utilpeek",
    "fx-rates",
    "qr-code",
    "geocoding",
    "holidays",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-09T03:44:44.616Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T03:44:43.333Z"
  },
  "metadata": {
    "serviceName": "Tanod utilpeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "country": "US",
              "end": "2027-01-08",
              "mode": "count",
              "start": "2026-12-21"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "business_days": 13,
              "calendar_days": 19,
              "counting": "Both start and end are counted when they are business days (like Excel NETWORKDAYS).",
              "country": "US",
              "end": "2027-01-08",
              "holiday_days": 2,
              "holidays_skipped": [
                {
                  "date": "2026-12-25",
                  "name": "Christmas Day",
                  "weekday": "Friday"
                },
                {
                  "date": "2027-01-01",
                  "name": "New Year's Day",
                  "weekday": "Friday"
                }
              ],
              "holidays_truncated": false,
              "include_end": true,
              "include_start": true,
              "mode": "count",
              "note": "Rules-based computation (no official calendar is consulted): public holidays as modelled by the library, including observed/substitute days. Lunar, religious and one-off holidays can be estimates or missing for some years; confirm with an official source for legal or payroll use.",
              "source": {
                "library": "python-holidays 0.106",
                "license": "MIT",
                "url": "https://github.com/vacanza/holidays"
              },
              "start": "2026-12-21",
              "start_is_business_day": true,
              "subdivision": null,
              "weekend": [
                "sat",
                "sun"
              ],
              "weekend_days": 4
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "country": {
                      "anyOf": [
                        {
                          "maxLength": 2,
                          "minLength": 2,
                          "pattern": "^[A-Za-z]{2}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Optional ISO 3166-1 alpha-2 country whose public holidays are not business days (the /v1/holidays data; dates in 1990-2100)."
                    },
                    "days": {
                      "anyOf": [
                        {
                          "maximum": 7305,
                          "minimum": -7305,
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "add only: business days to add (negative subtracts). The start date is never counted (like Excel WORKDAY); 0 returns start."
                    },
                    "end": {
                      "anyOf": [
                        {
                          "maxLength": 10,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "count only: end date, YYYY-MM-DD, at most 20 years from start (before start gives a negative count)."
                    },
                    "include_end": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "count only: count the end date (default true; both true is Excel NETWORKDAYS, include_end false the half-open [start, end) of numpy.busday_count)."
                    },
                    "include_start": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "count only: count the start date (default true)."
                    },
                    "mode": {
                      "description": "count: business days between start and end; add: the date `days` business days after (or before) start.",
                      "enum": [
                        "count",
                        "add"
                      ],
                      "type": "string"
                    },
                    "start": {
                      "description": "Start date, YYYY-MM-DD (1900-01-01..2199-12-31).",
                      "maxLength": 10,
                      "type": "string"
                    },
                    "subdivision": {
                      "anyOf": [
                        {
                          "maxLength": 40,
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Optional subdivision code or name for that country (e.g. CA or California for US)."
                    },
                    "weekend": {
                      "description": "Weekday names that are not business days (default [\"sat\", \"sun\"]; e.g. [\"fri\", \"sat\"]; [] for none).",
                      "items": {
                        "maxLength": 9,
                        "minLength": 1,
                        "type": "string"
                      },
                      "maxItems": 7,
                      "type": "array"
                    }
                  },
                  "required": [
                    "mode",
                    "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": {
                  "properties": {
                    "business_days": {
                      "type": "integer"
                    },
                    "calendar_days": {
                      "type": "integer"
                    },
                    "counting": {
                      "type": "string"
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "date": {
                      "type": "string"
                    },
                    "days": {
                      "type": "integer"
                    },
                    "end": {
                      "type": "string"
                    },
                    "holiday_days": {
                      "type": "integer"
                    },
                    "holidays_skipped": {
                      "items": {
                        "properties": {
                          "date": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "weekday": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "holidays_truncated": {
                      "type": "boolean"
                    },
                    "include_end": {
                      "type": "boolean"
                    },
                    "include_start": {
                      "type": "boolean"
                    },
                    "mode": {
                      "enum": [
                        "count",
                        "add"
                      ],
                      "type": "string"
                    },
                    "note": {
                      "type": "string"
                    },
                    "source": {
                      "properties": {
                        "library": {
                          "type": "string"
                        },
                        "license": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "start": {
                      "type": "string"
                    },
                    "start_is_business_day": {
                      "type": "boolean"
                    },
                    "subdivision": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "weekday": {
                      "type": "string"
                    },
                    "weekend": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "weekend_days": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "mode",
                    "start",
                    "holidays_skipped",
                    "weekend"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.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": {
      "business_days": 0,
      "calendar_days": 0,
      "counting": "string",
      "country": "string",
      "date": "string",
      "days": 0,
      "end": "string",
      "holiday_days": 0,
      "holidays_skipped": [
        {
          "date": "string",
          "name": "string",
          "weekday": "string"
        }
      ],
      "holidays_truncated": true,
      "include_end": true,
      "include_start": true,
      "mode": "count",
      "note": "string",
      "source": {
        "library": "string",
        "license": "string",
        "url": "string"
      },
      "start": "string",
      "start_is_business_day": true,
      "subdivision": "string",
      "weekday": "string",
      "weekend": [
        "string"
      ],
      "weekend_days": 0
    },
    "type": "string"
  }
}