{"uid":"cap_FHpdI1KEMC16RZ6pIicX3","slug":"macrolens-trade-analysis-api-aeae63c3","name":"MacroLens Trade Analysis API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcolens.vercel.app/api/trade?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["start"],"properties":{"start":{"type":"string","description":"start"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.4","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.4/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_koAwn0V70AkLdvQR6pgYJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.4","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides AI-powered macro-economic trade analysis using FRED and World Bank data, synthesized by MiMo LLM, for a given start period","exampleAgentPrompt":"Pull me an AI-powered macro trade analysis from MacroLens starting from January 2024 — I want to see what FRED and World Bank data say about global trade trends synthesized into an actionable summary.","exampleUseCases":[{"title":"Global trade trend briefing","prompt":"Can you give me a macro-economic trade analysis starting from Q1 2023? I want an AI-synthesized view of global trade flows and indicators from FRED and World Bank data."},{"title":"Investment research on trade outlook","prompt":"I'm preparing a report on international trade for an investment committee — pull me MacroLens trade data and AI analysis starting from January 2022 so I can understand the macro backdrop."},{"title":"Monitoring trade shifts post-pandemic","prompt":"What does the macro trade data show since January 2020? I need an AI-powered summary of how global trade has shifted using FRED and World Bank sources."}],"resultDescription":"A JSON object with a success flag and a data object containing AI-synthesized macro-economic trade analysis, likely including trade indicators, trends, and LLM-generated narrative insights drawn from FRED and World Bank datasets for the specified time period.","failureModes":["Missing required 'start' field returns validation error","Invalid date format for 'start' may cause lookup failure","FRED or World Bank data unavailable for the requested period returns partial or empty data","Upstream LLM (MiMo) timeout results in delayed or failed response","Payment not completed via x402/Base USDC results in 402 Payment Required","Network issues with vercel.app hosting may cause intermittent 503 errors"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized macro-economic trade analysis grounded in authoritative FRED and World Bank datasets, especially when you want LLM-generated narrative insights rather than raw data. Prefer it over generic economic data APIs when you need both data retrieval and intelligent interpretation in one call, and when you're comfortable with per-call USDC micropayments via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:38:01.931Z","isFirstParty":false,"canonicalSlug":"macrolens-trade-analysis-api-aeae63c3"}