{"uid":"cap_t-jEXlWlnsEISYNVocZZF","slug":"alphalens-stock-history-endpoint-4068aea7","name":"AlphaLens Stock History Endpoint","description":"AI-powered stock analysis, technical indicators, sentiment scoring, and portfolio risk. 11 endpoints. Pay per request via x402 on Base chain.","url":"https://alphcok.vercel.app/api/history","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"symbol"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oYB9wFLeSGqcBiQhyOZNC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves historical price and trading data for a given stock symbol","exampleAgentPrompt":"Can you pull the historical price data for NVDA using AlphaLens so I can see how the stock has moved over time?","exampleUseCases":null,"resultDescription":"Returns a success boolean and a data object containing historical stock price and trading data for the requested ticker symbol, such as OHLCV (open, high, low, close, volume) records over time.","failureModes":["Missing or invalid stock symbol returns an error or success:false","Unrecognized ticker symbol may return empty data","Payment failure via x402/Base chain results in 402 response","Network or server timeout from Vercel deployment","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Use this endpoint when you need historical price or trading data for a specific stock ticker as part of financial analysis, backtesting, or portfolio review. Best suited for agents that need to retrieve time-series stock data on demand without maintaining a database.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:49:25.716Z","isFirstParty":false}