# Sui Top of Order Book

> Sui 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 the SUI-USD market.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/demand-market-sui-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/sui-top-of-order-book-04b2498d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aOYjAbRV105qbiqhRXFgg

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 sui-top-of-order-book-04b2498d -d '<json body>'
```

Example prompt: What's the current best bid and ask for SUI on Coinbase right now — I want to see the top of the order book for the SUI-USD pair.

## When to prefer this

Use this endpoint when you need a lightweight, real-time snapshot of the current best bid and ask for SUI-USD specifically from Coinbase Exchange, without needing full order book depth. Ideal for quick spread checks, pre-trade price discovery, or monitoring the Sui market price in automated agent workflows.

## Known failure modes

- Invalid product ID returns an error — only valid Coinbase USD product IDs are accepted
- Market may be temporarily unavailable during exchange downtime
- Rate limiting or payment failure if USDC balance is insufficient for the $0.01 per call fee
- If the market has no orders, bid or ask levels may be empty or null

## How this service works

Sui 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 and best (lowest) ask price levels from the Coinbase Exchange public order book for the specified product (defaulting to SUI-USD), representing the current market spread and indicative trading prices.

## Request schema (JSON Schema)

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

## More

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