{"uid":"cap_yN_dZLI_4ZTKsy7xM4oMH","slug":"macrolens-trade-analysis-api-0a8772a4","name":"MacroLens Trade Analysis API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://v1macros-lensys.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.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B2pAOh2Hl5srYDJ7XgkHU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","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 processed through a MiMo LLM, starting from a specified date.","exampleAgentPrompt":"Pull me an AI-powered macro trade analysis from MacroLens starting from January 2022 — I want to see trade trends, balances, and economic indicators synthesized from FRED and World Bank data.","exampleUseCases":[{"title":"Post-COVID trade recovery analysis","prompt":"Give me a MacroLens trade analysis starting from January 2020 so I can see how global trade volumes and balances have evolved through and after the pandemic."},{"title":"Investment research briefing","prompt":"I'm writing a report on emerging market trade dynamics — can you pull MacroLens trade data starting from 2018 and summarize the key macro trends?"},{"title":"Monitoring recent trade shifts","prompt":"What's happened with international trade indicators over the past year? Run a MacroLens trade analysis starting from January 2024 and highlight anything notable."}],"resultDescription":"Returns a structured JSON object with a success flag and a data object containing AI-synthesized trade analysis — likely including trade balance figures, import/export indicators, and narrative economic interpretation derived from FRED and World Bank datasets.","failureModes":["Missing or malformed 'start' date string causes validation failure","Invalid date format may return an error or empty data","FRED or World Bank upstream data unavailability could cause partial or failed response","Payment not processed via x402 on Base results in 402 unauthorized response","Requesting a start date far in the future returns no meaningful data"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized macro-level trade analysis grounded in authoritative FRED and World Bank datasets, especially when you want natural-language interpretation alongside raw indicators rather than just raw time-series data. Prefer this over generic data APIs when you need both the data retrieval and the LLM-powered narrative synthesis in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T18:38:32.691Z","isFirstParty":false,"canonicalSlug":"macrolens-trade-analysis-api-0a8772a4"}