{"uid":"cap_9MJMB10pr93tcpmKLrlcA","slug":"x402stock-xyz-45d7d419","name":"x402stock.xyz Grouped Daily OHLCV","description":"End-of-day OHLCV bars for every US-listed ticker on a single date; one call returns the entire market. Pass `?date=YYYY-MM-DD` (required). 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.xyz/api/v1/grouped-daily","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","$schema":"https://json-schema.org/draft/2020-12/schema","required":["date","adjusted"],"properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"adjusted":{"type":"boolean","default":true}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["source","as_of","date","count","results"],"properties":{"date":{"type":"string"},"as_of":{"type":"string"},"count":{"type":"number"},"source":{"type":"string","const":"x402stock"},"results":{"type":"array","items":{"type":"object","required":["ticker","open","high","low","close","volume","vwap","trade_count","timestamp"],"properties":{"low":{"type":"number"},"high":{"type":"number"},"open":{"type":"number"},"vwap":{"anyOf":[{"type":"number"},{"type":"null"}]},"close":{"type":"number"},"ticker":{"type":"string"},"volume":{"type":"number"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}]},"trade_count":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false}},"adjusted":{"type":"boolean"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"date":"2025-06-02","as_of":"2025-06-02T00:00:00.000Z","count":1,"source":"x402stock","results":[{"low":200.12,"high":202.13,"open":200.28,"vwap":201.05,"close":201.7,"ticker":"AAPL","volume":35423294,"timestamp":"2025-06-02T04:00:00.000Z","trade_count":450000}],"adjusted":true}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"date":"2024-11-15","adjusted":true}}},"response":{"_bytes":262144,"_preview":"{\"source\":\"massive\",\"as_of\":\"2024-11-15T00:00:00.000Z\",\"date\":\"2024-11-15\",\"adjusted\":true,\"count\":10713,\"results\":[{\"ticker\":\"ATRO\",\"open\":16.4,\"high\":16.61,\"low\":15.88,\"close\":16.54,\"volume\":307621,\"vwap\":16.3627,\"trade_count\":6214,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"DOCS\",\"open\":50.69,\"high\":50.81,\"low\":48.16,\"close\":49.4,\"volume\":3180866,\"vwap\":49.2345,\"trade_count\":41107,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"PKW\",\"open\":120.25,\"high\":120.8099,\"low\":119.91,\"close\":120.28,\"volume\":11940,\"vwap\":120.2108,\"trade_count\":231,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"IDYA\",\"open\":29.46,\"high\":29.84,\"low\":26.405,\"close\":26.64,\"volume\":1197839,\"vwap\":27.0588,\"trade_count\":17636,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"TMQ\",\"open\":0.9451,\"high\":1.33,\"low\":0.9451,\"close\":1.28,\"volume\":4505121,\"vwap\":1.2297,\"trade_count\":8098,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"RCEL\",\"open\":12.58,\"high\":12.58,\"low\":11.65,\"close\":11.95,\"volume\":92010,\"vwap\":11.9722,\"trade_count\":2234,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"CHX\",\"open\":30.9,\"high\":31.2,\"low\":30.455,\"close\":30.64,\"volume\":950788,\"vwap\":30.6651,\"trade_count\":13500,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"WGS\",\"open\":73.95,\"high\":74.41,\"low\":68.01,\"close\":68.43,\"volume\":570624,\"vwap\":69.845,\"trade_count\":13034,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"XHG\",\"open\":29.8,\"high\":34,\"low\":29.6,\"close\":31.6,\"volume\":1485.45,\"vwap\":31.056,\"trade_count\":385,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"NVDX\",\"open\":19.39,\"high\":19.48,\"low\":18.09,\"close\":18.61,\"volume\":12200118,\"vwap\":18.7147,\"trade_count\":37997,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"SPYT\",\"open\":19.99,\"high\":19.99,\"low\":19.7689,\"close\":19.83,\"volume\":244980,\"vwap\":19.8134,\"trade_count\":2694,\"timestamp\":\"2024-11-15T21:00:00.000Z\"},{\"ticker\":\"IXC\",\"open\":42.12,\"high\":42.39,\"low\":41.915,\"close\":42.02,\"volume\":608547,\"vwap\":42.0199,\"trade_count\":4064,\"timestamp\":\"202","_truncated":true,"_contentType":"application/json"}},"exampleRequest":{"date":"2024-11-15","adjusted":true},"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SfzjiMvUdWyLP_FTQllLK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns end-of-day OHLCV bars for every US-listed equity ticker on a single specified date in one API call.","exampleAgentPrompt":"Pull the end-of-day OHLCV bars for every US-listed stock on 2024-11-15, using adjusted prices.","exampleUseCases":null,"resultDescription":"A JSON object containing the queried date, an as-of timestamp, a count of results, the data source, whether prices are adjusted, and an array of OHLCV records — each with ticker, open, high, low, close, volume, VWAP, trade count, and timestamp — covering all US-listed equities that traded on that day.","failureModes":["Missing required 'date' query parameter returns an error","Date formatted incorrectly (not YYYY-MM-DD) returns a validation error","Date falls on a weekend or market holiday — may return empty results array","Future date requested — no data available yet","Payment not included or insufficient USDC — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need end-of-day price data for the entire US equity market on a single date in one call, rather than fetching individual tickers one by one. Ideal for backtesting, portfolio valuation snapshots, screening, or bulk data ingestion pipelines. Prefer this over single-ticker endpoints when coverage across all tickers is needed for a given date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:55:12.468Z","isFirstParty":false}