{"uid":"cap_hosRrBdNlky9dU_pDDux8","slug":"payai-macro-country-basket-f7239113","name":"PayAI Macro Country Basket","description":"A curated headline basket of key macroeconomic and development indicators for one country: GDP, GDP per capita, growth, inflation, unemployment, population, government debt, current account, life expectancy and CO2 per capita. Latest value plus short history, each value cited to its source.","url":"https://payai.agentstools.dev/macro/country?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"range":{"type":"integer","maximum":65,"minimum":1,"description":"Most recent N years of history per indicator"},"years":{"type":"string","description":"A single year or a Y1:Y2 range"},"country":{"type":"string","description":"A single country as ISO-2, ISO-3 or name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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":{"p10Cents":"2.0000","medianCents":"2.0000","p90Cents":"2.0000","minCents":"2.0000","maxCents":"2.0000","p95Cents":"2.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w20OPHYK0i823XHjs8pBu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a curated basket of key macroeconomic and development indicators (GDP, inflation, unemployment, population, debt, CO2, etc.) for a single country, with latest values and historical data cited to sources.","exampleAgentPrompt":"Give me the headline macro indicators for Brazil — GDP, GDP per capita, growth, inflation, unemployment, population, government debt, current account, life expectancy, and CO2 per capita — with the last 5 years of history and source citations for each.","exampleUseCases":[{"title":"Economic health scorecard for investment decisions","prompt":"I'm evaluating whether to invest in Mexico. Can you pull together the key macroeconomic indicators — GDP, growth rate, inflation, unemployment, and government debt — with the last three years of data so I can see the economic trends?"},{"title":"Compare development progress across nations","prompt":"Show me how Indonesia, Vietnam, and the Philippines stack up on core development metrics — population, life expectancy, CO2 per capita, and GDP per capita — over the past five years so I can understand which economy is progressing fastest."},{"title":"Research brief on country economic stability","prompt":"I need a snapshot of South Africa's economic health right now. Give me the headline figures for GDP, inflation, current account balance, unemployment, and debt levels with recent history and citations so I can include this in a research report."}],"resultDescription":"A structured basket of 10 macroeconomic and development indicators for the requested country, each with its latest value, a short historical series for the requested range, and a citation identifying the data source. Covers GDP (nominal and per capita), real GDP growth, inflation, unemployment, population, general government gross debt, current account balance, life expectancy at birth, and CO2 emissions per capita.","failureModes":["Unknown or misspelled country name returns a 4xx error with a message indicating the country could not be resolved","Requesting a year range beyond the maximum of 65 years returns a validation error","Some indicators may have missing or null values for certain countries or years where data is unavailable","Indicators with no recent data for a country may return only partial history","Rate limiting or payment failure results in a 402 or 429 response"],"whenToPreferThis":"Use this endpoint when you need a broad snapshot of a country's economic and development health in a single call — covering GDP, growth, inflation, unemployment, debt, demographics, and environmental metrics all at once with source citations. Prefer this over the single-indicator endpoint when you want a dashboard view rather than a deep time series on one metric. Choose this over the IMF WEO forecasts endpoint when you want historical actuals across many indicators rather than forward-looking projections.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:46:54.265Z","isFirstParty":false,"canonicalSlug":"payai-macro-country-basket-f7239113"}