# Vextorium Country Economic Indicators

> Vextorium Country Economic Indicators is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

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.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/country-indicators?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-country-economic-indicators-e491f389
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XNclBOZgNo3n9cRtn56-w

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vextorium-country-economic-indicators-e491f389 -d '<json body>'
```

Example prompt: Pull the key economic indicators for Spain — GDP, inflation, unemployment, public debt, life expectancy, and internet usage — for the last 10 years.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
           ]
       
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-country-economic-indicators-e491f389/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
