# Token Buy Receipt Shortfall — Threshold Classification

> Token Buy Receipt Shortfall — Threshold Classification 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).

Classifies whether token buy receipt shortfall values fall within caller-defined lower and upper thresholds across a batch of expected vs. actual token observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-receipt-threshold?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-threshold-classification-c2e3ee17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QWwtsOlgxcbmThOuDOPBK

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-threshold-classification-c2e3ee17 -d '<json body>'
```

Example prompt: I bought tokens and keep getting fewer than expected — can you classify whether the shortfall in these 4 transactions is within my acceptable range? Expected vs actual: 1000/950, 1100/1045, 1000/950, 1100/1045 — flag anything outside a lower bound of 0 and upper bound of 5.

## When to prefer this

Use this endpoint when you need a deterministic, batch threshold classification of token buy receipt shortfalls — i.e. you already have expected and actual token amounts and want to know whether each shortfall sits within caller-defined bounds. Prefer this over generic slippage calculators when you want a structured pass/fail verdict per row rather than a raw percentage, and when you need to evaluate up to 200 rows in one call at low cost ($0.01 USDC).

## Known failure modes

- Fewer than 2 rows supplied — minItems validation error
- expected_tokens is 0 or negative — exclusiveMinimum violation
- actual_tokens or expected_tokens exceeds 1e16 — maximum exceeded
- More than 200 rows submitted — maxItems exceeded
- lower threshold greater than upper threshold — may produce no classifications or unexpected results
- Malformed row objects with extra properties — rejected by additionalProperties:false
- Payment not included or insufficient — x402 payment required error

## How this service works

Token buy receipt shortfall — Threshold classification: Threshold classification 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 threshold classification report.

## Output

A bounded threshold classification report indicating, for each row of expected vs. actual token observations, whether the computed shortfall falls within the caller-specified lower and upper bounds. Results are deterministic verdicts based on supplied data only — not a live scan, safety proof, or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "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
   },
   "default": [
    {
     "actual_tokens": 950,
     "expected_tokens": 1000
    },
    {
     "actual_tokens": 1045,
     "expected_tokens": 1100
    },
    {
     "actual_tokens": 950,
     "expected_tokens": 1000
    },
    {
     "actual_tokens": 1045,
     "expected_tokens": 1100
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "lower": {
   "type": "number",
   "default": 0,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  },
  "upper": {
   "type": "number",
   "default": 100,
   "maximum": 1000000000000000000,
   "minimum": -1000000000000000000
  }
 }
}
```

## More

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