{"uid":"cap_KFpqHzB6SltZ98tz_g4H0","slug":"alphalens-stock-compare-api-620ebb4d","name":"AlphaLens Stock Compare 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://alphencook.vercel.app/api/compare","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_ZIo4hxgYtvdmE30CmYUC-","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, technical indicators, sentiment scoring, and risk metrics","exampleAgentPrompt":"Compare NVDA, AMD, and INTC side by side — I want to see their technical indicators, sentiment scores, and risk profiles to figure out which one looks strongest right now.","exampleUseCases":[{"title":"Tech stock head-to-head comparison","prompt":"Can you compare AAPL, MSFT, and GOOG for me? I want to see which one has the best momentum and sentiment score before I decide where to put my money."},{"title":"Portfolio candidate ranking","prompt":"I'm deciding between TSLA, RIVN, and F for an EV play — can you compare all three and tell me which looks least risky and most technically promising?"},{"title":"Sector rotation stock pick","prompt":"Compare XOM, CVX, and COP using AI analysis — I want sentiment scores and technical indicators so I can pick the strongest energy stock this quarter."}],"resultDescription":"Returns a JSON object with a success flag and a data object containing side-by-side comparative analysis for each requested symbol, including technical indicators, AI-generated sentiment scores, and portfolio risk metrics per stock.","failureModes":["Empty or missing symbols array returns validation error","Invalid ticker symbols may return empty data or partial results","More than a supported number of symbols may cause truncation or error","Network timeout if upstream data providers are slow","Payment failure via x402 on Base chain if insufficient USDC balance"],"whenToPreferThis":"Choose this endpoint when you need to evaluate multiple stocks simultaneously against each other rather than analyzing a single stock in isolation. It is ideal for portfolio construction, sector comparisons, or investment decision support where relative ranking and cross-stock sentiment and technical signal comparison matters. Prefer this over single-stock endpoints when the user explicitly wants to pit two or more tickers against each other.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:38:50.446Z","isFirstParty":false}