# Discounted Present Value Distribution Histogram

> Discounted Present Value Distribution Histogram 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).

Bins up to 200 discounted present value calculations into equal-width histogram bins, returning bin edges, counts, formula, units, and limitations as JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-present-value-histogram?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-distribution-histogram-6c7a181e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A8NeyM-1lSfg7ErnPGKqW

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-distribution-histogram-6c7a181e -d '<json body>'
```

Example prompt: I have 12 investment scenarios with different future values, rates, and time horizons — can you bin all their discounted present values into 10 equal-width histogram buckets so I can see how they're distributed? Here are the rows: [{future_value: 10000, annual_effective_rate_percent: 5, years: 3}, {future_value: 15000, annual_effective_rate_percent: 6, years: 4}, {future_value: 8000, annual_effective_rate_percent: 4, years: 2}, {future_value: 20000, annual_effective_rate_percent: 7, years: 5}] — use 10 bins.

## When to prefer this

Use this endpoint when you have multiple discounted present value scenarios and need to understand their statistical distribution rather than individual point estimates. It is ideal for sensitivity analysis, Monte Carlo output summarization, or portfolio spread analysis where visualizing how PV results cluster across equal-width ranges adds insight. Prefer this over a raw PV calculator when you need a frequency histogram rather than individual values, and over a statistics summary endpoint when you specifically need bin-edge definitions for charting.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 observations required
- More than 200 rows supplied — exceeds maximum input limit
- Bins parameter outside 1–30 range — validation error returned
- annual_effective_rate_percent below -99 or above 100 — out of range error
- years outside 0–100 range — validation error
- future_value magnitude exceeds 1 trillion — overflow error
- Missing required fields (future_value, annual_effective_rate_percent, years) in any row — schema validation failure

## How this service works

Discounted present value - Distribution histogram: Bin up to 200 calculated observations into equal-width bins, including edge definitions. 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 distribution histogram report.

## Output

Returns a JSON object containing the histogram bin definitions (edges and counts) for the computed discounted present values across all supplied rows, along with the formula used (PV = FV / (1 + r)^t), currency/units context, and a limitations statement. Up to 30 bins across up to 200 input observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/discounted-present-value-distribution-histogram-6c7a181e/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)
