{
  "x402Version": 2,
  "id": 40584,
  "slug": "40584",
  "resource": "https://usaref.dev/v1/answers/settlement-date",
  "description": "Settlement/value date: T+n business days across national statutory calendars (intersected), with the market cycle cited to its primary source and a per-day trail",
  "type": "http",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1F0409ccD20A2fb497d4DeCeF4E17e9d0688FeA6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "calendars_used": {
            "description": "Each calendar's basis, weekend rule, coverage and official source",
            "type": "array"
          },
          "caveats": {
            "type": "array"
          },
          "convention_applied": {
            "description": "The cycle applied, whether it was cited or caller-asserted, its authority tier and citations",
            "type": "object"
          },
          "disclaimer": {
            "type": "string"
          },
          "receipt": {
            "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
            "type": "object"
          },
          "settlement_date": {
            "format": "date",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "trail": {
            "description": "Per-day walk: counted days and skipped days with the reason on each calendar",
            "type": "array"
          }
        },
        "required": [
          "status",
          "settlement_date",
          "convention_applied",
          "trail"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "business_days": 2,
            "calendars": [
              "za",
              "us"
            ],
            "trade_date": "2026-08-06"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "business_days": {
                    "description": "The offset you are trading under (0-30). Supply this, or market + instrument_class to have a cited cycle applied.",
                    "type": "integer"
                  },
                  "calendars": {
                    "description": "1-4 calendar ids to intersect: ISO 3166-1 alpha-2 country codes, plus 'eu.t2' for the euro cash leg. The date must be a business day on every one.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "instrument_class": {
                    "description": "Instrument class — a government bond never inherits an equity cycle",
                    "enum": [
                      "cash_equity",
                      "etf",
                      "corporate_bond",
                      "government_bond",
                      "tbill",
                      "repo",
                      "primary_issuance",
                      "other"
                    ],
                    "type": "string"
                  },
                  "market": {
                    "description": "ISO country of the market whose settlement cycle should be applied (with instrument_class)",
                    "type": "string"
                  },
                  "receipt": {
                    "description": "Optional. true adds an Ed25519 answer receipt on a paid 200, incluedd in this price. Not a certified extract.",
                    "type": "boolean"
                  },
                  "trade_date": {
                    "description": "Trade/reference date. It is day 0: never counted, never rolled.",
                    "format": "date",
                    "type": "string"
                  }
                },
                "required": [
                  "trade_date",
                  "calendars"
                ],
                "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": {
                  "calendars_used": {
                    "description": "Each calendar's basis, weekend rule, coverage and official source",
                    "type": "array"
                  },
                  "caveats": {
                    "type": "array"
                  },
                  "convention_applied": {
                    "description": "The cycle applied, whether it was cited or caller-asserted, its authority tier and citations",
                    "type": "object"
                  },
                  "disclaimer": {
                    "type": "string"
                  },
                  "receipt": {
                    "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
                    "type": "object"
                  },
                  "settlement_date": {
                    "format": "date",
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "trail": {
                    "description": "Per-day walk: counted days and skipped days with the reason on each calendar",
                    "type": "array"
                  }
                },
                "required": [
                  "status",
                  "settlement_date",
                  "convention_applied",
                  "trail"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "settlement-date",
    "working-days",
    "calendar",
    "north-america",
    "bazaar"
  ],
  "sourceHost": "usaref.dev",
  "lastUpdated": "2026-10-08T11:26:47.552Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-08T11:26:46.315Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "business_days": 2,
              "calendars": [
                "za",
                "us"
              ],
              "trade_date": "2026-08-06"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "business_days": {
                      "description": "The offset you are trading under (0-30). Supply this, or market + instrument_class to have a cited cycle applied.",
                      "type": "integer"
                    },
                    "calendars": {
                      "description": "1-4 calendar ids to intersect: ISO 3166-1 alpha-2 country codes, plus 'eu.t2' for the euro cash leg. The date must be a business day on every one.",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "instrument_class": {
                      "description": "Instrument class — a government bond never inherits an equity cycle",
                      "enum": [
                        "cash_equity",
                        "etf",
                        "corporate_bond",
                        "government_bond",
                        "tbill",
                        "repo",
                        "primary_issuance",
                        "other"
                      ],
                      "type": "string"
                    },
                    "market": {
                      "description": "ISO country of the market whose settlement cycle should be applied (with instrument_class)",
                      "type": "string"
                    },
                    "receipt": {
                      "description": "Optional. true adds an Ed25519 answer receipt on a paid 200, incluedd in this price. Not a certified extract.",
                      "type": "boolean"
                    },
                    "trade_date": {
                      "description": "Trade/reference date. It is day 0: never counted, never rolled.",
                      "format": "date",
                      "type": "string"
                    }
                  },
                  "required": [
                    "trade_date",
                    "calendars"
                  ],
                  "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": {
                    "calendars_used": {
                      "description": "Each calendar's basis, weekend rule, coverage and official source",
                      "type": "array"
                    },
                    "caveats": {
                      "type": "array"
                    },
                    "convention_applied": {
                      "description": "The cycle applied, whether it was cited or caller-asserted, its authority tier and citations",
                      "type": "object"
                    },
                    "disclaimer": {
                      "type": "string"
                    },
                    "receipt": {
                      "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
                      "type": "object"
                    },
                    "settlement_date": {
                      "format": "date",
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "trail": {
                      "description": "Per-day walk: counted days and skipped days with the reason on each calendar",
                      "type": "array"
                    }
                  },
                  "required": [
                    "status",
                    "settlement_date",
                    "convention_applied",
                    "trail"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "usaref.dev",
    "manifest_name": "usaref.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": {
      "calendars_used": [
        "value"
      ],
      "caveats": [
        "value"
      ],
      "convention_applied": {},
      "disclaimer": "string",
      "receipt": {},
      "settlement_date": "string",
      "status": "string",
      "trail": [
        "value"
      ]
    },
    "type": "string"
  }
}