{"uid":"cap_UqrdNpqqjR-qtvndPbhgQ","slug":"x402stock-previous-close-data-b83dbde0","name":"x402stock Previous Close Data","description":"Pay-per-call market and economic data API for AI agents: US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities, US and global macro (Fed, CPI, jobs, GDP, Treasury, World Bank), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 on Base.","url":"https://x402stock.xyz/api/v1/prev-close/%7Bticker%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"low":309.53,"high":315,"open":311.775,"vwap":311.9766,"close":312.06,"volume":70030122,"timestamp":"2026-05-28T04:00:00.000Z","trade_count":764554},"as_of":"2026-05-28T04:00:00.000Z","source":"x402stock","ticker":"AAPL"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_5fRowexJGfGR5r9FKSPIz","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 previous trading day's OHLCV (open, high, low, close, volume, VWAP, trade count) for a given stock or ETF ticker","exampleAgentPrompt":"What did AAPL close at yesterday — can you pull the full previous-day trading summary including open, high, low, volume, and VWAP?","exampleUseCases":null,"resultDescription":"A JSON object containing the ticker's previous trading session data: open, high, low, close prices, VWAP, total volume, trade count, and timestamp of the session, plus the as_of date and source attribution.","failureModes":["Invalid or unrecognized ticker symbol returns an error","Ticker for a non-US or delisted stock may not be found","Request on a market holiday or weekend may return stale or empty data","Payment failure via x402/USDC results in 402 Payment Required response","Network timeout or service unavailability returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need end-of-day OHLCV summary data for a US stock or ETF for the most recent completed trading session. Prefer this over real-time quote endpoints when you only need prior-close reference data for valuation, comparison, or charting. Ideal for no-account, pay-per-call usage via USDC on Base with no API key setup required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:06:06.429Z","isFirstParty":false}