# Nami Aggregated Order Book (Best Bid/Ask)

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

Returns the best bid and best ask prices aggregated across all perpetual trading venues for a given symbol

## Facts

- Endpoint: GET https://api.usenami.io/v1/orderbook/aggregate/BTC
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-usenami-io-460380c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7dfMdgjoZdWxkvyZRxrtL

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 api-usenami-io-460380c5
```

Example prompt: What's the best bid and ask price for BTC aggregated across all perp venues right now, and which exchange is offering each side?

## When to prefer this

Use this endpoint when you need the single best bid/ask price aggregated across all tracked perpetual venues for a symbol like BTC — ideal for pre-trade price discovery, execution routing, or checking the global market quote without querying each venue individually. Prefer over per-venue top-of-book endpoints when you want the market-wide best price rather than a specific exchange's quote.

## Known failure modes

- Unknown symbol returns 404 or empty result
- Stale data if venues are temporarily unreachable
- Rate limiting or payment failure (402) if x402 micropayment not attached
- Missing venue data if a source is offline
- Malformed request returns 400 bad request

## How this service works

Best bid/ask aggregated across all venues

## Output

Returns a JSON object with the symbol (e.g. BTC), best ask details (price, size, venue name), and best bid details (price, size, venue name) — all aggregated across 30+ perpetual trading venues at the moment of the call.

## Example request

```json
{
 "input": {
  "type": "GET",
  "method": "api.usenami.io"
 }
}
```

## 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/api-usenami-io-460380c5/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)
