{"uid":"cap_XWRRX3xXucy5LLNuGwoIi","slug":"api-internal-usenami-io-82acdfd3","name":"Nami Aggregated Order Book - Best Bid/Ask for BTC","description":"Best bid/ask aggregated across all venues","url":"https://api-internal.usenami.io/v1/orderbook/aggregate/BTC","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"object","required":["symbol","best_ask","best_bid"],"properties":{"symbol":{"type":"string"},"best_ask":{"type":"object","required":["size","price","venue"],"properties":{"size":{"type":"number"},"price":{"type":"number"},"venue":{"type":"string"}}},"best_bid":{"type":"object","required":["size","price","venue"],"properties":{"size":{"type":"number"},"price":{"type":"number"},"venue":{"type":"string"}}}}},"example":{"request":{"input":{"type":"GET","method":"aggregate_orderbook"}},"response":{"symbol":"BTC","best_ask":{"size":1000,"price":73382.6,"venue":"Variational"},"best_bid":{"size":230394375.6,"price":73519,"venue":"HTX"}}},"exampleRequest":{"input":{"type":"GET","method":"aggregate_orderbook"}},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aOzBg3POLrChOKuAJxzdp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the best aggregated bid and ask prices for BTC across all trading venues","exampleAgentPrompt":"What's the best aggregated bid and ask for BTC right now across all venues on Nami?","exampleUseCases":null,"resultDescription":"Returns the best (highest) bid and best (lowest) ask prices for BTC aggregated across all trading venues, effectively giving the tightest possible spread available in the market at that moment.","failureModes":["Symbol not found or unsupported — returns 404 or error indicating invalid symbol","No venues available or all venues unresponsive — may return empty or stale data","Payment not provided or insufficient — x402 payment required error","Rate limit exceeded — too many requests in a short window","Internal aggregation failure — 500 error if upstream venue data unavailable"],"whenToPreferThis":"Use this endpoint when you need the best available BTC bid/ask price across all venues simultaneously, rather than checking a single exchange. Ideal for smart order routing, pre-trade analysis, arbitrage detection, or when you need to know the true market-wide best price. Prefer over single-venue top-of-book endpoints when cross-venue aggregation matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:39:52.089Z","isFirstParty":false}