Api Endpoint

Tanod utilpeek

Count business days between two dates, or add N business days to a date, with custom weekends and public holidays for 250 countries (utilpeek, Tanod). Use when an agent must count working days between dates or find the date N working days ahead.

Open interactive test console

Offering

Provider
tanod.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tanod.dev/v1/date/business-days
MIME type
application/json
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
utilpeek, date, business, days, fx-rates, qr-code, geocoding, Holidays

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 4
0.001 USDC
Atomic price: 1000000000000000 · Network: eip155:56 · Asset: USDC · Scheme: exact
Payment option 5
0.001 USDC
Atomic price: 1000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 7
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "1000000000000000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  }
]

Observed health

Status
Healthy
Latest latency
296 ms
Average latency
732 ms
HTTP status
204
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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 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"
}