{"uid":"cap_p9EX9ctKhqankGG-E1kfe","slug":"agent402-tools-pre-market-extended-hours-quote-df6dc59c","name":"agent402.tools Pre-Market & Extended-Hours Quote","description":"Extended-hours quote for a US-listed ticker: latest traded price including pre-market and after-hours sessions, which session it printed in (pre / regular / post / closed), change vs. the last regular-session price, and today's session windows. Backed by Yahoo Finance's chart endpoint with includePrePost.","url":"https://agent402.tools/api/premarket-quote","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":["symbol"],"properties":{"symbol":{"type":"string","description":"US-listed ticker (e.g. SPY, AAPL)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"SPDR S&P 500 ETF Trust","symbol":"SPY","currency":"USD","exchange":"PCX","sessions":{"pre":{"end":"2026-07-13T13:30:00Z","start":"2026-07-13T08:00:00Z"},"post":{"end":"2026-07-14T00:00:00Z","start":"2026-07-13T20:00:00Z"},"regular":{"end":"2026-07-13T20:00:00Z","start":"2026-07-13T13:30:00Z"}},"latestTime":"2026-07-13T23:59:00Z","latestPrice":621.05,"marketState":"post","latestSession":"post","previousClose":618.1,"extendedChangeAbs":0.73,"extendedChangePct":0.1177,"regularMarketTime":"2026-07-13T20:00:00Z","regularMarketPrice":620.32}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__VAbvQmY9Mhstjcnck_1Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest extended-hours (pre-market, regular, after-hours) traded price for a US-listed ticker, including session label, change vs last regular session close, and today's session windows.","exampleAgentPrompt":"What's the latest extended-hours price for TSLA right now — is it pre-market, after-hours, or regular session, and how much has it moved from yesterday's close?","exampleUseCases":null,"resultDescription":"Returns the latest traded price for the given US ticker including which session it printed in (pre-market, regular, post/after-hours, or closed), the change and percent change vs the last regular-session close price, and the start/end times for today's pre-market, regular, and after-hours session windows.","failureModes":["Invalid or unrecognized ticker symbol returns an error or empty result","Non-US-listed tickers may not be supported","Market data feed delays may cause stale quotes during high-volatility periods","Payment failure (insufficient USDC balance) results in 402 response before data is returned","Network timeout if upstream data provider is slow"],"whenToPreferThis":"Use this endpoint when you need real-time or near-real-time extended-hours stock price data for US-listed equities, especially outside regular market hours (pre-market or after-hours). Prefer this over standard quote APIs when the session context (pre/regular/post/closed) matters, or when you need to compare the current extended-hours price to the last regular-session close. Not suited for historical data, options, or non-US tickers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:06:26.481Z","isFirstParty":false}