# Cosmos Top of Order Book

> Cosmos 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 (top of order book) for a Cosmos (ATOM) USD trading pair from Coinbase Exchange public market data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/demand-market-cosmos-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/cosmos-top-of-order-book-1833226e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A1_pj5hpztrnS_rJUj-_b

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 cosmos-top-of-order-book-1833226e -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need a fast, real-time snapshot of the best bid and ask for the Cosmos (ATOM) USD market specifically from Coinbase Exchange data. Prefer this over full order book endpoints when you only need the top price level, not depth. Ideal for pre-trade price checks, spread monitoring, or triggering trading decisions based on current market quotes.

## Known failure modes

- Invalid product ID returns an error — only valid Coinbase USD product IDs (e.g. ATOM-USD) are accepted
- Coinbase Exchange API unavailability or downtime may cause failures
- Rate limiting or payment issues with the x402 protocol could prevent successful calls
- Market may be closed or halted for the requested asset

## How this service works

Cosmos 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 (highest buy offer) and best ask (lowest sell offer) prices from the Coinbase Exchange public order book for the specified Cosmos USD product, giving a snapshot of the tightest available market quote at query time.

## Request schema (JSON Schema)

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

## More

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