{"uid":"cap_cvtxxZlf0SAV08pDGNbB1","slug":"x402stock-open-close-ohlcv-endpoint-via-zeroclick-b037e36f","name":"x402stock Open/Close OHLCV Endpoint via ZeroClick","description":"Market and economic data for AI agents — US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities (crude, natural gas, gasoline), US and global macro (Fed funds, CPI/PCE, jobs, GDP, Treasury debt & yields, World Bank indicators), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 or MPP. This server is a pay-per-use, transparent proxy in front of x402stock's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. This document is the source of truth for agents: it lists the complete verified paid surface with each operation's live price in its x-payment-info. Endpoints not listed here are not part of the supported catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge.","url":"https://agents.x402stock.xyz/api/v1/open-close/%7Bticker%7D","method":"GET","headers":{},"bodySchema":{"type":"object","required":["date"],"properties":{"date":{"type":"string"},"adjusted":{"type":"boolean"}}},"responseSchema":{"type":"object","required":["ticker","data","source","as_of"],"properties":{"data":{"type":"object","required":["date","open","high","low","close","volume","pre_market","after_hours"],"properties":{"low":{"type":"number"},"date":{"type":"string"},"high":{"type":"number"},"open":{"type":"number"},"close":{"type":"number"},"volume":{"type":"number"},"pre_market":{"anyOf":[{"type":"number"},{"type":"null"}]},"after_hours":{"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},"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_j4OyXdAkPSksT_M42dzBi","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 daily open, high, low, close, volume, pre-market, and after-hours price data for a given US stock or ETF ticker on a specific date","exampleAgentPrompt":"What did AAPL open and close at on January 15, 2025, including its pre-market and after-hours prices? Use the split-adjusted data.","exampleUseCases":[{"title":"Historical stock price lookup for analysis","prompt":"What were the open, high, low, and close prices for NVDA on March 4, 2025, including pre-market and after-hours? I want the adjusted figures."},{"title":"ETF daily performance check","prompt":"Pull the full daily price bar for SPY on February 28, 2025 — open, close, high, low, and volume — so I can compare it to the S&P 500 index that day."},{"title":"Backtesting data retrieval","prompt":"I need the OHLCV data for TSLA on December 10, 2024, unadjusted, including any pre-market or after-hours trading prices."}],"resultDescription":"A JSON object containing the ticker symbol, source attribution, as-of timestamp, and a data block with date, open, high, low, close, volume, pre-market price (or null if unavailable), and after-hours price (or null if unavailable) for the requested trading day.","failureModes":["Invalid or non-existent ticker returns an error","Non-trading day (weekend or holiday) may return no data or an error","Future date returns no data","Malformed date format causes a validation error","Payment failure via x402/USDC results in 402 response and no data returned","Ticker delisted before requested date may return empty or error response"],"whenToPreferThis":"Choose this endpoint when you need end-of-day OHLCV data plus pre-market and after-hours prices for a specific US stock or ETF on a specific historical date. It is ideal for backtesting, performance analysis, or point-in-time price lookups. Prefer this over real-time quote endpoints when you need a complete daily price bar with extended-hours data for a single ticker and date combination. Pay-per-use USDC pricing means no subscription commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:15.090Z","isFirstParty":false}