# Optimism Bid-Ask Spread Check

> Optimism Bid-Ask Spread Check 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-02).

Calculates the latest absolute and percentage bid-ask spread for the OP-USD (Optimism) market using Coinbase Exchange public data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/demand-market-optimism-spread-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/optimism-bid-ask-spread-check-d01a08ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w2-04PCrRUSl71VMsPvNY

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 optimism-bid-ask-spread-check-d01a08ad -d '<json body>'
```

Example prompt: What's the current bid-ask spread for Optimism (OP-USD) — give me both the absolute dollar amount and the percentage spread?

## When to prefer this

Use this endpoint when you specifically need real-time bid-ask spread metrics (both absolute and percentage) for the OP-USD pair on Coinbase Exchange. Prefer this over general market data endpoints when spread/liquidity analysis is the primary goal rather than price or volume alone.

## Known failure modes

- Invalid product ID returns an error or empty result
- Coinbase Exchange API downtime causes data unavailability
- Non-USD product pairs may not be supported
- Stale data if order book hasn't updated recently
- Payment failure for the $0.01 USDC x402 charge blocks the request

## How this service works

Optimism Bid-ask spread check: Calculate the latest absolute and percentage bid-ask spread. Coinbase Exchange public USD market data; not investment advice.

## Output

Returns the current absolute bid-ask spread (in USD) and the percentage bid-ask spread for the specified Coinbase USD product (defaulting to OP-USD), derived from the latest public order book data on Coinbase Exchange.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "product": {
   "type": "string",
   "default": "OP-USD",
   "description": "Coinbase USD product ID; defaults to OP-USD."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/optimism-bid-ask-spread-check-d01a08ad/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)
