{"uid":"cap_XNclBOZgNo3n9cRtn56-w","slug":"vextorium-country-economic-indicators-e491f389","name":"Vextorium Country Economic Indicators","description":"Key indicators of any country: GDP, real growth, GDP per capita, inflation, population, unemployment, public debt, exports, life expectancy and internet use, with the last years of each. World Bank open data.","url":"https://api.vextorium.com/v1/country-indicators?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["country"],"properties":{"years":{"type":"integer","description":"Years of history (1-20, default 5)"},"country":{"type":"string","description":"ISO 2 or 3-letter country code (ES, US, MX, DEU...)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"last":{"type":["object","null"],"properties":{"gdp_usd":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"population":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"inflation_pct":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"gdp_growth_pct":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"exports_pct_gdp":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"life_expectancy":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"unemployment_pct":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"internet_users_pct":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"per_capita_gdp_usd":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}},"public_debt_pct_gdp":{"type":["object","null"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}}}},"name":{"type":["string","null"]},"series":{"type":["object","null"],"properties":{"gdp_usd":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["null","number"]},"value":{"type":["null","number"]}}}},"population":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["null","number"]},"value":{"type":["null","number"]}}}},"inflation_pct":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["null","number"]},"value":{"type":["null","number"]}}}},"gdp_growth_pct":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["null","number"]},"value":{"type":["null","number"]}}}},"exports_pct_gdp":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["null","number"]},"value":{"type":["null","number"]}}}},"life_expectancy":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}}},"unemployment_pct":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["null","number"]},"value":{"type":["null","number"]}}}},"internet_users_pct":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}}},"per_capita_gdp_usd":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["null","number"]},"value":{"type":["null","number"]}}}},"public_debt_pct_gdp":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"year":{"type":["number","null"]},"value":{"type":["number","null"]}}}}}},"source":{"type":["string","null"]},"country":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"last":{"gdp_usd":{"year":2025,"value":1906453309985.88},"population":{"year":2025,"value":49355143},"inflation_pct":{"year":2025,"value":2.7},"gdp_growth_pct":{"year":2025,"value":2.825},"exports_pct_gdp":{"year":2025,"value":36.637},"life_expectancy":{"year":2024,"value":83.888},"unemployment_pct":{"year":2025,"value":10.376},"internet_users_pct":{"year":2024,"value":95.757},"per_capita_gdp_usd":{"year":2025,"value":38627.247},"public_debt_pct_gdp":{"year":2024,"value":105.639}},"name":"Spain","series":{"gdp_usd":[{"year":2024,"value":1725671652742.19},{"year":2025,"value":1906453309985.88}],"population":[{"year":2024,"value":48848840},{"year":2025,"value":49355143}],"inflation_pct":[{"year":2024,"value":2.747},{"year":2025,"value":2.7}],"gdp_growth_pct":[{"year":2024,"value":3.455},{"year":2025,"value":2.825}],"exports_pct_gdp":[{"year":2024,"value":37.056},{"year":2025,"value":36.637}],"life_expectancy":[{"year":2024,"value":83.888}],"unemployment_pct":[{"year":2024,"value":11.4},{"year":2025,"value":10.376}],"internet_users_pct":[{"year":2024,"value":95.757}],"per_capita_gdp_usd":[{"year":2024,"value":35326.768},{"year":2025,"value":38627.247}],"public_debt_pct_gdp":[{"year":2024,"value":105.639}]},"source":"World Bank, World Development Indicators (CC BY 4.0)","country":"ES"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2X1IDeK_fpbEQMlLvCodd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns key macroeconomic indicators (GDP, growth, inflation, population, unemployment, public debt, exports, life expectancy, internet usage) for any country over a configurable number of years, sourced from World Bank data.","exampleAgentPrompt":"Pull the key economic indicators for Spain — GDP, inflation, unemployment, public debt, life expectancy, and internet usage — for the last 10 years.","exampleUseCases":[{"title":"Country economic briefing for investors","prompt":"Give me a full economic overview of Brazil — GDP, GDP per capita, growth rate, inflation, unemployment, and public debt — for the last 7 years so I can assess the investment climate."},{"title":"Comparing life expectancy and internet penetration","prompt":"What are the latest life expectancy and internet usage figures for Japan, and can you show me how they've trended over the last 5 years?"},{"title":"Macroeconomic dashboard data for a report","prompt":"I'm writing a report on Mexico's economy — fetch the GDP, real growth rate, inflation, exports as a share of GDP, and unemployment for the last 10 years from World Bank data."}],"resultDescription":"Returns a JSON object with two top-level keys: 'last' (the most recent value for each indicator with its year) and 'series' (an array of year/value pairs for each indicator over the requested time range). Indicators include gdp_usd, gdp_growth_pct, per_capita_gdp_usd, inflation_pct, population, unemployment_pct, public_debt_pct_gdp, exports_pct_gdp, life_expectancy, and internet_users_pct. Also includes country name, ISO code, and data source attribution.","failureModes":["Invalid or unrecognized country code returns an error or empty result","Years parameter outside 1-20 range may be rejected or clamped","Some indicators may have null values for countries with limited World Bank data coverage","Data may be 1-2 years behind for some indicators due to World Bank reporting lag","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a broad set of macroeconomic indicators for a single country in one call, especially when sourcing from World Bank data is acceptable or preferred. Ideal for generating country economic overviews, enriching business intelligence dashboards, or feeding agent workflows that reason about country-level economic health. Prefer this over general web search when structured, consistently formatted, multi-year time-series data is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:53:25.086Z","isFirstParty":false,"canonicalSlug":"vextorium-country-economic-indicators-e491f389"}