{"uid":"cap_U7moRTv8i3ecyAf49DGe_","slug":"macrolens-trade-analysis-api-f5518664","name":"MacroLens Trade Analysis API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcroslencs.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__9iDXbOJ2zluAZOq4oJS4","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":"Analyzes international trade data using FRED and World Bank sources with AI-powered macro-economic insights via MiMo LLM","exampleAgentPrompt":"Pull a MacroLens trade analysis starting from January 2020 — I want AI-powered insights on global trade trends using FRED and World Bank data.","exampleUseCases":[{"title":"Trade balance trend analysis","prompt":"Give me an AI-powered breakdown of international trade trends starting from January 2022 — I want to see what FRED and World Bank data say about import/export shifts."},{"title":"Pre-pandemic vs post-pandemic trade","prompt":"Run a MacroLens trade analysis starting from January 2019 so I can compare pre-pandemic and post-pandemic global trade patterns."},{"title":"Recent trade policy impact research","prompt":"I'm researching the impact of recent tariffs — can you pull MacroLens trade intelligence starting from June 2023 and summarize what the macro data shows?"}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing AI-interpreted trade analysis, drawing from FRED and World Bank datasets, covering trade flows, balances, and macro-economic context for the requested time period.","failureModes":["Missing required 'start' date parameter returns validation error","Invalid date format for 'start' field causes parse failure","Upstream FRED or World Bank API unavailability may return partial or empty data","Payment not processed via x402 on Base results in 402 response blocking access","Date range with no available data returns empty data object with success: true"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized macro-economic trade analysis combining FRED and World Bank data sources with LLM interpretation, especially when you want structured insights rather than raw data. Prefer this over raw FRED API calls when you want pre-digested narrative analysis of trade trends from a specific start date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:30.942Z","isFirstParty":false,"canonicalSlug":"macrolens-trade-analysis-api-f5518664"}