{"uid":"cap_2QJLMGGofJ65ROnZRfg0B","slug":"alphalens-macro-analysis-endpoint-bf13b7fe","name":"AlphaLens Macro Analysis 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://alphencook.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_CUF3eO0Joe22JX3toCFU5","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":"Analyzes macroeconomic context and market conditions using AI to deliver macro-level stock intelligence insights","exampleAgentPrompt":"Give me a macro analysis of the current market environment, focusing on how rising interest rates and inflation are affecting equity valuations and sector performance.","exampleUseCases":[{"title":"Pre-trade macro context check","prompt":"Before I rebalance my portfolio, can you run a macro analysis on how the current economic environment — inflation, Fed policy, and growth expectations — might affect tech and consumer discretionary stocks?"},{"title":"Sector rotation research","prompt":"I'm thinking about rotating from growth stocks into energy and materials. Can you analyze the macro conditions right now to tell me if that makes sense given the current inflation and rate environment?"},{"title":"Daily macro briefing for trading","prompt":"Give me today's macroeconomic briefing — what are the key macro signals I should be watching that could move the stock market this week?"}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing AI-generated macroeconomic analysis relevant to stock market conditions, including interpretation of macro indicators and their potential impact on equities.","failureModes":["Empty or vague context string may produce generic or low-quality analysis","Missing required 'context' field returns a validation error","Ambiguous context may result in off-target macro interpretation","Network timeout if the AI analysis takes too long","Payment failure on Base chain prevents the request from being processed"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized macroeconomic analysis specifically framed for stock market intelligence — particularly useful when you want to contextualize portfolio decisions against macro conditions like interest rates, inflation, or GDP trends. Prefer this over generic LLM queries when you want structured, pay-per-use financial macro analysis with consistent output schemas.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:39:41.952Z","isFirstParty":false}