Market calendars & settlement dates
holidaysIs a market open on a date, and why not if it isn't. view='next_session' finds the next open day; view='settle' computes a T+N settlement date skipping weekends and holidays; view='business_days' counts open sessions in a range; view='year' lists a calendar's whole year. Paid: call without x_payment to receive this call's exact terms (amount, asset, network), sign them, then call again with x_payment. The free pricing tool lists every price at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Range end (view='business_days'). | |
| date | No | Reference date (YYYY-MM-DD). | |
| days | No | N in T+N (view='settle'). | |
| from | No | Range start (view='business_days'). | |
| view | No | Which calendar question to answer. | is_open |
| year | No | Calendar year (view='year'). | |
| market | No | Which calendar to use. | nyse |
| x_payment | No | Optional signed x402 payment payload (base64, what the X-PAYMENT header carries). Omit to receive the exact payment terms; sign them (e.g. @x402/fetch) and call again with this argument to settle and get the data. |