Derivatives Snapshot
by Crypto Derivatives Snapshot in Onchain & crypto
Crypto derivatives snapshot of one coin in one call: perp funding rates per exchange with predicted funding, open interest (OI) per venue, perp premium and the nearest futures basis, 24h liquidations and the long/short ratio. Venues: Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit, OKX. The derivatives data bundle for trading agents on BTC, ETH, SOL and more. Data only. Bad input is free; under 3 venues not charged.
https://derivs.duoleads.com/v1/derivatives-snapshot- Price
- $0.005
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 201 ms
- 365 ms slowest 5%
- Last check
- Passed
- 34 min ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://derivs.duoleads.com/v1/derivatives-snapshot
Each call costs $0.005 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/derivatives-snapshot?coin=BTCParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
coin | string | Yes | Coin symbol: BTC, ETH, SOL, PEPE ... (also BTCUSDT, BTC-PERP, XBT, 1000PEPE, kPEPE). |
Example response
The provider's example. We can't check it without paying.
Example response, 193 lines
{
"as_of": "2026-10-14T23:00:00Z",
"basis": {
"nearest_future": {
"annualised_basis_pct": 6.13813,
"basis_pct": 0.0231231,
"days_to_expiry": 1.375,
"expiry": "2026-10-16T08:00:00Z",
"symbol": "BTC-16OCT26",
"venue": "deribit"
},
"perp_premium": [
{
"premium_pct": -0.04998,
"venue": "bybit"
},
{
"premium_pct": -0.0416371,
"venue": "hyperliquid"
}
]
},
"coin": "BTC",
"colo": null,
"disclaimer": "Data only, not investment advice, not a benchmark; not affiliated with any exchange",
"funding": {
"predicted": [
{
"apr_pct": -5.17826,
"interval_h": 8,
"next_funding_time": "2026-10-15T00:00:00Z",
"rate": -0.00004729,
"rate_8h": -0.00004729,
"source": "binance"
},
{
"apr_pct": 3.83359,
"interval_h": 8,
"next_funding_time": "2026-10-15T00:00:00Z",
"rate": 0.00003501,
"rate_8h": 0.00003501,
"source": "bybit"
}
],
"summary": {
"avg_apr_pct": 5.30702,
"avg_rate_8h": 0.000048465931,
"max_apr": {
"apr_pct": 11.8121,
"venue": "kraken"
},
"min_apr": {
"apr_pct": 0,
"venue": "dydx"
},
"spread_apr_pct": 11.8121,
"venues": 8
},
"venues": [
{
"apr_pct": 3.83359,
"interval_h": 8,
"next_funding_time": "2026-10-15T00:00:00Z",
"rate": 0.00003501,
"rate_8h": 0.00003501,
"symbol": "BTCUSDT",
"venue": "bybit"
},
{
"apr_pct": 10.95,
"interval_h": 1,
"next_funding_time": "2026-10-15T00:00:00Z",
"rate": 0.0000125,
"rate_8h": 0.0001,
"symbol": "BTC",
"venue": "hyperliquid"
},
{
"apr_pct": 0,
"interval_h": 1,
"next_funding_time": "2026-10-15T00:00:00Z",
"rate": 0,
"rate_8h": 0,
"symbol": "BTC-USD",
"venue": "dydx"
}
]
},
"liquidations_24h": {
"long_usd": 6839221.13,
"short_usd": 1348389.598,
"sources": [
{
"as_of": "2026-10-14T23:00:00Z",
"hours": 24,
"long_usd": 6369301.006,
"method": "hourly sums",
"short_usd": 1348389.598,
"venue": "gate"
},
{
"as_of": "2026-10-14T23:00:00Z",
"count": 12,
"long_usd": 469920.1238,
"method": "events",
"short_usd": 0,
"venue": "bitfinex"
}
]
},
"long_short": [
{
"as_of": "2026-10-14T23:00:00Z",
"long_share": 0.638,
"ratio": 1.76243,
"ratio_24h_ago": 1.50627,
"short_share": 0.362,
"symbol": "BTCUSDT",
"time": "2026-10-14T22:00:00Z",
"venue": "bybit"
},
{
"as_of": "2026-10-14T23:00:00Z",
"long_share": 0.630949,
"ratio": 1.70965,
"ratio_24h_ago": 1.13719,
"short_share": 0.369051,
"symbol": "BTC_USDT",
"time": "2026-10-14T22:00:00Z",
"venue": "gate"
}
],
"open_interest": {
"total_coins": 185224.8895,
"total_usd": 15119084900,
"venues": [
{
"oi_coins": 30908.842,
"oi_usd": 2523081487,
"venue": "bybit"
},
{
"oi_coins": 40178.15264,
"oi_usd": 3279501531,
"venue": "hyperliquid"
},
{
"oi_coins": 201.605,
"oi_usd": 16438545.1,
"venue": "dydx"
}
]
},
"price": 81626.2,
"request_id": "01KEXAMPLE0000000000000000",
"see_also": {
"endpoint": "https://derivs.duoleads.com/v1/perp-screener",
"params": [
"sort",
"limit"
],
"reason": "Every perpetual across venues at once, sorted by funding, open interest, volume or 24 h change."
},
"units": {
"apr_pct": "simple annualised percent",
"basis_pct": "(future - index) / index * 100; annualised = * 365 / days",
"liquidations": "USD, side = the liquidated position",
"long_short_ratio": "accounts net long / accounts net short",
"oi": "coins and USD",
"premium_pct": "(perp mark - index) / index * 100",
"rate": "fraction per funding interval",
"rate_8h": "fraction per 8 hours",
"times": "ISO 8601 UTC"
},
"venues": [
{
"as_of": "2026-10-14T23:00:00Z",
"stale": false,
"venue": "bybit"
},
{
"as_of": "2026-10-14T23:00:00Z",
"stale": false,
"venue": "hyperliquid"
},
{
"as_of": "2026-10-14T23:00:00Z",
"stale": false,
"venue": "dydx"
}
],
"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.005.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://derivs.duoleads.com/v1/derivatives-snapshot?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/derivatives-snapshot?coin=BTC' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
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.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fderivs.duoleads.com%2Fv1%2Fderivatives-snapshot
const res = await pay("https://derivs.duoleads.com/v1/derivatives-snapshot?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.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
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/derivatives-snapshot?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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 34 min ago | Passed | 402 | 201 ms | $0.005 |
| 5 h ago | Passed | 402 | 294 ms | $0.005 |
| 10 h ago | Passed | 402 | 287 ms | $0.005 |
| 14 h ago | Passed | 402 | 365 ms | $0.005 |
| 18 h ago | Passed | 402 | 158 ms | $0.005 |
Show 1 older checks
| 28 h ago | Passed | 402 | 43 ms | $0.005 |