{"uid":"cap_-d-8VEa9-bVJIO5mMD7Qj","slug":"alphalens-stock-history-endpoint-076921f0","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://alephack.vercel.app/api/history?utm_source=zero.xyz","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":"registry","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_hja_S9sAXiPpHl5p_5rO-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves historical price and related data for a given stock symbol","exampleAgentPrompt":"Pull the historical price data for TSLA using AlphaLens so I can analyze how it's performed over time.","exampleUseCases":[{"title":"Backtesting a trading strategy","prompt":"Get me the historical price history for NVDA from AlphaLens so I can backtest my moving average strategy against it."},{"title":"Portfolio performance review","prompt":"Fetch the historical stock data for MSFT so I can review how it's trended over the past year for my portfolio report."},{"title":"Comparing stock price trends","prompt":"Pull the historical data for both AAPL and GOOGL so I can compare their price movements over time."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing historical stock data (such as past prices and related OHLCV fields) for the requested symbol.","failureModes":["Invalid or unrecognized stock symbol returns success: false or empty data","Missing required 'symbol' field results in a 400-level error","Network or upstream data provider outage may return no data","Payment failure on Base chain (x402) prevents request from being processed"],"whenToPreferThis":"Choose this endpoint when you need historical price or OHLCV data for a specific equity ticker, particularly within the AlphaLens suite which also offers sentiment and technical indicators. Prefer this over generic market data APIs if you are already using other AlphaLens endpoints for a consistent data pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:39:55.987Z","isFirstParty":false,"canonicalSlug":"alphalens-stock-history-endpoint-076921f0"}