{"uid":"cap_X-7vCw4iCrY0gNjSJubak","slug":"alphalens-macro-intelligence-endpoint-a8ecb934","name":"AlphaLens Macro Intelligence 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://alphacx402.vercel.app/api/macro","method":"POST","headers":{},"bodySchema":{"type":"object","required":["context"],"properties":{"context":{"type":"string","description":"context"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M3f-g0RoIvqPgPcI9dkW3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides AI-powered macroeconomic analysis and context for stock market intelligence given a natural language query","exampleAgentPrompt":"Give me a macro analysis of the current interest rate and inflation environment and how it's likely to affect growth equities — I need the full economic context for my portfolio review.","exampleUseCases":[{"title":"Portfolio macro risk briefing","prompt":"Run a macro analysis on the current economic environment — I want to understand how inflation trends, Fed policy, and GDP signals might be affecting my equity holdings right now."},{"title":"Sector investment macro check","prompt":"Before I add more exposure to semiconductor stocks, can you pull the macroeconomic backdrop? I want to know if the current rate environment and global trade conditions support that move."},{"title":"Daily market context for trading agent","prompt":"Give me today's macro intelligence summary — cover the key economic indicators, central bank signals, and any macro risks I should be aware of before markets open."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing AI-generated macroeconomic analysis, economic indicator summaries, and market-level insights derived from the provided context string.","failureModes":["Missing required 'context' field returns validation error","Vague or empty context string may produce generic or low-quality analysis","Network timeout on Vercel serverless cold starts","Payment failure on Base chain causes 402 response before analysis is returned","Overly long context strings may be truncated or rejected"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized macroeconomic context as part of a stock analysis pipeline, especially when you have a natural language description of the market environment or investment thesis and want structured intelligence back. Prefer this over raw data feeds when you need interpreted macro signals rather than raw numbers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:26.603Z","isFirstParty":false}