Use when an agent must know if a stock market is open at a time
agent-utils.threads-cron.workers.dev/v1/market/status
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
POST
https://agent-utils.threads-cron.workers.dev/v1/market/statusUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-utils.threads-cron.workers.dev/v1/market/status", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"at":"2026-11-27T13:00:00-05:00","market":"XNYS"}),
});
console.log(await res.json());Example input
{
"at": "2026-11-27T13:00:00-05:00",
"market": "XNYS"
}