# Nami Top-of-Book Order Book API

> Nami Top-of-Book Order Book API is a paid API for AI agents from api.usenami.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns the top-of-book (best bid/ask) for a specific trading venue and symbol

## Facts

- Endpoint: GET https://api.usenami.io/v1/orderbook/binance/BTC/top
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nami-top-of-book-order-book-api-a6964273
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WnoOETQuaVhJCJADUIuws

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 nami-top-of-book-order-book-api-a6964273
```

Example prompt: What's the current top-of-book — best bid and ask — for BTC on Binance right now?

## When to prefer this

Use this endpoint when you need the current best bid/ask price (inside market) for a specific crypto symbol on a specific venue, and do not need full order book depth. Ideal for real-time price checks, spread monitoring, and entry/exit timing on a named exchange.

## Known failure modes

- Unknown venue returns 404 or empty response
- Unknown or unsupported symbol returns error
- Stale data if venue feed is delayed
- Rate limiting or payment failure returns 402

## How this service works

Top-of-book for a specific venue and symbol

## Output

Returns the best bid and ask prices (top-of-book) for the requested venue (e.g. Binance) and symbol (e.g. BTC), representing the inside market at the moment of the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nami-top-of-book-order-book-api-a6964273/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.usenami.io](https://www.zero.xyz/host/api.usenami.io/llms.txt)
