{"uid":"cap_rMnA3aFjUk3hEIUUQVeC1","slug":"x402stock-vercel-app-4d639120","name":"x402stock Stock Quote API","description":"Get the latest available price for any US-listed stock: the most recent 1-minute bar close plus today's OHLCV, change, and previous close. Currently 15 minutes delayed; each response carries `is_delayed: true`. Real-time pricing lands when the data plan is upgraded. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.","url":"https://x402stock.vercel.app/api/v1/quote/MSFT","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ticker","data","source","as_of"],"properties":{"data":{"type":"object","required":["price","change","change_percent","previous_close","timestamp","is_delayed","delayed_by"],"properties":{"day":{"type":"object","required":["open","high","low","close","volume"],"properties":{"low":{"type":"number"},"high":{"type":"number"},"open":{"type":"number"},"vwap":{"type":"number"},"close":{"type":"number"},"volume":{"type":"number"}},"additionalProperties":false},"price":{"anyOf":[{"type":"number"},{"type":"null"}]},"change":{"anyOf":[{"type":"number"},{"type":"null"}]},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}]},"delayed_by":{"type":"string"},"is_delayed":{"type":"boolean"},"change_percent":{"anyOf":[{"type":"number"},{"type":"null"}]},"previous_close":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false},"as_of":{"type":"string"},"source":{"type":"string","const":"x402stock"},"ticker":{"type":"string"},"feedback":{"type":"object","required":["endpoint","method","free","note"],"properties":{"free":{"type":"boolean"},"note":{"type":"string"},"method":{"type":"string","const":"POST"},"endpoint":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"data":{"day":{"low":384,"high":396.85,"open":395.205,"vwap":389.1589,"close":390.34,"volume":47247243},"price":392.7,"change":-4.660000000000025,"timestamp":"2026-06-11T23:59:00.000Z","delayed_by":"15 minutes","is_delayed":true,"change_percent":-1.1727400845580895,"previous_close":397.36},"as_of":"2026-06-11T23:59:00.000Z","source":"x402stock","ticker":"MSFT"}},"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_xJMdkk1DRlCAfmH31trwt","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 latest 15-minute-delayed price quote for a US-listed stock, including OHLCV, change, and previous close, billed at $0.01 USDC per call via x402.","exampleAgentPrompt":"What's the current stock price for MSFT — give me today's open, high, low, close, volume, and how much it's changed from yesterday's close?","exampleUseCases":null,"resultDescription":"A JSON object with the ticker symbol, latest 1-minute bar close price, today's OHLCV (open/high/low/close/volume) with optional VWAP, dollar change, percent change, previous close, timestamp, data source ('massive'), as_of datetime, and a flag indicating the data is 15 minutes delayed (is_delayed: true).","failureModes":["Invalid or unrecognized ticker symbol returns an error or empty data","Market closed / outside trading hours may return null for price fields","Payment not processed (x402 flow not completed) returns 402 Payment Required","Network or upstream data provider outage returns 5xx error","Ticker for non-US or OTC securities may not be available"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost ($0.01 USDC) US stock price lookup with today's OHLCV and change data, and a 15-minute delay is acceptable. Prefer this over real-time alternatives when cost efficiency matters more than split-second accuracy, or when building agents that need programmatic per-call micropayment billing via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:38:31.452Z","isFirstParty":false}