# NEAR Protocol Bid-Ask Spread Check

> NEAR Protocol 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 NEAR-USD using Coinbase Exchange public market data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/demand-market-near-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/near-protocol-bid-ask-spread-check-07cd2676
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MZsA_Z8PcvNfhvXmOBIyK

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 near-protocol-bid-ask-spread-check-07cd2676 -d '<json body>'
```

Example prompt: What's the current bid-ask spread for NEAR-USD on Coinbase — both the absolute dollar amount and the percentage spread?

## When to prefer this

Choose this endpoint when you need a quick, real-time snapshot of the NEAR-USD bid-ask spread derived from Coinbase Exchange order book data. It is ideal for pre-trade cost estimation, liquidity monitoring, or logging spread history for NEAR specifically. Prefer it over generic market data APIs when you need both absolute and percentage spread in a single call without building the computation yourself.

## Known failure modes

- Invalid product ID returns an error — only valid Coinbase USD pairs are accepted
- Coinbase Exchange API downtime may cause data unavailability
- Stale or missing order book data can result in null or unreliable spread values
- Rate limiting or payment failure ($0.01 USDC) may block the request

## How this service works

NEAR Protocol 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 best bid price, best ask price, absolute spread (ask minus bid in USD), and percentage spread (spread divided by mid-price) for the NEAR-USD market on Coinbase Exchange.

## Request schema (JSON Schema)

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

## More

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