# Discounted Present Value – Weighted Result Mean

> Discounted Present Value – Weighted Result Mean 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-22).

Calculates a weighted mean of up to 200 discounted present value (DPV) results using user-supplied nonnegative weights, returning a JSON report with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-present-value-weighted-mean?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/discounted-present-value-weighted-result-mean-58c46d7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zBAz0pJPAeUCi1CRckh4v

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 discounted-present-value-weighted-result-mean-58c46d7d -d '<json body>'
```

Example prompt: I have four cash flow scenarios: $12,000 in 2 years at 5%, $13,200 in 2.2 years at 5.5%, $12,000 in 2 years at 5%, and $13,200 in 2.2 years at 5.5% — weight them 1, 2, 1, 2 respectively and give me the weighted mean discounted present value.

## When to prefer this

Choose this endpoint when you need to aggregate multiple discounted present value calculations into a single weighted mean — for example, blending scenario analyses or confidence-weighted forecasts. It handles up to 200 rows and is ideal for systematic, repeatable DPV aggregation over user-supplied figures. It does not provide live rates, financial advice, or pooled accounting ratios.

## Known failure modes

- Fewer than 2 rows or weights provided — validation error returned
- Weights array length does not match rows array length — mismatch error
- Annual effective rate percent outside -99 to 100 range — out-of-bounds error
- Years value exceeds 100 — maximum exceeded error
- Future value exceeds ±1,000,000,000,000 — out-of-bounds error
- Negative weight supplied — validation error since weights must be nonnegative
- Payment of 0.01 USDC not completed — 402 Payment Required response

## How this service works

Discounted present value - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. Metric: Discounted present value. 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 weighted result mean report.

## Output

A JSON object containing the weighted mean discounted present value computed from the supplied rows and weights, along with the formula used, units, and known limitations of the calculation. No live market data, financial advice, or trade execution is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "future_value",
     "annual_effective_rate_percent",
     "years"
    ],
    "properties": {
     "years": {
      "type": "number",
      "default": 2,
      "maximum": 100,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "future_value": {
      "type": "number",
      "default": 12000,
      "maximum": 1000000000000,
      "minimum": -1000000000000,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "annual_effective_rate_percent": {
      "type": "number",
      "default": 5,
      "maximum": 100,
      "minimum": -99,
      "description": "Percent units: enter 5 for 5%, not 0.05"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "years": 2,
     "future_value": 12000,
     "annual_effective_rate_percent": 5
    },
    {
     "years": 2.2,
     "future_value": 13200.000000000002,
     "annual_effective_rate_percent": 5.5
    },
    {
     "years": 2,
     "future_value": 12000,
     "annual_effective_rate_percent": 5
    },
    {
     "years": 2.2,
     "future_value": 13200.000000000002,
     "annual_effective_rate_percent": 5.5
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000,
    "minimum": 0
   },
   "default": [
    1,
    2,
    1,
    2
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/discounted-present-value-weighted-result-mean-58c46d7d/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)
