{"uid":"cap_MbKYxqTVnbFUHbXt_jTqC","slug":"alphalens-macro-intelligence-endpoint-078441be","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://alephack.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_QXHIzUeg7WKeoNknrZ8vL","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 using AI to deliver stock intelligence, sentiment scoring, and market insights relevant to portfolio and investment decisions","exampleAgentPrompt":"Run a macro analysis on the current environment of rising interest rates, persistent inflation, and slowing GDP growth — I want to know how these factors are likely to affect equities over the next quarter.","exampleUseCases":[{"title":"Pre-trade macro risk check","prompt":"Before I add more tech exposure to my portfolio, can you run a macro analysis on the context of Fed tightening, strong dollar, and slowing global growth to tell me if the macro backdrop supports or undermines that move?"},{"title":"Earnings season macro briefing","prompt":"We're heading into earnings season with sticky inflation and mixed jobs data — can you analyze that macro context and tell me what the AI thinks it means for stock performance broadly?"},{"title":"Recession scenario stress test","prompt":"Assume a mild US recession with two quarters of negative GDP growth and rising unemployment — analyze that macro context and tell me how it should affect my equity risk positioning."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing AI-generated macroeconomic analysis, including interpretations of the provided context string as it relates to equity markets, sentiment, and portfolio risk factors.","failureModes":["Missing required 'context' field returns validation error","Empty or vague context string may produce low-quality or generic analysis","Malformed JSON body returns 400 error","Service unavailability on Vercel deployment returns 503","x402 payment failure or insufficient USDC balance blocks request","Overly long context string may be truncated or rejected"],"whenToPreferThis":"Choose this endpoint when you need AI-powered macroeconomic narrative analysis tied to stock and portfolio implications, especially when you have a specific macro scenario or context to interpret. Prefer this over generic LLM prompting when you want structured, finance-domain-tuned output with a pay-per-use model on Base chain via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:32:01.259Z","isFirstParty":false}