{"uid":"cap_LG0x9qgoklPIIAA63n_JV","slug":"us-stock-market-session-status-f4c429f7","name":"US Stock Market Session Status","description":"Current US stock market session status (open, pre-market, after-hours, or closed), via Yahoo Finance","url":"https://finance-api.kdlcfa.workers.dev/market-status?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":[],"properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A2BatLtJf8_DrkhXORehf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current US stock market session status (open, pre-market, after-hours, or closed) via Yahoo Finance","exampleAgentPrompt":"Is the US stock market open right now, or are we in pre-market, after-hours, or is it fully closed?","exampleUseCases":[{"title":"Pre-trade session check for order routing","prompt":"Before I submit this stock order, can you check whether the US market is currently open, in pre-market, after-hours, or closed so I know what kind of order to place?"},{"title":"Automated trading bot gate check","prompt":"Is the US stock market in a live open session right now? I want to know if it's safe to execute market orders or if we're in pre-market/after-hours."},{"title":"Finance dashboard market status widget","prompt":"What's the current US stock market session status — is it open, pre-market, after-hours, or closed?"}],"resultDescription":"Returns the current US stock market session state as one of four values: open (regular trading hours), pre-market, after-hours, or closed. This reflects real-time session status sourced via Yahoo Finance.","failureModes":["Yahoo Finance upstream unavailable — service may return an error or stale data","Network timeout on the Cloudflare worker — may return 5xx","Payment not fulfilled (x402) — returns 402 Payment Required if USDC payment not attached"],"whenToPreferThis":"Use this endpoint when you need a lightweight, low-cost, real-time check on the current US stock market session phase before executing trades, gating workflows, or displaying market status in dashboards. Prefer this over full quote endpoints when you only need session state, not price data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T18:45:40.736Z","isFirstParty":false,"canonicalSlug":"us-stock-market-session-status-f4c429f7"}