# GDP per Capita Rolling Mean Report

> GDP per Capita Rolling Mean Report is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Calculates trailing full-window rolling means over a sequence of GDP per capita observations, preserving gaps for invalid rows, and returns results as JSON with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-gdp-per-capita-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gdp-per-capita-rolling-mean-report-cd932df6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8Ahy4x5CPU_SXsfiYjT0d

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 gdp-per-capita-rolling-mean-report-cd932df6 -d '<json body>'
```

Example prompt: Can you calculate the rolling mean of GDP per capita for these 6 quarters of data — GDP values [1000000, 1100000, 1050000, 1200000, 1150000, 1300000] with populations [1000, 1100, 1050, 1200, 1150, 1300] — using a window of 3 periods?

## When to prefer this

Choose this endpoint when you need a trailing full-window rolling mean specifically for GDP per capita data derived from raw GDP and population figures, and you want a structured JSON report with formula and units included. It is ideal for smoothing noisy time-series economic data without live feed dependencies. Use it over generic statistics libraries when you need a packaged, documented report suitable for downstream agent consumption.

## Known failure modes

- Fewer than 2 rows supplied — minimum input requirement not met
- Window size exceeds number of rows — no complete windows can be formed
- Population value of zero — would cause division by zero in GDP per capita calculation
- More than 200 rows supplied — exceeds maxItems limit
- Non-numeric or missing GDP/population fields — schema validation failure

## How this service works

GDP per capita - Rolling mean report: Calculate trailing full-window means over ordered observations, preserving invalid-row gaps. Metric: GDP per capita. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded rolling mean report report.

## Output

Returns a JSON object containing the rolling mean values for each valid observation window, along with the formula used, units of measurement, and stated limitations — gaps are preserved for any rows that fall outside a complete window or are otherwise invalid.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "gdp",
     "population"
    ],
    "properties": {
     "gdp": {
      "type": "number",
      "default": 1000000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "population": {
      "type": "number",
      "default": 1000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period",
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "gdp": 1000000,
     "population": 1000
    },
    {
     "gdp": 1100000,
     "population": 1100
    },
    {
     "gdp": 1000000,
     "population": 1000
    },
    {
     "gdp": 1100000,
     "population": 1100
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gdp-per-capita-rolling-mean-report-cd932df6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
