U

Usenami · Depth Aggregate

by Usenami

GETBase

$0.01

per call · USD Coin on Base

Sized-depth quote for one crypto perpetual on one venue: best bid/ask plus precomputed slippage at $1K/$5K/$10K notional — what your order actually costs, not just the top of book. $10K cap protects execution edge per DIS-022.

Endpoint

GET https://api.usenami.io/v1/orderbook/depth/aggregate/:venue/:symbol

1

Calls / 30d

1

Unique payers / 30d

Aug 12

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.usenami.io/v1/orderbook/depth/aggregate/:venue/:symbol", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.usenami.io/v1/orderbook/depth/aggregate/:venue/:symbol?size_usd=%5Bobject+Object%5D" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "quote": {
    "best_ask": 104251,
    "best_bid": 104250.5,
    "est_slippage_for_size_usd_bps": 1.2,
    "updated_at": "2026-05-22T20:00:00Z",
    "venue": "hyperliquid"
  },
  "size_usd": 10000,
  "symbol": "BTC",
  "venue": "hyperliquid"
}

Payment details

Pay to0x1538726707212f4db3eb67cec0910422a310475c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Usenami & similar services