{"openapi":"3.1.0","info":{"title":"Country Economy","version":"0.1.0","description":"Annual GDP, growth, population, inflation, CPI, labor-market estimates and imports/exports for World Bank-covered countries worldwide. Country-level history with explicit units, missing values, source acknowledgments and CC BY 4.0 attribution.","x-guidance":"Annual GDP, growth, population, inflation, CPI, labor-market estimates and imports/exports for World Bank-covered countries worldwide. Country-level history with explicit units, missing values, source acknowledgments and CC BY 4.0 attribution. Each operation is an HTTP POST to its /v1/<operation> path with a JSON request body (see each operation's requestBody schema) and returns a JSON response. Endpoints are paid per successful call via x402 or MPP (USDC on Base); an unpaid request returns 402 with payment metadata in the WWW-Authenticate header. Successful empty collections, zero values and explicit negative results are valid, billable 200 responses. Malformed or unusable outputs return 422 without payment. All supported rails verify payment first, check the operation result, then submit payment; Tempo supports pull mode only.","contact":{"email":"hello@openverbs.com"}},"x-discovery":{"ownershipProofs":["0xb1401a71756f51464a9962db12f1eb3e9522490cd20010b06d00cf7b7770acfd5f79721f9dfdf2643f8cecd29af3bde9ec133941a386042b32d9886053a70de61b","0xc1c1f11793e18a00fcb7072421f26e89fb75b6aa517fa84370564991f4b10efa024f6f57e4e67eefd20cf46cc01fc5a62d793fa8fbcda04f26c946a3433d73f91b","0x676b474af0ef9ed4809b5d12d2e789b36e52d56215b21f601d71f76620e36ec630347116a7b2b349a3c3681e5db0fbfa76c4169a676b6d6f27864d0e5017284a1c","0xc2ab96522515ed9e9bc4f1a241b774bd48df42e951ddbf7f6aa8fc76f5a96a20421703e1ec402ce7eb1e4eabea3b6e4e4129cf39d56ea91cf4fcf38561fc94fc1c"]},"servers":[{"url":"https://economy.openverbs.com"}],"paths":{"/health":{"get":{"summary":"Health check","security":[],"responses":{"200":{"description":"Healthy","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"service":{"type":"string"},"version":{"type":"string"}}}}}}}}},"/v1/country-indicators":{"post":{"summary":"Country GDP, growth and population","description":"Country economic indicators: GDP and GDP per capita in current USD, real GDP growth and population from World Bank WDI. Annual history for the last 1-10 complete calendar years by ISO3 country code, with per-series latest values, units, nulls, dataset update date and CC BY attribution. Historical estimates, not real-time data or forecasts; outage cache is flagged stale. Paid endpoint (x402 + MPP). Price: $0.004000 USDC per successful payment.","tags":["economy","country indicators","gdp","gdp per capita","economic growth","population","world bank","macroeconomics"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 3166 alpha-3 code for one of 215 World Bank-supported countries/territories, e.g. BRA, IND or ZAF. No region aggregates."},"years":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Last N complete calendar years in UTC, resolved before payment. Missing observations are not filled."}},"required":["country"],"additionalProperties":false},"example":{"country":"BRA","years":5}}}},"responses":{"200":{"description":"`country{iso3,name}`, `fromYear`, `toYear`, `datasetLastUpdated`, `found`, and four `indicators[]` with `code`, `name`, `unit`, `priceBasis`, independent `latest{year,value}|null`, sparse annual `values[{year,value|null}]`, and original `sourceAttribution`. Includes World Bank/CC BY attribution, dataset terms and change notice; outage fallback adds `stale:true` and epoch-second `cachedAt`. Values may be revised by the source; no forecasts, gap filling or currency conversion.","content":{"application/json":{"schema":{"type":"object","description":"`country{iso3,name}`, `fromYear`, `toYear`, `datasetLastUpdated`, `found`, and four `indicators[]` with `code`, `name`, `unit`, `priceBasis`, independent `latest{year,value}|null`, sparse annual `values[{year,value|null}]`, and original `sourceAttribution`. Includes World Bank/CC BY attribution, dataset terms and change notice; outage fallback adds `stale:true` and epoch-second `cachedAt`. Values may be revised by the source; no forecasts, gap filling or currency conversion."}}}},"400":{"description":"Invalid request; no payment is attempted"},"402":{"description":"Payment required; x402/MPP metadata returned in headers"},"422":{"description":"Malformed or unusable result; payment is not submitted on x402, MPP/EVM or Tempo (pull only). Valid empty collections return a billable 200."},"502":{"description":"Upstream provider error after payment verification"}},"x-payment-info":{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Country economic indicators: GDP and GDP per capita in current USD, real GDP growth and population from World Bank WDI. Annual history for the last 1-10 complete calendar years by ISO3 country code, with per-series latest values, units, nulls, dataset update date and CC BY attribution. Historical estimates, not real-time data or forecasts; outage cache is flagged stale.","method":"tempo","preferredOffer":"mpp-tempo","price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{"scheme":"exact","network":"eip155:8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"evm","intent":"charge","network":"8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"tempo","intent":"charge","network":"4217","currency":"0x20c000000000000000000000b9537d11c60e8b50","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}}],"network":"4217","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","offers":[{"amount":"4000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Country economic indicators: GDP and GDP per capita in current USD, real GDP growth and population from World Bank WDI. Annual history for the last 1-10 complete calendar years by ISO3 country code, with per-series latest values, units, nulls, dataset update date and CC BY attribution. Historical estimates, not real-time data or forecasts; outage cache is flagged stale.","intent":"charge","method":"evm","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"},{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Country economic indicators: GDP and GDP per capita in current USD, real GDP growth and population from World Bank WDI. Annual history for the last 1-10 complete calendar years by ISO3 country code, with per-series latest values, units, nulls, dataset update date and CC BY attribution. Historical estimates, not real-time data or forecasts; outage cache is flagged stale.","intent":"charge","method":"tempo","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}]}}},"/v1/inflation":{"post":{"summary":"Country inflation and consumer price index","description":"Country inflation and CPI history from World Bank WDI: annual consumer-price inflation (%) and consumer price index (2010=100), by ISO3 country for the last 1-10 complete years. Includes independent latest values, units, nulls, source update date and IMF/CC BY attribution. Annual history, not monthly releases or forecasts; CPI levels do not compare prices across countries. Paid endpoint (x402 + MPP). Price: $0.004000 USDC per successful payment.","tags":["inflation","cpi","consumer price index","inflation history","world bank","imf"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 3166 alpha-3 code for one of 215 World Bank-supported countries/territories, e.g. BRA, IND or ZAF. No region aggregates."},"years":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Last N complete calendar years in UTC, resolved before payment. Missing observations are not filled."}},"required":["country"],"additionalProperties":false},"example":{"country":"BRA","years":5}}}},"responses":{"200":{"description":"Two indicators: annual inflation and CPI (2010=100). `country{iso3,name}`, `fromYear`, `toYear`, `datasetLastUpdated`, `found`, and fixed `indicators[]` with `code`, `name`, `unit`, `priceBasis`, independent `latest{year,value}|null`, sparse annual `values[{year,value|null}]`, and original `sourceAttribution`. Includes interpretation `notes`, World Bank/CC BY attribution, dataset terms and change notice; outage fallback adds `stale:true` and epoch-second `cachedAt`. Source values may be revised; no forecasts, gap filling or currency conversion.","content":{"application/json":{"schema":{"type":"object","description":"Two indicators: annual inflation and CPI (2010=100). `country{iso3,name}`, `fromYear`, `toYear`, `datasetLastUpdated`, `found`, and fixed `indicators[]` with `code`, `name`, `unit`, `priceBasis`, independent `latest{year,value}|null`, sparse annual `values[{year,value|null}]`, and original `sourceAttribution`. Includes interpretation `notes`, World Bank/CC BY attribution, dataset terms and change notice; outage fallback adds `stale:true` and epoch-second `cachedAt`. Source values may be revised; no forecasts, gap filling or currency conversion."}}}},"400":{"description":"Invalid request; no payment is attempted"},"402":{"description":"Payment required; x402/MPP metadata returned in headers"},"422":{"description":"Malformed or unusable result; payment is not submitted on x402, MPP/EVM or Tempo (pull only). Valid empty collections return a billable 200."},"502":{"description":"Upstream provider error after payment verification"}},"x-payment-info":{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Country inflation and CPI history from World Bank WDI: annual consumer-price inflation (%) and consumer price index (2010=100), by ISO3 country for the last 1-10 complete years. Includes independent latest values, units, nulls, source update date and IMF/CC BY attribution. Annual history, not monthly releases or forecasts; CPI levels do not compare prices across countries.","method":"tempo","preferredOffer":"mpp-tempo","price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{"scheme":"exact","network":"eip155:8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"evm","intent":"charge","network":"8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"tempo","intent":"charge","network":"4217","currency":"0x20c000000000000000000000b9537d11c60e8b50","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}}],"network":"4217","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","offers":[{"amount":"4000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Country inflation and CPI history from World Bank WDI: annual consumer-price inflation (%) and consumer price index (2010=100), by ISO3 country for the last 1-10 complete years. Includes independent latest values, units, nulls, source update date and IMF/CC BY attribution. Annual history, not monthly releases or forecasts; CPI levels do not compare prices across countries.","intent":"charge","method":"evm","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"},{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Country inflation and CPI history from World Bank WDI: annual consumer-price inflation (%) and consumer price index (2010=100), by ISO3 country for the last 1-10 complete years. Includes independent latest values, units, nulls, source update date and IMF/CC BY attribution. Annual history, not monthly releases or forecasts; CPI levels do not compare prices across countries.","intent":"charge","method":"tempo","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}]}}},"/v1/labor-market":{"post":{"summary":"Country labor market and unemployment","description":"Country labor-market history from World Bank WDI: unemployment (% of labor force), labor-force participation and employment/population (ages 15+), as modeled ILO estimates. ISO3 country, last 1-10 complete years, independent latest values, nulls, update date and ILO/CC BY attribution. Annual estimates, not real-time or monthly releases; definitions affect comparability. Paid endpoint (x402 + MPP). Price: $0.004000 USDC per successful payment.","tags":["labor market","unemployment","labor force participation","employment","ilo","world bank"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 3166 alpha-3 code for one of 215 World Bank-supported countries/territories, e.g. BRA, IND or ZAF. No region aggregates."},"years":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Last N complete calendar years in UTC, resolved before payment. Missing observations are not filled."}},"required":["country"],"additionalProperties":false},"example":{"country":"ZAF","years":5}}}},"responses":{"200":{"description":"Three modeled ILO indicators; denominators and comparison caveats are explicit. `country{iso3,name}`, `fromYear`, `toYear`, `datasetLastUpdated`, `found`, and fixed `indicators[]` with `code`, `name`, `unit`, `priceBasis`, independent `latest{year,value}|null`, sparse annual `values[{year,value|null}]`, and original `sourceAttribution`. Includes interpretation `notes`, World Bank/CC BY attribution, dataset terms and change notice; outage fallback adds `stale:true` and epoch-second `cachedAt`. Source values may be revised; no forecasts, gap filling or currency conversion.","content":{"application/json":{"schema":{"type":"object","description":"Three modeled ILO indicators; denominators and comparison caveats are explicit. `country{iso3,name}`, `fromYear`, `toYear`, `datasetLastUpdated`, `found`, and fixed `indicators[]` with `code`, `name`, `unit`, `priceBasis`, independent `latest{year,value}|null`, sparse annual `values[{year,value|null}]`, and original `sourceAttribution`. Includes interpretation `notes`, World Bank/CC BY attribution, dataset terms and change notice; outage fallback adds `stale:true` and epoch-second `cachedAt`. Source values may be revised; no forecasts, gap filling or currency conversion."}}}},"400":{"description":"Invalid request; no payment is attempted"},"402":{"description":"Payment required; x402/MPP metadata returned in headers"},"422":{"description":"Malformed or unusable result; payment is not submitted on x402, MPP/EVM or Tempo (pull only). Valid empty collections return a billable 200."},"502":{"description":"Upstream provider error after payment verification"}},"x-payment-info":{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Country labor-market history from World Bank WDI: unemployment (% of labor force), labor-force participation and employment/population (ages 15+), as modeled ILO estimates. ISO3 country, last 1-10 complete years, independent latest values, nulls, update date and ILO/CC BY attribution. Annual estimates, not real-time or monthly releases; definitions affect comparability.","method":"tempo","preferredOffer":"mpp-tempo","price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{"scheme":"exact","network":"eip155:8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"evm","intent":"charge","network":"8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"tempo","intent":"charge","network":"4217","currency":"0x20c000000000000000000000b9537d11c60e8b50","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}}],"network":"4217","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","offers":[{"amount":"4000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Country labor-market history from World Bank WDI: unemployment (% of labor force), labor-force participation and employment/population (ages 15+), as modeled ILO estimates. ISO3 country, last 1-10 complete years, independent latest values, nulls, update date and ILO/CC BY attribution. Annual estimates, not real-time or monthly releases; definitions affect comparability.","intent":"charge","method":"evm","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"},{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Country labor-market history from World Bank WDI: unemployment (% of labor force), labor-force participation and employment/population (ages 15+), as modeled ILO estimates. ISO3 country, last 1-10 complete years, independent latest values, nulls, update date and ILO/CC BY attribution. Annual estimates, not real-time or monthly releases; definitions affect comparability.","intent":"charge","method":"tempo","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}]}}},"/v1/trade":{"post":{"summary":"Country imports and exports","description":"Country trade history from World Bank WDI: imports and exports of goods and services in current USD and as % of GDP. ISO3 country, last 1-10 complete years, independent latest values, units, nulls, source update date and CC BY attribution. Annual national-account totals, not bilateral flows, product-level trade, tariffs or shipments; USD values are not inflation-adjusted. Paid endpoint (x402 + MPP). Price: $0.004000 USDC per successful payment.","tags":["trade","imports","exports","goods and services","trade history","world bank"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 3166 alpha-3 code for one of 215 World Bank-supported countries/territories, e.g. BRA, IND or ZAF. No region aggregates."},"years":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Last N complete calendar years in UTC, resolved before payment. Missing observations are not filled."}},"required":["country"],"additionalProperties":false},"example":{"country":"IND","years":5}}}},"responses":{"200":{"description":"Four indicators: imports/exports in nominal USD and as percentages of GDP. `country{iso3,name}`, `fromYear`, `toYear`, `datasetLastUpdated`, `found`, and fixed `indicators[]` with `code`, `name`, `unit`, `priceBasis`, independent `latest{year,value}|null`, sparse annual `values[{year,value|null}]`, and original `sourceAttribution`. Includes interpretation `notes`, World Bank/CC BY attribution, dataset terms and change notice; outage fallback adds `stale:true` and epoch-second `cachedAt`. Source values may be revised; no forecasts, gap filling or currency conversion.","content":{"application/json":{"schema":{"type":"object","description":"Four indicators: imports/exports in nominal USD and as percentages of GDP. `country{iso3,name}`, `fromYear`, `toYear`, `datasetLastUpdated`, `found`, and fixed `indicators[]` with `code`, `name`, `unit`, `priceBasis`, independent `latest{year,value}|null`, sparse annual `values[{year,value|null}]`, and original `sourceAttribution`. Includes interpretation `notes`, World Bank/CC BY attribution, dataset terms and change notice; outage fallback adds `stale:true` and epoch-second `cachedAt`. Source values may be revised; no forecasts, gap filling or currency conversion."}}}},"400":{"description":"Invalid request; no payment is attempted"},"402":{"description":"Payment required; x402/MPP metadata returned in headers"},"422":{"description":"Malformed or unusable result; payment is not submitted on x402, MPP/EVM or Tempo (pull only). Valid empty collections return a billable 200."},"502":{"description":"Upstream provider error after payment verification"}},"x-payment-info":{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Country trade history from World Bank WDI: imports and exports of goods and services in current USD and as % of GDP. ISO3 country, last 1-10 complete years, independent latest values, units, nulls, source update date and CC BY attribution. Annual national-account totals, not bilateral flows, product-level trade, tariffs or shipments; USD values are not inflation-adjusted.","method":"tempo","preferredOffer":"mpp-tempo","price":{"mode":"fixed","currency":"USD","amount":"0.004000"},"protocols":[{"x402":{"scheme":"exact","network":"eip155:8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"evm","intent":"charge","network":"8453","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}},{"mpp":{"method":"tempo","intent":"charge","network":"4217","currency":"0x20c000000000000000000000b9537d11c60e8b50","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}}],"network":"4217","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A","offers":[{"amount":"4000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Country trade history from World Bank WDI: imports and exports of goods and services in current USD and as % of GDP. ISO3 country, last 1-10 complete years, independent latest values, units, nulls, source update date and CC BY attribution. Annual national-account totals, not bilateral flows, product-level trade, tariffs or shipments; USD values are not inflation-adjusted.","intent":"charge","method":"evm","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"},{"amount":"4000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"Country trade history from World Bank WDI: imports and exports of goods and services in current USD and as % of GDP. ISO3 country, last 1-10 complete years, independent latest values, units, nulls, source update date and CC BY attribution. Annual national-account totals, not bilateral flows, product-level trade, tariffs or shipments; USD values are not inflation-adjusted.","intent":"charge","method":"tempo","recipient":"0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A"}]}}}},"x-service-info":{"categories":["data"],"docs":{"homepage":"https://economy.openverbs.com","apiReference":"https://economy.openverbs.com/openapi.json"}}}