# Token Bid-Ask Spread Record Ranking

> Token Bid-Ask Spread Record Ranking 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).

Ranks a supplied list of token bid-ask spread observations deterministically, identifying record (extreme) values within the set.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-quote-spread-rank?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-bid-ask-spread-record-ranking-120775a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N5YEw_Vw0OkKHEFAYdqvZ

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-bid-ask-spread-record-ranking-120775a3 -d '<json body>'
```

Example prompt: I have a list of token bid and ask prices — can you rank them by their bid-ask spread and tell me which ones are record highs or lows? Here are the pairs: bid 0.98 ask 1.02, bid 1.078 ask 1.122, bid 0.95 ask 1.10, bid 1.05 ask 1.06.

## When to prefer this

Choose this endpoint when you have a fixed, caller-supplied set of token bid-ask observations and need a deterministic ranking or record identification of spreads within that dataset. It is not a live market scanner or real-time feed — it operates only on the rows you submit. Prefer this over general analytics tools when you specifically need spread-based record ranking with a bounded, affordable per-call cost.

## Known failure modes

- Fewer than 2 rows supplied — minimum of 2 observations required
- More than 200 rows supplied — maximum batch size exceeded
- Missing required 'bid' or 'ask' field in one or more rows — validation error
- bid or ask value is zero or negative — exclusiveMinimum constraint violated
- ask or bid value exceeds maximum allowed (10^16) — out-of-range error
- Payment of 0.01 USDC not provided or rejected — 402 Payment Required

## How this service works

Token bid-ask spread — Record ranking: Record ranking for Token bid-ask spread. 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 record ranking report.

## Output

Returns a deterministic ranking report of the supplied token bid-ask spread observations, identifying which rows represent record (extreme) spread values — such as the widest or narrowest spreads — based on a calculated verdict against the caller-supplied data. Does not include live market scans, safety assessments, or trade recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "ask",
     "bid"
    ],
    "properties": {
     "ask": {
      "type": "number",
      "default": 1.02,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "bid": {
      "type": "number",
      "default": 0.98,
      "maximum": 10000000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "ask": 1.02,
     "bid": 0.98
    },
    {
     "ask": 1.122,
     "bid": 1.078
    },
    {
     "ask": 1.02,
     "bid": 0.98
    },
    {
     "ask": 1.122,
     "bid": 1.078
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-bid-ask-spread-record-ranking-120775a3/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)
