# Exchange Trading Calendar – Single Day Lookup

> Exchange Trading Calendar – Single Day Lookup is a paid API for AI agents from handelskalender-api.pages.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Returns whether a specific stock exchange trades on a given day, including holiday names, trading hours (local + UTC), half-day status, lunch breaks, pre/after-market sessions, live open/close status, and next/previous trading days.

## Facts

- Endpoint: GET https://handelskalender-api.pages.dev/v1/trading-day?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/exchange-trading-calendar-single-day-lookup-bdd08a00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AvtrpRwtxzagN4LzTMDJv

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 exchange-trading-calendar-single-day-lookup-bdd08a00
```

Example prompt: Before I queue tomorrow's orders, check if NYSE (XNYS) is open for trading tomorrow and tell me the full hours including any pre-market session.

## When to prefer this

Choose this endpoint when you need to check a single day's trading status for a specific exchange before executing time-sensitive operations like order scheduling, report generation, or alert dispatch. It is ideal for real-time or near-real-time decisions. Use the annual calendar sibling endpoint instead when you need bulk holiday data for an entire year, or the live status sibling when you want a snapshot of all exchanges open right now.

## Known failure modes

- HTTP 400 returned for unrecognized exchange codes or malformed date strings
- No charge is applied on bad input
- Exchanges not in the supported list of 28 will return an error
- Future dates beyond calendar data availability may return incomplete results

## How this service works

Use when an agent needs to know if a stock exchange trades on a given day (default today) before scheduling orders, reports or alerts. 28 exchanges incl. NYSE, Nasdaq, LSE, Xetra, Euronext, SIX, Tokyo, HKEX, Shanghai, ASX. Returns holiday name, hours in local time + UTC, half days, lunch breaks, pre/after-market (Nasdaq, Xetra), live status, next open/close, previous/next trading day. Official exchange calendars only; bad input: HTTP 400, no charge.

## Output

A JSON object indicating whether the exchange trades on the requested date, any applicable holiday name, opening and closing times in both local and UTC, half-day flags, lunch break windows, pre-market and after-market session times where available (Nasdaq, Xetra), current live open/closed status, and the dates/times of the next and previous trading days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "exchange"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Day as YYYY-MM-DD. Optional, default: today in the exchange's time zone."
      },
      "exchange": {
       "type": "string",
       "description": "Exchange MIC code, e.g. XNYS (NYSE), XNAS (Nasdaq), XLON (London), XETR (Xetra), XPAR (Paris), XTKS (Tokyo), XHKG (Hong Kong). Common names also work (NYSE, Xetra, LSE). Free list: GET /v1/exchanges."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/exchange-trading-calendar-single-day-lookup-bdd08a00/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from handelskalender-api.pages.dev](https://www.zero.xyz/host/handelskalender-api.pages.dev/llms.txt)
