77trust / 100

Open Interest

by Open Interest by Exchange (OI) in Other

x402 APIPassing, checked 4 h ago

Open interest (OI) of one coin's perpetual futures by exchange: Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit, OKX. Per venue OI in coins and USD and its share, the total, and the OI change over 1h, 4h and 24h from the venues' own history. Perp open interest and futures open interest for BTC, ETH, SOL and more. Data only. Bad input is free; under 3 venues not charged.

GET
https://derivs.duoleads.com/v1/open-interest
Price
$0.003
per call in USDC
Uptime
100%
last 30 days
Response time
355 ms
526 ms slowest 5%
Last check
Passed
4 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://derivs.duoleads.com/v1/open-interest

Each call costs $0.003 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://derivs.duoleads.com/v1/open-interest?coin=BTC

Parameters

ParameterTypeRequiredDescription
coinstringYesCoin symbol: BTC, ETH, SOL, PEPE ... (also BTCUSDT, BTC-PERP, XBT, 1000PEPE).

Example response

The provider's example. We can't check it without paying.

Example response, 85 lines
{
  "as_of": "2026-10-14T23:00:00Z",
  "change": [
    {
      "as_of": "2026-10-14T23:00:00Z",
      "change_1h_pct": 0.645335,
      "change_24h_pct": 7.46048,
      "change_4h_pct": 1.4056,
      "latest": 30086.085,
      "latest_time": "2026-10-14T22:00:00Z",
      "symbol": "BTCUSDT",
      "unit": "coins",
      "venue": "bybit"
    },
    {
      "as_of": "2026-10-14T23:00:00Z",
      "change_1h_pct": -0.00334619,
      "change_24h_pct": 1.28509,
      "change_4h_pct": -0.0314464,
      "latest": 4343972013,
      "latest_time": "2026-10-14T22:00:00Z",
      "symbol": "BTC_USDT",
      "unit": "usd",
      "venue": "gate"
    }
  ],
  "coin": "BTC",
  "colo": null,
  "disclaimer": "Data only, not investment advice, not a benchmark; not affiliated with any exchange",
  "request_id": "01KEXAMPLE0000000000000000",
  "see_also": {
    "endpoint": "https://derivs.duoleads.com/v1/liquidations",
    "params": [
      "coin",
      "hours"
    ],
    "reason": "Open interest falling? See the recent long and short liquidations per venue."
  },
  "total_oi_coins": 188622.1742,
  "total_oi_usd": 15396127720,
  "units": {
    "change_pct": "percent change of the venue's own OI series (unit in `unit`)",
    "oi_coins": "coins (one side of the book), all perpetuals of the coin on the venue",
    "oi_usd": "USD (OI x mark price)",
    "share_pct": "percent of the total oi_usd",
    "times": "ISO 8601 UTC"
  },
  "venues": [
    {
      "as_of": "2026-10-14T23:00:00Z",
      "oi_coins": 53224.3312,
      "oi_usd": 4344915053,
      "share_pct": 28.2208,
      "stale": false,
      "symbols": [
        "BTC_USDT"
      ],
      "venue": "gate"
    },
    {
      "as_of": "2026-10-14T23:00:00Z",
      "oi_coins": 40178.15264,
      "oi_usd": 3279501531,
      "share_pct": 21.3008,
      "stale": false,
      "symbols": [
        "BTC"
      ],
      "venue": "hyperliquid"
    },
    {
      "as_of": "2026-10-14T23:00:00Z",
      "oi_coins": 38822.6842,
      "oi_usd": 3168502615,
      "share_pct": 20.5799,
      "stale": false,
      "symbols": [
        "BTC-USD-SWAP",
        "BTC-USDT-SWAP"
      ],
      "venue": "okx"
    }
  ],
  "venues_missing": []
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://derivs.duoleads.com/v1/open-interest?coin=BTC'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://derivs.duoleads.com/v1/open-interest?coin=BTC' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fderivs.duoleads.com%2Fv1%2Fopen-interest
const res = await pay("https://derivs.duoleads.com/v1/open-interest?coin=BTC");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://derivs.duoleads.com/v1/open-interest?coin=BTC")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402305 ms$0.003
9 h agoPassed402265 ms$0.003
13 h agoPassed402318 ms$0.003
18 h agoPassed402299 ms$0.003
23 h agoPassed402512 ms$0.003
Show 10 older checks
27 h agoPassed402577 ms$0.003
32 h agoPassed402306 ms$0.003
36 h agoPassed402352 ms$0.003
40 h agoPassed402355 ms$0.003
44 h agoPassed402437 ms$0.003
2 days agoPassed402426 ms$0.003
2 days agoPassed402342 ms$0.003
2 days agoPassed402526 ms$0.003
3 days agoPassed402293 ms$0.003
3 days agoPassed402339 ms$0.003