# Token Buy Receipt Shortfall — Single Calculation

> Token Buy Receipt Shortfall — Single 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-10-15).

Calculates the shortfall between expected and actual tokens received in a token purchase, returning a deterministic difference or threshold verdict.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-receipt-calculate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-buy-receipt-shortfall-single-calculation-fa596f65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lF5b0Hmxg3UOoYZgvVj7C

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 token-buy-receipt-shortfall-single-calculation-fa596f65 -d '<json body>'
```

Example prompt: I bought tokens and expected to receive 1000 but only got 950 — can you calculate the shortfall for me?

## When to prefer this

Use this endpoint when you need a lightweight, deterministic single-calculation of token receipt shortfall given two known quantities (expected vs actual tokens). Prefer it over manual computation when you need a structured report or threshold verdict. Not suitable for live scanning, safety analysis, or batch processing of multiple token transactions.

## Known failure modes

- expected_tokens is zero or missing — validation error since exclusiveMinimum is 0
- actual_tokens exceeds maximum bound (10^16) — rejected by schema
- actual_tokens greater than expected_tokens — may return zero or negative shortfall
- Malformed JSON body — 400 bad request
- Payment not confirmed — x402 payment required error

## How this service works

Token buy receipt shortfall — Single calculation: Single calculation for Token buy receipt shortfall. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded single calculation report.

## Output

Returns a deterministic computation report showing the numeric shortfall (expected_tokens minus actual_tokens), potentially including shortfall percentage and a caller-threshold verdict indicating whether the deficit exceeds an acceptable bound. No live market data or trade recommendations included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "object",
   "default": {
    "actual_tokens": 950,
    "expected_tokens": 1000
   },
   "required": [
    "expected_tokens",
    "actual_tokens"
   ],
   "properties": {
    "actual_tokens": {
     "type": "number",
     "default": 950,
     "maximum": 10000000000000000,
     "minimum": 0
    },
    "expected_tokens": {
     "type": "number",
     "default": 1000,
     "maximum": 10000000000000000,
     "minimum": 0,
     "exclusiveMinimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-buy-receipt-shortfall-single-calculation-fa596f65/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)
