# Polkadot Top of Order Book

> Polkadot 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 Coinbase Exchange's public DOT-USD order book

## Facts

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

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 polkadot-top-of-order-book-1ddc727d -d '<json body>'
```

Example prompt: What are the current best bid and ask prices for Polkadot on Coinbase — give me the top of the DOT-USD order book right now.

## When to prefer this

Use this endpoint when you need a lightweight, real-time snapshot of the best bid and ask for Polkadot (DOT-USD) without pulling the full order book depth. It is ideal for spread calculations, mid-price estimates, or triggering trading signals where only the inside market matters. Prefer it over full order book endpoints when bandwidth and latency matter and deep liquidity data is not required.

## Known failure modes

- Invalid product ID returns an error — only Coinbase-listed USD product IDs are accepted
- Order book temporarily unavailable during exchange maintenance results in an error response
- Network timeout if the endpoint is unreachable
- Payment failure if the $0.01 USDC x402 payment is not properly submitted

## How this service works

Polkadot 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 bid price and best ask price at the top of the Coinbase Exchange DOT-USD public order book, representing the highest price a buyer is willing to pay and the lowest price a seller is willing to accept at the moment of the query.

## Request schema (JSON Schema)

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

## More

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