ToolAssay

Use when an agent must know if a stock market is open at a time

Use when an agent must know if a stock market is open at a time: NYSE (XNYS), Nasdaq (XNAS), Tokyo Stock Exchange (XJPX). Regular trading hours only (no pre/after-hours): open, session (regular/lunch/closed), reason (weekend, holiday, early close), local time, next open/close. Built-in official calendars: XNYS 2026-28, XNAS 2026, XJPX 2026-27; other years get 400. No charge: 400, 405 other methods, 429; 502/503 not charged.

Answeringour last check, 2026-11-27
7 of 7checks answered this week
375 msmedian answer time
$0.003listed price per call
$0.003price 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://agent-utils.threads-cron.workers.dev/v1/market/status

CategoryMarket data
Provider hostagent-utils.threads-cron.workers.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.003 424 ms
2026-11-26 valid payment request 402$0.003 386 ms
2026-11-25 valid payment request 402$0.003 375 ms
2026-11-24 valid payment request 402$0.003 377 ms
2026-11-23 valid payment request 402$0.003 32 ms
2026-11-22 valid payment request 402$0.003 33 ms
2026-11-21 valid payment request 402$0.003 38 ms
2026-11-20 valid payment request 402$0.003 35 ms
2026-11-19 valid payment request 402$0.003 384 ms
2026-11-18 valid payment request 402$0.003 40 ms
2026-11-17 valid payment request 402$0.003 450 ms
2026-11-16 valid payment request 402$0.003 36 ms

Example input (from the provider)

{
  "body": {
    "at": "2026-11-27T13:00:00-05:00",
    "market": "XNYS"
  },
  "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": {
            "at": {
              "description": "Optional ISO 8601 date-time with a time zone (e.g. 2026-11-27T13:00:00-05:00 or ...Z). Omit for now.",
              "type": "string"
            },
            "market": {
              "description": "XNYS = NYSE, XNAS = Nasdaq, XJPX = Tokyo Stock Exchange (case-insensitive).",
              "enum": [
                "XNYS",
                "XNAS",
                "XJPX"
              ],
              "type": "string"
            }
          },
          "required": [
            "market"
          ],
          "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": {
            "at": {
              "description": "The instant evaluated (UTC)",
              "type": "string"
            },
            "calendarCheckedOn": {
              "description": "Date the calendar was checked against official pages",
              "type": "string"
            },
            "localTime": {
              "description": "The instant in the market's local time with offset",
              "type": "string"
            },
            "market": {
              "description": "Market identifier (MIC)",
              "type": "string"
            },
            "marketName": {
              "type": "string"
            },
            "nextClose": {
              "description": "Next end of a regular session after 'at' (local time); null if beyond the calendar",
              "type": [
                "string",
                "null"
              ]
            },
            "nextOpen": {
              "description": "Next start of a regular session after 'at' (local time); null if beyond the calendar",
              "type": [
                "string",
                "null"
              ]
            },
            "note": {
              "description": "Scope of the result: regular trading hours only",
              "type": "string"
            },
            "open": {
              "description": "true only during the regular trading session (not lunch; pre-market and after-hours are not reported)",
              "type": "boolean"
            },
            "reason": {
              "description": "weekend, holiday:<name>, early_close (an early-close day), lunch_break, outside_hours, or null during a normal regular session",
              "type": [
                "string",
                "null"
              ]
            },
            "session": {
              "description": "regular = regular trading hours; lunch = Tokyo lunch break only; closed = any other time (including pre-market and after-hours)",
              "enum": [
                "regular",
                "lunch",
                "closed"
              ],
              "type": "string"
            },
            "source": {
              "description": "Calendar source and check date",
              "type": "string"
            },
            "timezone": {
              "description": "IANA time zone of the market",
              "type": "string"
            }
          },
          "required": [
            "market",
            "marketName",
            "open",
            "session",
            "reason",
            "at",
            "localTime",
            "timezone",
            "nextOpen",
            "nextClose",
            "source",
            "calendarCheckedOn",
            "note"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON