ToolAssay

Use when you need a Canadian settlement date or accrual fraction

Use when you need a Canadian settlement date or accrual fraction. Rolls a trade date forward on the Payments Canada calendar and counts the accrual under ACT/360, ACT/365F, 30/360, 30E/360 or ACT/ACT-ISDA. $0.01 USDC on Base per answer via x402; a refusal is free.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
46 msmedian answer time
$0.01listed price per call
$0.01price 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

POST https://foundry.dap.solutions/api/compute-day-count-to-settlement

CategoryEverything else
Provider hostfoundry.dap.solutions
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days3 from 3 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.01 294 ms
2026-11-25 valid payment request 402$0.01 174 ms
2026-11-24 valid payment request 402$0.01 430 ms
2026-11-23 valid payment request 402$0.01 35 ms
2026-11-22 valid payment request 402$0.01 30 ms
2026-11-21 valid payment request 402$0.01 46 ms
2026-11-20 valid payment request 402$0.01 34 ms
2026-11-19 valid payment request 402$0.01 55 ms
2026-11-18 valid payment request 402$0.01 179 ms
2026-11-17 valid payment request 402$0.01 171 ms
2026-11-16 valid payment request 402$0.01 209 ms
2026-11-15 valid payment request 402$0.01 184 ms
2026-11-14 valid payment request 402$0.01 176 ms
2026-11-13 valid payment request 402$0.01 164 ms
2026-11-12 valid payment request 402$0.01 242 ms
2026-11-11 valid payment request 402$0.01 165 ms
2026-11-10 valid payment request 402$0.01 142 ms
2026-11-09 valid payment request 402$0.01 245 ms
2026-11-08 valid payment request 402$0.01 163 ms
2026-11-07 valid payment request 402$0.01 166 ms
2026-11-06 valid payment request 402$0.01 204 ms
2026-11-05 valid payment request 402$0.01 329 ms
2026-11-04 valid payment request 402$0.01 81 ms
2026-11-03 valid payment request 402$0.01 73 ms
2026-11-02 valid payment request 402$0.01 52 ms
2026-11-01 valid payment request 402$0.01 118 ms

Example input (from the provider)

{
  "body": {
    "accrual_start": "2026-07-01",
    "acknowledge": "no-ruling-v1",
    "calendar": "ca-payments-canada",
    "convention": "ACT/365F",
    "freshness_tolerance": "P90D",
    "settlement_lag": "2",
    "trade_date": "2026-10-09"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "accrual_start": {
              "description": "a real calendar date, the first day of the accrual period, counted",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "acknowledge": {
              "enum": [
                "no-ruling-v1"
              ],
              "type": "string"
            },
            "calendar": {
              "enum": [
                "ca-payments-canada"
              ],
              "type": "string"
            },
            "convention": {
              "enum": [
                "ACT/360",
                "ACT/365F",
                "30/360",
                "30E/360",
                "ACT/ACT-ISDA"
              ],
              "type": "string"
            },
            "freshness_tolerance": {
              "description": "at most the ratified ceiling",
              "pattern": "^P(0|[1-9][0-9]{0,3})D$",
              "type": "string"
            },
            "settlement_lag": {
              "oneOf": [
                {
                  "pattern": "^[0-5]$",
                  "type": "string"
                },
                {
                  "maximum": 5,
                  "minimum": 0,
                  "type": "integer"
                }
              ]
            },
            "trade_date": {
              "description": "a business day on the calendar",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            }
          },
          "required": [
            "accrual_start",
            "trade_date",
            "settlement_lag",
            "calendar",
            "convention",
            "acknowledge",
            "freshness_tolerance"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "headers": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "refusal": {
              "type": [
                "object",
                "null"
              ]
            },
            "result": {
              "type": [
                "object",
                "null"
              ]
            },
            "status": {
              "enum": [
                "computed",
                "refused"
              ],
              "type": "string"
            },
            "tool": {
              "type": "string"
            }
          },
          "required": [
            "tool",
            "status"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON