Check whether a market, asset class, or symbol is open, closed, in pre-market, or in po…
Check whether a market, asset class, or symbol is open, closed, in pre-market, or in post-market, with timezone-aware session context.
by x402.tickerlayer.com · discovered, not yet claimed by its owner · updated 2026-10-07
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Check whether a market, asset class, or symbol is open, closed, in pre-market, or in post-market, with timezone-aware session context.
Tags: markets · status · market-data · x402 · pay-per-request · bazaar · payment-identifier
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-07
{
"asset": "stocks",
"includeHoliday": "true",
"includeSessions": "false",
"market": "US",
"symbol": "US:AAPL"
}{
"asset": "stocks",
"is_open": true,
"local_time": "2026-08-01T12:00:00.000Z",
"market": "US",
"meta": {
"calendar_version": "v1-static-2026-2027",
"data_notice": "indicative"
},
"phase": "primary",
"reason": "regular session",
"status": "open",
"symbol": "US:AAPL",
"timestamp": "2026-08-01T12:00:00.000Z",
"timezone": "America/New_York"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/31572.jsonfor the price and payment options. - Pay. Call
GET https://x402.tickerlayer.com/v1/markets/status. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0x7Dc94dfDdAE57023feea1458B54C4c552E1d0dAC | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x7Dc94dfDdAE57023feea1458B54C4c552E1d0dAC",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"asset": {
"type": "string"
},
"is_open": {
"type": "boolean"
},
"local_time": {
"maxLength": 40,
"minLength": 20,
"pattern": "^\\d{4}-\\d{2}-\\d{2}T",
"type": "string"
},
"market": {
"type": "string"
},
"meta": {
"additionalProperties": true,
"properties": {
"calendar_version": {
"type": "string"
},
"data_notice": {
"type": "string"
}
},
"required": [
"calendar_version"
],
"type": "object"
},
"phase": {
"enum": [
"primary",
"pre_market",
"post_market",
"closed",
"weekend",
"holiday",
"early_close",
"maintenance"
],
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"enum": [
"open",
"closed",
"pre_market",
"post_market",
"maintenance"
],
"type": "string"
},
"symbol": {
"maxLength": 80,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9.:%-]*$",
"type": "string"
},
"timestamp": {
"maxLength": 40,
"minLength": 20,
"pattern": "^\\d{4}-\\d{2}-\\d{2}T",
"type": "string"
},
"timezone": {
"type": "string"
}
},
"required": [
"asset",
"market",
"status",
"is_open",
"phase",
"reason",
"timestamp",
"timezone",
"local_time",
"meta"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"asset": "string",
"is_open": true,
"local_time": "string",
"market": "string",
"meta": {
"calendar_version": "string",
"data_notice": "string"
},
"phase": "primary",
"reason": "string",
"status": "open",
"symbol": "string",
"timestamp": "string",
"timezone": "string"
},
"type": "string"
}Examples
curl "https://x402.tickerlayer.com/v1/markets/status"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://x402.tickerlayer.com/v1/markets/status");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://x402.tickerlayer.com/v1/markets/status")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- x402.tickerlayer.com
- Endpoint
- https://x402.tickerlayer.com/v1/markets/status
- Machine-readable
/resources/31572.json