{"uid":"cap_VlvtWTuq53OrWzn_51RC-","slug":"riley-craig-x402-agent-store-country-macro-indicators-8bd5499f","name":"Riley Craig x402 Agent Store – Country Macro Indicators","description":"Live macro/economic indicators for ANY of 200+ countries in one call: GDP, GDP growth %, inflation (CPI %), unemployment %, GDP per capita, and population — most-recent values with year. For AI macro, finance, research and trading agents. Official public-domain data from the World Bank (every country, not just the majors). Pass an ISO code (USA, DEU, JPN, CHN, GBR, IND, BRA).","url":"https://x402-agent-store.rileycraig14.workers.dev/macro/country","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. USA, DE, JPN, CN, GBR, IND, BRA"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"country":{"type":"string"},"indicators":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"country":"United States","indicators":{"gdp_usd":{"year":"2024","value":28750956130731},"inflation_pct":{"year":"2024","value":2.9}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9_DHaFAkFC4Pv7mKH0T_o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns key macroeconomic indicators (GDP, inflation, etc.) for a specified country by ISO country code, paid per-call in USDC via x402.","exampleAgentPrompt":"Can you pull the latest macroeconomic indicators — GDP and inflation — for the United States (country code USA)?","exampleUseCases":null,"resultDescription":"A JSON object containing the country name and a set of macroeconomic indicators including GDP in USD and inflation percentage, each tagged with the most recent available year (e.g. {country: 'United States', indicators: {gdp_usd: {year: '2024', value: 28750956130731}, inflation_pct: {year: '2024', value: 2.9}}}).","failureModes":["Invalid or unrecognized country code returns an error or empty indicators","Payment failure via x402 (insufficient USDC balance) blocks the request","Missing required 'country' query parameter returns a 400-level error","Country data not available or outdated for less-covered nations"],"whenToPreferThis":"Use this endpoint when you need quick, per-call macroeconomic fundamentals (GDP, inflation) for a specific country without API key setup, especially in agentic workflows that support x402 micropayments on Base. Prefer this over subscription APIs when usage is sporadic or when you need pay-as-you-go economics data in a crypto-native stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:00.768Z","isFirstParty":false}