{"uid":"cap_2ocHM6a-4snIwyIAZ6MJo","slug":"daily-market-summary-ohlc-04e0c8ab","name":"Daily Market Summary (OHLC)","description":"Get the daily open, high, low, and close (OHLC) for the entire stocks/equities markets. Can't find what you're looking for? POST feedback to /feedback, no charge.","url":"https://agent.massive.com/v2/aggs/grouped/locale/us/market/stocks/:date","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"},"pathParams":{"type":"object","required":["date"],"properties":{"date":{"type":"string","description":"The beginning date for the aggregate window."}}},"queryParams":{"type":"object","properties":{"adjusted":{"type":"boolean","description":"Whether or not the results are adjusted for splits. By default, results are adjusted. Set this to false to get results that are NOT adjusted for splits."},"include_otc":{"type":"boolean","description":"Include OTC securities in the response. Default is false (don't include OTC securities)."}}}},"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_B277MPTpkH8Ch4N1F--ON","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 daily open, high, low, and close (OHLC) prices for all US stocks and equities for a given date.","exampleAgentPrompt":"Can you pull the full daily OHLC summary for all US stocks for January 15, 2025, including OTC securities and using split-adjusted prices?","exampleUseCases":[{"title":"End-of-day portfolio valuation","prompt":"Get me the daily open, high, low, and close prices for the entire US stock market on March 3, 2025, with split adjustments applied, so I can value all positions in my portfolio."},{"title":"Backtesting strategy with historical data","prompt":"I need the grouped daily OHLC bars for all US equities on December 31, 2024 — include OTC securities and make sure the prices are not adjusted for splits."},{"title":"Market breadth analysis dashboard","prompt":"Fetch the complete daily market summary for all US stocks for February 14, 2025, adjusted for splits, so I can calculate how many stocks closed higher than they opened that day."}],"resultDescription":"Returns an array of aggregated OHLC bar objects for every US stock and equity traded on the specified date, each containing ticker symbol, open, high, low, close, volume, and related trading statistics. Results are split-adjusted by default and OTC securities can optionally be included.","failureModes":["Invalid or future date returns empty results or an error","Non-trading day (weekend/holiday) returns no data or empty results set","Malformed date format causes a 400 bad request","Rate limiting or payment failure returns a 402 or 429 error","OTC securities not included by default unless include_otc is set to true"],"whenToPreferThis":"Use this endpoint when you need a snapshot of OHLC price data across the entire US equities market for a single date, rather than data for a specific ticker. Prefer this over the Daily Ticker Summary endpoint when you need market-wide aggregates rather than a single stock. Ideal for backtesting, market breadth analysis, or bulk portfolio valuation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:59:14.659Z","isFirstParty":false}