U

Usenami · Orderbook Best Execution

by Usenami

GETBase

$0.01

per call · USD Coin on Base

Naive single-venue best execution for one crypto perpetual: the venue with the lowest precomputed slippage at your requested size. Excludes fees, funding and latency — a baseline to measure a router against, not a router.

Endpoint

GET https://api.usenami.io/v1/orderbook/best-execution

3

Calls / 30d

1

Unique payers / 30d

Sep 1

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/best-execution", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.usenami.io/v1/orderbook/best-execution?size_usd=%5Bobject+Object%5D&ticker=%5Bobject+Object%5D" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "best": {
    "ask_depth_usd": 220000,
    "best_ask": 104251,
    "best_bid": 104250.5,
    "bid_depth_usd": 250000,
    "slippage_bps": 1.2,
    "spread_bps": 0.48,
    "updated_at": "2026-05-31T17:00:00Z",
    "venue": "binance"
  },
  "naive_note": "Excludes fees/funding/latency — baseline only.",
  "size_usd": 10000,
  "ticker": "BTC",
  "venues_considered": 18
}

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