{"uid":"cap_A7yrio5MOcsa78MtyEbe6","slug":"blockrun-us-stock-ohlc-history-gld-3edeb352","name":"Blockrun US Stock OHLC History – GLD","description":"US Stock OHLC bars for GLD @ D","url":"https://blockrun-web-vbsbhh7lea-uc.a.run.app/api/v1/stocks/us/history/GLD","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"path":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","example":"AAPL","description":"NYSE/Nasdaq/AMEX ticker (AAPL, TSLA, NVDA, CRCL, SPY, …)."}}},"query":{"type":"object","required":["from","to"],"properties":{"to":{"type":"integer","description":"Window end (Unix seconds)."},"from":{"type":"integer","description":"Window start (Unix seconds)."},"session":{"enum":["pre","post","on"],"type":"string","description":"Optional US market session."},"resolution":{"enum":["1","5","15","60","240","D","W","M"],"type":"string","default":"D","description":"Bar resolution (TradingView convention): 1/5/15/60/240 min, D day, W week, M month."}}}}},"output":{"type":"object","required":["symbol","resolution","bars","source"],"properties":{"to":{"type":"integer"},"bars":{"type":"array","items":{"type":"object","required":["t","o","h","l","c","v"],"properties":{"c":{"type":"number","description":"Close"},"h":{"type":"number","description":"High"},"l":{"type":"number","description":"Low"},"o":{"type":"number","description":"Open"},"t":{"type":"integer","description":"Bar start (Unix seconds)"},"v":{"type":"number","description":"Volume"}}}},"from":{"type":"integer"},"source":{"type":"string","const":"pyth"},"symbol":{"type":"string","example":"AAPL"},"resolution":{"type":"string","example":"D"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LcqL-Xbgq_X_lJ6y15eq7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical OHLC (open/high/low/close/volume) bar data for GLD (SPDR Gold Shares ETF) at configurable resolutions from 1-minute to monthly.","exampleAgentPrompt":"Can you pull the daily OHLC bars for GLD from January 1, 2025 to March 31, 2025 so I can chart the gold ETF's price trend?","exampleUseCases":null,"resultDescription":"Returns an array of OHLC bar objects for GLD, each containing bar start time (Unix seconds), open, high, low, close prices, and volume, along with metadata including symbol, resolution, and data source (Pyth).","failureModes":["Invalid or missing 'from'/'to' timestamps returns a 400 error","'from' timestamp after 'to' timestamp may return empty bars array or error","Requesting data outside of market hours without a session filter may yield sparse results","Invalid resolution value not in enum returns validation error","Network or service unavailability returns 5xx error","Very large date ranges may time out or return partial data"],"whenToPreferThis":"Use this endpoint when you need structured OHLC candlestick/bar data for the GLD (SPDR Gold Shares) ETF specifically over a defined historical time window, especially for charting, backtesting, or technical analysis. Prefer this over the realtime GLD price endpoint when historical depth across multiple bars is needed rather than a single current price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:31.642Z","isFirstParty":false}