# Token Bid-Ask Spread Benchmark Correlation

> Token Bid-Ask Spread Benchmark Correlation 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-13).

Computes the correlation between a series of token bid-ask spread observations and a provided benchmark series, returning a bounded deterministic report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-quote-spread-correlation?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-bid-ask-spread-benchmark-correlation-665a4459
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cZhfzjxvK_h1-a1fr4kQQ

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-benchmark-correlation-665a4459 -d '<json body>'
```

Example prompt: Can you run a benchmark correlation on these token bid-ask observations — bids [0.98, 1.078, 0.98, 1.078] and asks [1.02, 1.122, 1.02, 1.122] — against the benchmark series [10, 20, 30, 40]?

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible correlation coefficient between token bid-ask spread observations and a numeric benchmark series. It is ideal for quantitative analysis pipelines, pre-trade liquidity checks, or academic/research contexts where a statistically bounded verdict is needed rather than a live market scan or predictive recommendation. Prefer this over generic stats libraries when you need a packaged, priced microservice for auditability or cost-accounting per correlation report.

## Known failure modes

- Fewer than 2 rows provided — minimum 2 bid/ask pairs required
- More than 200 rows provided — exceeds maxItems limit
- Benchmark array length does not match row count — mismatched series lengths
- Zero or negative bid or ask values — violates exclusiveMinimum:0 constraint
- Benchmark array shorter than 2 or longer than 200 items
- Non-numeric values in bid, ask, or benchmark arrays — schema validation failure

## How this service works

Token bid-ask spread — Benchmark correlation: Benchmark correlation 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 benchmark correlation report.

## Output

Returns a bounded benchmark correlation report containing the computed correlation coefficient between the derived bid-ask spread series and the provided benchmark values, produced via deterministic calculation. The report is scoped to the supplied observations and represents a statistical relationship metric, not a live market scan or trade signal.

## 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
  },
  "benchmarks": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 1000000000000000000,
    "minimum": -1000000000000000000
   },
   "default": [
    10,
    20,
    30,
    40
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-bid-ask-spread-benchmark-correlation-665a4459/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)
