# Avalanche Top of Order Book

> Avalanche Top of Order Book 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).

Returns the best bid and ask prices from the Coinbase Exchange public order book for AVAX-USD (or another specified product).

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/demand-market-avalanche-orderbook-top?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/avalanche-top-of-order-book-38c09ce3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BMzRBWz3iAsU_YAE34Ys7

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 avalanche-top-of-order-book-38c09ce3 -d '<json body>'
```

Example prompt: What are the current best bid and ask prices for AVAX-USD on Coinbase Exchange right now?

## When to prefer this

Choose this endpoint when you need real-time best bid/ask quotes specifically for AVAX-USD (or another Coinbase USD pair) without subscribing to a full order book feed. Ideal for quick price checks, spread calculation, or triggering trade logic based on top-of-book conditions. Prefer over full order book endpoints when only the best level is needed.

## Known failure modes

- Invalid product ID returns an error or empty response
- Market closed or low liquidity may result in missing bid or ask levels
- Payment failure (insufficient USDC) blocks the request
- Network timeout if exchange feed is delayed
- Stale data if order book feed is momentarily disconnected

## How this service works

Avalanche Top of order book: Return the best bid and ask levels from the public order book. Coinbase Exchange public USD market data; not investment advice.

## Output

Returns the best (highest) bid price and best (lowest) ask price currently sitting at the top of the Coinbase Exchange public order book for the requested product (default AVAX-USD), reflecting real-time market conditions.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avalanche-top-of-order-book-38c09ce3/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)
