U

Usenami · Perp OI History

by Usenami

GETBase

$0.005

per call · USD Coin on Base

Historical open-interest timeseries for one crypto perpetual on one venue, aggregated 1h/4h/1d — positioning over time for backtests and regime studies. 30–90d window cap.

Endpoint

GET https://api.usenami.io/v1/perp/oi-history

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

Example response

{
  "aggregation": "1h",
  "buckets": [
    {
      "bucket_start": "2026-05-24T00:00:00Z",
      "samples": 1,
      "value": 95012.5,
      "venue": "binance"
    }
  ],
  "ticker": "BTC",
  "venue": "binance",
  "window_end": "2026-05-31T00:00:00Z",
  "window_start": "2026-05-24T00:00:00Z"
}

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