# Discounted Present Value – Target Gap Calculation

> Discounted Present Value – Target Gap Calculation is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-28).

Calculates the discounted present value (DPV) from supplied inputs and measures the result against a user-specified numeric target, returning the gap between them.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-present-value-target-gap?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/discounted-present-value-target-gap-calculation-a95251c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O6ETXap_jmER01rMLlXBl

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-target-gap-calculation-a95251c0 -d '<json body>'
```

Example prompt: I have a future value of $12,000 expected in 3 years, discounted at an annual effective rate of 6%. Calculate the discounted present value and tell me how far it is from my target of $9,500.

## When to prefer this

Choose this endpoint when you need to not just compute a discounted present value but immediately measure it against a specific numeric benchmark — ideal for pass/fail checks, funding sufficiency tests, or threshold comparisons where knowing the gap is as important as knowing the value itself. Prefer this over a plain DPV calculator when the user has a concrete target number in mind.

## Known failure modes

- Missing required fields (future_value, annual_effective_rate_percent, or years) returns a validation error
- Values outside allowed bounds (e.g. rate below -99% or above 100%, years above 100) are rejected
- Non-numeric target or values cause a schema error
- Extreme values near boundary limits may produce precision warnings in the limitations field

## How this service works

Discounted present value - Target gap calculation: Measure one calculated value against a supplied numeric target; no recommendation or target setting. 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 target gap calculation report.

## Output

Returns a JSON object containing the calculated discounted present value, the gap between that value and the supplied target (positive or negative), the formula used, units, and stated limitations of the calculation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "values": {
   "type": "object",
   "default": {
    "years": 2,
    "future_value": 12000,
    "annual_effective_rate_percent": 5
   },
   "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/discounted-present-value-target-gap-calculation-a95251c0/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)
