{"uid":"cap_3vWoUbD_yjxUCzHUUjzaY","slug":"agents-x402stock-xyz-x402stock-open-close-daily-price-endpoint-2924b46f","name":"x402stock Open/Close Daily Price Endpoint","description":"Official open, close, high, low, volume, plus pre-market and after-hours prices for a ticker on a given date. 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://agents.x402stock.xyz/api/v1/open-close/{ticker}","method":"GET","headers":{},"bodySchema":{"type":"object","required":["ticker","date"],"properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"ticker":{"type":"string","description":"US-listed ticker symbol (uppercase), e.g. AAPL."},"adjusted":{"type":"boolean","default":true}}},"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":[],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.25","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":1,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e6EQe9vTIZ800uoQM1EKP","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agents.x402stock.xyz","brandSlug":"agents-x402stock-xyz-mpp","brandBaseUrl":"https://agents.x402stock.xyz","brandDocsUrl":null,"whatItDoes":"Returns official OHLCV data (open, close, high, low, volume) plus pre-market and after-hours prices for a US-listed stock ticker on a specific date.","exampleAgentPrompt":"What were the official open, close, high, low, volume, pre-market, and after-hours prices for AAPL on March 15, 2024?","exampleUseCases":[{"title":"Earnings day price lookup","prompt":"What did NVDA open and close at on the day it reported earnings — November 21, 2024 — and what was the after-hours price that evening?"},{"title":"Historical portfolio valuation","prompt":"I need the official closing price for SPY on January 2, 2025 to calculate my portfolio's value at the start of the year."},{"title":"Pre-market volatility check","prompt":"What was the pre-market trading price for TSLA on April 23, 2024, and how did it compare to the regular open and close that day?"}],"resultDescription":"A JSON object containing the ticker symbol, the date, and a data block with open, high, low, close, volume, pre_market (nullable), and after_hours (nullable) prices for that trading day, plus a source identifier and an as_of timestamp.","failureModes":["Invalid or unrecognized ticker symbol returns an error","Date not in YYYY-MM-DD format causes a 400 validation error","Requesting a date that is not a trading day (weekend or holiday) may return null or an error","Future dates are not supported","Payment failure via x402 results in a 402 Payment Required response","Market data unavailable for very old or obscure tickers"],"whenToPreferThis":"Use this endpoint when you need a single day's complete official price snapshot for a US-listed stock or ETF, including pre-market and after-hours prices, without needing an API key or account. Prefer this over multi-bar historical endpoints when only one specific date is required. Ideal for agents that need to autonomously pay per call in USDC without user-managed credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":4,"lastUsedAt":"2026-09-02T01:56:57.669Z","lastSuccessfullyRanAt":"2026-09-02T01:56:57.669Z","lastHealthCheckAt":"2026-09-09T12:30:05.110Z","isFirstParty":false}