# Token Buy Volume Fraction — Threshold Classification

> Token Buy Volume Fraction — 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-16).

Classifies whether the buy volume fraction (buy volume share) of a token falls within a specified lower/upper threshold range, using deterministic calculation on supplied observations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-buy-volume-share-threshold?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-buy-volume-fraction-threshold-classification-48dd8c60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jh50l0szztZHdNSNfnncw

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-volume-fraction-threshold-classification-48dd8c60 -d '<json body>'
```

Example prompt: I have a list of token observations with buy and sell volumes — rows like [{buy_volume: 60000, sell_volume: 40000}, {buy_volume: 66000, sell_volume: 44000}] — can you classify whether the buy volume fraction falls within the range of 0.45 to 0.75?

## When to prefer this

Use this endpoint when you need a fast, deterministic classification of whether token buy volume fraction falls within explicit numeric bounds — particularly when you already have the volume data and simply need a threshold verdict rather than a live market scan or predictive signal. Prefer this over general analytics services when working with the x402 micropayment protocol at low cost ($0.01 USDC per call) and when you need a reproducible, rule-based verdict rather than a probabilistic or ML-based output.

## Known failure modes

- Fewer than 2 rows supplied (minItems: 2 constraint violated)
- buy_volume or sell_volume is zero or negative (exclusiveMinimum: 0)
- More than 200 rows supplied (maxItems: 200 exceeded)
- Lower threshold exceeds upper threshold leading to an impossible range
- Missing required buy_volume or sell_volume fields in any row
- Payment of 0.01 USDC not provided, resulting in 402 Payment Required

## How this service works

Token buy volume fraction — Threshold classification: Threshold classification for Token buy volume fraction. 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

Returns a deterministic threshold classification report indicating whether the computed buy volume fraction (buy_volume / (buy_volume + sell_volume)) across the supplied observations falls within the caller-specified lower and upper bounds. The report is a bounded verdict — not a live scan, safety proof, or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "buy_volume",
     "sell_volume"
    ],
    "properties": {
     "buy_volume": {
      "type": "number",
      "default": 60000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "sell_volume": {
      "type": "number",
      "default": 40000,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "buy_volume": 60000,
     "sell_volume": 40000
    },
    {
     "buy_volume": 66000,
     "sell_volume": 44000
    },
    {
     "buy_volume": 60000,
     "sell_volume": 40000
    },
    {
     "buy_volume": 66000,
     "sell_volume": 44000
    }
   ],
   "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-volume-fraction-threshold-classification-48dd8c60/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)
