Dartmouth Advisory Partners Compute Day Count To Settlement API

The Compute Day Count To Settlement API from Dartmouth Advisory Partners — 1 operation(s) for compute day count to settlement.

Operations 1

POST /api/compute-day-count-to-settlement Compute day count to settlement #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dap-solutions:dap-solutions-compute-day-count-to-settlement-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dap-solutions-compute-day-count-to-settlement-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DAP Foundry Compute Day Count To Settlement API
  version: 1.0.0
  summary: Small single purpose tools for agents, as JSON.
  description: Priced tools cost what each operation's x-payment-info states, in USDC on Base under x402 version 2, for each computed answer. A refusal is not charged. Inputs are not stored. We do not issue rulings.
  termsOfService: https://dap.solutions/terms/api/
servers:
- url: https://foundry.dap.solutions
security:
- {}
tags:
- name: Compute Day Count To Settlement
paths:
  /api/compute-day-count-to-settlement:
    post:
      operationId: compute-day-count-to-settlement
      summary: Compute day count to settlement
      description: 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.
      x-payment-info:
        protocols:
        - x402
        price:
          mode: fixed
          currency: USD
          amount: '0.01'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - accrual_start
              - trade_date
              - settlement_lag
              - calendar
              - convention
              - acknowledge
              - freshness_tolerance
              properties:
                accrual_start:
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                  description: a real calendar date, the first day of the accrual period, counted
                trade_date:
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                  description: a business day on the calendar
                settlement_lag:
                  oneOf:
                  - type: string
                    pattern: ^[0-5]$
                  - type: integer
                    minimum: 0
                    maximum: 5
                calendar:
                  type: string
                  enum:
                  - ca-payments-canada
                convention:
                  type: string
                  enum:
                  - ACT/360
                  - ACT/365F
                  - 30/360
                  - 30E/360
                  - ACT/ACT-ISDA
                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
      responses:
        '200':
          description: Computed. The JSON envelope the tool's hub.md describes.
        '402':
          description: Payment required. The x402 v2 price is in the PAYMENT-REQUIRED header.
        '422':
          description: The tool refused the call. Never charged.
      tags:
      - Compute Day Count To Settlement
externalDocs:
  description: Every parameter and refusal code
  url: https://foundry.dap.solutions/hub.md