ToolAssay

Date Math

Date Math: Stock exchange calendar for NYSE/Nasdaq, London (LSE) and Tokyo (JPX): is the market open now, today's session (early closes, lunch break), next open and close, holidays, previous/next trading day, and the trade settlement date (T+1/T+2). Use for trading agents, order timing and settlement.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
31 msmedian answer time
$0.001listed price per call
$0.001price 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://date-math.datemath.workers.dev/v1/market

CategoryMarket data
Provider hostdate-math.datemath.workers.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.001 29 ms
2026-11-25 valid payment request 402$0.001 1313 ms
2026-11-24 valid payment request 402$0.001 1389 ms
2026-11-23 valid payment request 402$0.001 22 ms
2026-11-22 valid payment request 402$0.001 28 ms
2026-11-21 valid payment request 402$0.001 1242 ms
2026-11-20 valid payment request 402$0.001 31 ms
2026-11-19 valid payment request 402$0.001 30 ms
2026-11-18 valid payment request 402$0.001 38 ms
2026-11-17 valid payment request 402$0.001 39 ms
2026-11-16 valid payment request 402$0.001 32 ms
2026-11-15 valid payment request 402$0.001 1299 ms
2026-11-14 valid payment request 402$0.001 24 ms
2026-11-13 valid payment request 402$0.001 30 ms
2026-11-12 valid payment request 402$0.001 32 ms
2026-11-11 valid payment request 402$0.001 1444 ms
2026-11-10 valid payment request 402$0.001 1291 ms
2026-11-09 valid payment request 402$0.001 1272 ms
2026-11-08 valid payment request 402$0.001 42 ms

Example input (from the provider)

{
  "body": {
    "at": "2026-11-27T17:00:00Z",
    "date": "2026-11-27",
    "exchange": "NYSE"
  },
  "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": {
          "properties": {
            "at": {
              "description": "Instant for the open/closed status: ISO 8601 with offset (default: now)",
              "type": "string"
            },
            "date": {
              "example": "2026-11-07",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "exchange": {
              "description": "XNYS or NYSE, XNAS or NASDAQ, XLON or LSE, XTKS or TSE/JPX",
              "example": "NYSE",
              "type": "string"
            },
            "list_year": {
              "description": "Also list that year's holidays and early closes",
              "maximum": 2050,
              "minimum": 2000,
              "type": "integer"
            }
          },
          "required": [
            "exchange"
          ],
          "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": {
            "calendar": {
              "items": {
                "properties": {
                  "close": {
                    "type": "string"
                  },
                  "date": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "type": {
                    "enum": [
                      "closed",
                      "early_close"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "date",
                  "name",
                  "type"
                ],
                "type": "object"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "date": {
              "type": "string"
            },
            "early_close": {
              "description": "Reason for an early close, if any",
              "type": [
                "string",
                "null"
              ]
            },
            "exchange": {
              "type": "string"
            },
            "holiday": {
              "type": [
                "string",
                "null"
              ]
            },
            "is_trading_day": {
              "type": "boolean"
            },
            "name": {
              "type": "string"
            },
            "next_trading_day": {
              "type": "string"
            },
            "note": {
              "type": "string"
            },
            "previous_trading_day": {
              "type": "string"
            },
            "reason": {
              "enum": [
                "weekend",
                "holiday",
                null
              ],
              "type": [
                "string",
                "null"
              ]
            },
            "session": {
              "properties": {
                "break": {
                  "properties": {
                    "end": {
                      "type": "string"
                    },
                    "start": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "start",
                    "end"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "close": {
                  "type": "string"
                },
                "close_utc": {
                  "type": "string"
                },
                "open": {
                  "type": "string"
                },
                "open_utc": {
                  "type": "string"
                }
              },
              "required": [
                "open",
                "close",
                "open_utc",
                "close_utc",
                "break"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "settlement": {
              "properties": {
                "cycle": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                },
                "settlement_date": {
                  "type": "string"
                }
              },
              "required": [
                "cycle",
                "settlement_date",
                "note"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "status": {
              "properties": {
                "at": {
                  "type": "string"
                },
                "is_open": {
                  "type": "boolean"
                },
                "local": {
                  "type": "string"
                },
                "next_close": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "next_open": {
                  "type": "string"
                },
                "phase": {
                  "enum": [
                    "open",
                    "pre_open",
                    "break",
                    "after

This page as JSON