{"uid":"cap_J6NE4IIU91opIm1JDd7h-","slug":"alphalens-compare-stocks-api-0f867661","name":"AlphaLens Compare Stocks API","description":"AI-powered stock analysis, technical indicators, sentiment scoring, and portfolio risk. 11 endpoints. Pay per request via x402 on Base chain.","url":"https://402alphacook.vercel.app/api/compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbols"],"properties":{"symbols":{"type":"array","description":"symbols"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DNYJGVoUmCC0xuVC-TjDG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares multiple stocks side-by-side using AI-powered analysis including technical indicators, sentiment scoring, and portfolio risk metrics","exampleAgentPrompt":"Can you compare AAPL, MSFT, and NVDA side by side — I want to see which one has the best technical indicators and sentiment score right now before I decide where to put my money?","exampleUseCases":[{"title":"Tech stock portfolio selection","prompt":"Compare AAPL, GOOGL, and META for me — I need to know which has the strongest technical signals and sentiment before I rebalance my portfolio this week."},{"title":"Sector rivalry stock battle","prompt":"Do a head-to-head comparison of TSLA and RIVN — I want to see their technical indicators, sentiment, and risk scores side by side so I can decide which EV stock to hold."},{"title":"Earnings season stock pick","prompt":"Compare AMZN, WMT, and COST for me right now — which one looks strongest on your AI analysis going into earnings season?"}],"resultDescription":"Returns a structured comparison object containing side-by-side analysis data for all submitted stock symbols, including technical indicators, AI-generated sentiment scores, and portfolio risk metrics for each ticker, with a success boolean indicating call status.","failureModes":["Empty or missing symbols array returns validation error","Invalid or unrecognized ticker symbols may return no data or partial results","Network timeout on vercel deployment under heavy load","Malformed request body without required symbols field returns 400-level error","Symbols for non-US or delisted stocks may not be supported"],"whenToPreferThis":"Choose this endpoint when you need to compare two or more stocks simultaneously rather than analyzing a single ticker in isolation. It is ideal for portfolio construction decisions, sector comparisons, or any scenario where relative ranking of stocks by AI-powered signals (sentiment, technicals, risk) is more useful than absolute single-stock data. Prefer it over single-stock endpoints when the user's question is inherently comparative ('which is better', 'rank these', 'vs').","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:40:52.905Z","isFirstParty":false,"canonicalSlug":"alphalens-compare-stocks-api-0f867661"}