{"uid":"cap_2FSpyQBgRJHqF1drSZ-Cv","slug":"onchainexpat-x402-stock-quote-api-8fc12349","name":"OnchainExpat x402 Stock Quote API","description":"Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol","url":"https://x402.onchainexpat.com/api/x402-tools/stocks/quote","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Stock ticker symbol, e.g. 'AAPL', 'TSLA', 'GOOGL'"}}},"responseSchema":{"type":"object","properties":{"price":{"type":"number"},"cached":{"type":"boolean"},"change":{"type":"number"},"symbol":{"type":"string"},"volume":{"type":"integer"},"change_pct":{"type":"number"}}},"example":{"request":{"symbol":"AAPL"},"response":{"low":294.36,"high":302.07,"open":300.845,"price":295.95,"cached":false,"change":-3.29,"symbol":"AAPL","volume":42745060,"change_percent":"-1.0995","previous_close":299.24,"latest_trading_day":"2026-06-17"}},"exampleRequest":{"symbol":"AAPL"},"tags":["x402"],"displayCostAmount":"0.01","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.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_vnZG5mGLG0sP64GPDsNgI","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":"Fetches a real-time stock price quote for a given ticker symbol via pay-per-request x402 micropayment protocol","exampleAgentPrompt":"What's the current stock price for NVDA?","exampleUseCases":[{"title":"Portfolio performance monitoring agent","prompt":"Check the latest prices for Apple, Microsoft, and Tesla so I can see how my portfolio is doing right now"},{"title":"Real-time trading alert system","prompt":"What's the current price of Bitcoin stock tickers and major tech stocks? I need to track if any hit my alert thresholds"},{"title":"Investment research comparison tool","prompt":"Pull the live prices for Nvidia, AMD, and Intel so I can compare their current valuations while researching semiconductor companies"}],"resultDescription":"Returns a JSON object containing the real-time stock quote for the requested ticker, including current price and associated market metadata such as symbol, price, change, and volume indicators.","failureModes":["Invalid or unrecognized ticker symbol returns an error response","Payment failure or insufficient USDC balance prevents request from being fulfilled","Market closed or after-hours may return stale or unavailable quote data","Malformed POST body missing the ticker parameter returns a validation error","Rate limiting or service downtime returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a real-time stock price quote via a pay-per-request micropayment model (x402/USDC) without a subscription, especially useful for AI agents that need on-demand financial data with per-call billing rather than a monthly API key plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:56:30.562Z","isFirstParty":false}