U

Usenami · Perp Basis

by Usenami

GETBase

$0.005

per call · USD Coin on Base

Per-venue basis for one crypto perpetual — mark versus index price, basis_bps = (mark−index)/index×10000, and contango/backwardation structure, across tracked CEX and DEX perp venues. Every venue comes with an index except Crypto.com, Variational and dYdX; dYdX publishes one oracle price, and that price is its mark. `venues_without_index` names the ones missing from your response. Each venue also carries liquidity_state (live/dead/unknown), and a market with no trading is flagged unreliable however clean its basis looks.

Endpoint

GET https://api.usenami.io/v1/perp/basis

7

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

Example response

{
  "items": [
    {
      "asset_class": "crypto",
      "basis_bps": -2.31,
      "basis_reliable": true,
      "index_price": 60292.9,
      "liquidity_state": "live",
      "mark_price": 60278.9,
      "structure": "backwardation",
      "updated_at": "2026-06-27T21:00:00Z",
      "venue": "paradex"
    }
  ],
  "methodology": "basis_bps = (mark_price − index_price)/index_price × 10000; structure = basis sign (contango/backwardation/flat/unknown)",
  "ticker": "BTC",
  "venues_count": 18,
  "venues_without_index": [
    "Crypto.com",
    "Variational",
    "dYdX"
  ]
}

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