{"uid":"cap_RnG6RI2hsgrmVg_JNBrpk","slug":"macrolens-trade-analysis-api-3456be6b","name":"MacroLens Trade Analysis API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcrons.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_6DAMQ__1xuEN81hhn5V2d","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 starting from a given date using FRED and World Bank data processed through an LLM for macro-economic insights","exampleAgentPrompt":"Using MacroLens, pull an AI-powered trade analysis starting from January 2023 — I want to understand the macro trends in international trade activity, including any FRED and World Bank signals, interpreted by the LLM.","exampleUseCases":[{"title":"Trade deficit trend investigation","prompt":"Can you analyze international trade trends starting from January 2022 using MacroLens? I want to understand how the US trade deficit has evolved and what macro signals FRED and World Bank data show."},{"title":"Investment thesis trade research","prompt":"I'm building an investment thesis around export-driven economies — can you pull MacroLens trade analysis starting from Q1 2023 so I can see what the macro data says about global trade flows?"},{"title":"Quarterly macro trade briefing","prompt":"Give me a MacroLens trade intelligence briefing starting from October 2024 — I need an LLM-interpreted summary of key trade indicators for my quarterly macro review."}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing AI-interpreted trade analysis derived from FRED and World Bank datasets, including macroeconomic trade indicators and LLM-generated narrative insights for the specified time period.","failureModes":["Missing or invalid 'start' date parameter returns an error","Malformed date string in start field may cause parsing failure","FRED or World Bank data unavailability may result in empty data object","Payment not fulfilled (x402) results in 402 Payment Required response","LLM inference timeout may return partial or no analysis","Start date too far in the past may exceed available data range"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized macro trade intelligence combining FRED and World Bank datasets with LLM interpretation, rather than raw data feeds. Ideal for agents that need a narrative macro summary of international trade conditions rather than structured time-series data alone. Best suited for financial research, investment analysis, and economic briefing use cases where interpreted insights are more valuable than raw indicators.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:42:45.793Z","isFirstParty":false,"canonicalSlug":"macrolens-trade-analysis-api-3456be6b"}