← Market

Add Business Days To Date

Use when you need the Canadian business day a count lands on, or to check whether a date is a business day. Moves a start date forward 0 to 260 business days on the Payments Canada calendar and names each closure day passed. $0.01 USDC on Base per answer via x402; a refusal is free.

POST https://foundry.dap.solutions/api/add-business-days-to-date

0.01 USDC on Base · payTo 0xa590d98bbee97533bd7dfed19c0a89ffeeeb1384

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.01 USDC · payTo 0xa590d98bbee97533bd7dfed19c0a89ffeeeb1384 · via cdp · settles direct
{
  "acknowledge": "no-ruling-v1",
  "business_days": "2",
  "calendar": "ca-payments-canada",
  "freshness_tolerance": "P90D",
  "start_date": "2026-10-09"
}
{
  "refusal": null,
  "result": {
    "calendar_days": 5,
    "closures_passed": [
      {
        "date": "2026-10-12",
        "name": "Thanksgiving"
      }
    ],
    "date": "2026-10-14",
    "start_closure": null,
    "start_is_business_day": true,
    "start_weekday": "Friday",
    "weekday": "Wednesday"
  },
  "status": "computed",
  "tool": "add-business-days-to-date"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score72 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency148 ms
Paid calls (30d, on-chain)7 calls · 5 buyers · shared price cohort of 4

How to call

POST https://foundry.dap.solutions/api/add-business-days-to-date · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "a real calendar date in a year the calendar covers; it may be a weekend or a closure day"
    },
    "business_days": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,2})$"
        },
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 260
        }
      ],
      "description": "business days to move forward, 0 to 260; 0 moves a day that is not a business day to the next one"
    },
    "calendar": {
      "type": "string",
      "enum": [
        "ca-payments-canada"
      ]
    },
    "acknowledge": {
      "type": "string",
      "enum": [
        "no-ruling-v1"
      ]
    },
    "freshness_tolerance": {
      "type": "string",
      "pattern": "^P(0|[1-9][0-9]{0,3})D$",
      "description": "at most the ratified ceiling"
    }
  },
  "required": [
    "start_date",
    "business_days",
    "calendar",
    "acknowledge",
    "freshness_tolerance"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "tool": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "computed",
        "refused"
      ]
    },
    "refusal": {
      "type": [
        "object",
        "null"
      ]
    },
    "result": {
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "tool",
    "status"
  ]
}
curl -i -X POST 'https://foundry.dap.solutions/api/add-business-days-to-date' \
  -H 'content-type: application/json' -d '{"start_date":"2026-10-09","business_days":"2","calendar":"ca-payments-canada","acknowledge":"no-ruling-v1","freshness_tolerance":"P90D"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)