{"uid":"cap_FLO-ejvdlrW5MVUBvFfAb","slug":"macrolens-country-profile-e194042f","name":"MacroLens Country Profile","description":"Global macro statistics (GDP, inflation, unemployment, debt and 30+ indicators for 200+ countries), country profiles and rankings, and official company registry lookups (Norway, France) for AI agents. No API key: pay USDC on Base per call via x402.","url":"https://macrolens.imac2014ville.workers.dev/country-profile?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"ISO2 or ISO3 country code, e.g. US, DE, JPN (aggregates WLD, EUU also work)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"source":"World Bank Open Data (CC BY 4.0)","country":{"iso2":"JP","iso3":"JPN","name":"Japan","region":"East Asia & Pacific","incomeLevel":"High income"},"indicators":{"gdp":{"year":2024,"units":"USD","value":4026211000000},"inflation":{"year":2024,"units":"%","value":2.7},"unemployment":{"year":2024,"units":"%","value":2.5}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xPT6imHnxtETi9hBZ_gWP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a comprehensive economic and demographic profile for a given country, including GDP, inflation, unemployment, and 30+ World Bank macro indicators.","exampleAgentPrompt":"Pull up the full country profile for Japan — I want to see GDP, inflation, unemployment, and whatever other macro indicators are available.","exampleUseCases":[{"title":"Economic briefing before a market report","prompt":"Give me a full macro profile for Germany — GDP, inflation, unemployment, and any other indicators you can pull — I'm putting together a market brief."},{"title":"Comparing emerging market fundamentals","prompt":"What are Brazil's key economic indicators right now? I need GDP, inflation, and unemployment at minimum to compare it against other emerging markets."},{"title":"Country risk screening for investment","prompt":"Look up the economic profile for Nigeria — I want to know the income level, region classification, and all available macro stats before we consider expanding there."}],"resultDescription":"A JSON object containing the country's ISO2/ISO3 codes, full name, World Bank region, income level classification, and a dictionary of macro indicators (e.g. GDP in USD, inflation %, unemployment %) each with the most recent year and units available.","failureModes":["Invalid or unrecognized country code returns an error or empty result","Missing required 'country' query parameter causes a 400-level error","Payment not received or insufficient USDC causes a 402 Payment Required response","World Bank data may lag by 1-2 years for some indicators, returning older year values","Aggregate codes like WLD or EUU may not support all individual indicator fields"],"whenToPreferThis":"Choose this endpoint when you need a structured, multi-indicator economic snapshot for a specific country sourced from World Bank data. It is ideal for agents that need GDP, inflation, unemployment, and other standardized macro statistics in a single call without managing API keys — paying per call in USDC via x402. Prefer this over scraping or general web search when you need machine-readable, consistently formatted country-level economic data across 200+ countries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:34:38.710Z","isFirstParty":false,"canonicalSlug":"macrolens-country-profile-e194042f"}