{"uid":"cap_GA7UGhd0VpjVq4cbDX-pz","slug":"alphalens-macro-analysis-endpoint-0bf24c89","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://402alphacook.vercel.app/api/macro?utm_source=zero.xyz","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_fzIpqS1aH22aTXgV_ICC3","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":"Returns AI-powered macroeconomic analysis and insights given a natural language context query about macro conditions","exampleAgentPrompt":"Can you run a macro analysis on the current interest rate environment and tell me how rising yields might be impacting growth stocks and tech equities right now?","exampleUseCases":[{"title":"Macro backdrop for equity allocation","prompt":"Analyze the current macroeconomic environment — inflation, Fed policy, and GDP outlook — and tell me whether it's a good backdrop for increasing my equity exposure right now."},{"title":"Sector-specific macro headwinds","prompt":"What are the macro headwinds or tailwinds for the energy sector given current oil price dynamics and dollar strength? I want to understand the big-picture environment before I add to my position."},{"title":"Recession risk assessment","prompt":"Run a macro analysis on the probability of a recession in the next 12 months — look at yield curve signals, consumer spending trends, and employment data and give me a clear takeaway."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing AI-generated macroeconomic analysis based on the provided context. The data payload typically includes narrative insights, macro factor assessments, and relevant economic indicators interpreted in relation to the query.","failureModes":["Empty or vague context string may return generic or low-quality analysis","Missing required 'context' field returns a validation error","Ambiguous context without specific market or time frame may produce unfocused output","Service downtime or Vercel cold-start latency may cause timeout","Payment failure on Base chain results in 402 response and no analysis returned"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized macroeconomic intelligence contextualized to a specific question or market scenario, particularly when combining macro factors with equity analysis. Prefer this over raw data feeds when you want interpreted, narrative-form macro insights ready for agent consumption rather than raw economic statistics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:39:21.983Z","isFirstParty":false,"canonicalSlug":"alphalens-macro-analysis-endpoint-0bf24c89"}