# MacroPulse Market Hours & Status API

> MacroPulse Market Hours & Status API is a paid API for AI agents from macropulse.theaslangroupllc.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns whether a major global stock exchange is currently open or closed, the reason if closed, local exchange time, and next open/close timestamps — with optional point-in-time queries.

## Facts

- Endpoint: GET https://macropulse.theaslangroupllc.com/api/market/is-open
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macropulse-market-hours-status-api-15b92bef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MA6b02aNyC2YIHP6QFnzc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability macropulse-market-hours-status-api-15b92bef
```

Example prompt: Is the NYSE open right now, and if not, why — is it a holiday, weekend, or after-hours? Also tell me when it next opens.

## When to prefer this

Use this endpoint when an agent needs to deterministically confirm whether a specific major global stock exchange is open before placing trades, fetching prices, or scheduling market-dependent actions. Prefer this over scraping exchange websites or using LLM knowledge, which may be stale. The ?at= parameter makes it ideal for forward-planning (e.g. 'will the TSE be open next Friday?') or backtesting scenarios. Zero external calls means sub-second, cacheable responses.

## Known failure modes

- Unknown or unsupported exchange name returns a 404 or error response
- Invalid ?at= timestamp format returns a 400 bad request
- Ambiguous exchange abbreviation (e.g. 'SE') may return an error or unexpected exchange
- Network/service unavailability returns a 5xx error

## How this service works

Is the stock market open right now? Deterministic market-status and trading-hours for the major global exchanges — NYSE, NASDAQ, LSE, Xetra, Euronext, TSE/JPX, HKEX, SSE, ASX, TSX, SIX, NSE/BSE. Returns is_open plus why it is shut (weekend, holiday, lunch break, pre/after-hours), the exchange local time, and the next open and close as ISO timestamps. Pass ?at= for any past or future moment. Zero external calls, sub-second, cacheable.

## Output

Returns a JSON object with: is_open (boolean), the reason the exchange is closed if applicable (weekend, holiday, lunch break, pre/after-hours), the current local time at the exchange, and ISO 8601 timestamps for the next open and next close events.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "exchange"
 ],
 "properties": {
  "at": {
   "type": "string",
   "description": "ISO 8601 timestamp to evaluate. Default: now. Lets an agent ask \"will NYSE be open at this future moment\"."
  },
  "exchange": {
   "type": "string",
   "description": "Exchange code: NYSE, NASDAQ, LSE, XETRA, EURONEXT, JPX (TSE), HKEX, SSE, ASX, TSX, SIX, NSE, BSE. Aliases accepted (e.g. TSE, XNYS, FWB)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "at": "2026-07-13T14:30:00.000Z",
  "name": "New York Stock Exchange",
  "status": "open",
  "holiday": null,
  "is_open": true,
  "session": {
   "open": "09:30",
   "close": "16:00",
   "half_day": false,
   "segments": [
    [
     "09:30",
     "16:00"
    ]
   ]
  },
  "exchange": "NYSE",
  "timezone": "America/New_York",
  "next_open": "2026-07-14T13:30:00.000Z",
  "local_time": "2026-07-13T10:30:00",
  "next_close": "2026-07-13T20:00:00.000Z",
  "deterministic": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macropulse-market-hours-status-api-15b92bef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from macropulse.theaslangroupllc.com](https://www.zero.xyz/host/macropulse.theaslangroupllc.com/llms.txt)
