Listed from the MCP registry; nobody on Odel publishes it.

Is this yours? Claim it
MCP server: One MCP server.

Crypto Derivatives Data API

@duoleadsRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

Perp funding rates, open interest, futures basis, IV, liquidations, order books on 8 exchanges

Crypto marketsv1.1.0MITTypeScript
Freeno charge per call

One address for any MCP client. No sign-in needed on this server.

What it does

1 read1 act8 other

Grouped by tool name. At most: only reads or looks up information.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Tools

10 · grouped by tool name · checked 24 Nov 2026

Read · 1Look things up

  • funding_arbitrage_scan

Act · 1Change something

  • order_book_depth

Other · 8Neither hinted nor named

  • perp_funding_rates
  • funding_rate_history
  • perp_screener
  • open_interest
  • futures_basis
  • implied_volatility
  • liquidations
  • derivatives_snapshot
Try it in the Inspector
README3 min read

x402-crypto-derivatives-data

Crypto derivatives data API for AI agents and trading bots: perp funding rates, funding rate history, funding arbitrage, a perp screener, open interest, futures basis, implied volatility, liquidations and order book depth across Bybit, Hyperliquid, dYdX, Gate, Kraken, Bitfinex, Deribit and OKX. $0.003 or $0.005 per call, paid per request with x402 (USDC on Base). No API key, no signup.

This is the TypeScript client for https://derivs.duoleads.com. It is also part of duo-data-utilities (as client.derivs); this package has the derivatives client only.

Install

sh
npm install x402-crypto-derivatives-data viem

viem creates the wallet account that pays. Node.js 20 or later.

Python: pip install x402-crypto-derivatives-data (the same client in snake_case; source in python/).

Quick start

ts
import { privateKeyToAccount } from "viem/accounts";
import { createClient } from "x402-crypto-derivatives-data";

// Your wallet holds USDC on Base. Read the key from the environment, never a literal.
const client = createClient({ account: privateKeyToAccount(process.env.PAYER_KEY as `0x${string}`) });

const funding = await client.fundingRates({ coin: "BTC" });                          // $0.003
const arb = await client.fundingArbitrage({ min_apr: 10, limit: 20 });              // $0.005
const oi = await client.openInterest({ coin: "ETH" });                              // $0.003
const snapshot = await client.derivativesSnapshot({ coin: "SOL" });                 // $0.005

Each method sends one GET, pays the 402 challenge with your wallet and resolves to the JSON answer. client.callWithReceipt(path, params) also returns the settlement receipt (transaction hash).

Price guard

Before anything is signed, the client checks the payment requirement: Base USDC only, only to the service's address 0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39, and never above the cap. By default each route is capped at its own listed price ($0.003 or $0.005); maxPriceUsd: 0.003 sets one cap for every route and refuses the $0.005 routes. A refused call signs nothing and throws PriceGuardError. The client never retries a paid call on its own.

Errors and charges

A bad input is a free 400, an unknown coin a free 404, and too few venues answering a 503 that is not charged. Errors throw DuoApiError with code, param, expected and requestId.

Routes

MethodRoutePriceMCP toolWhat it returns
client.fundingRatesGET /v1/funding-rates$0.003perp_funding_ratesPerp funding rates by exchange (one coin)
client.fundingHistoryGET /v1/funding-history$0.003funding_rate_historyFunding rate history (one coin, one venue, up to 30 days)
client.fundingArbitrageGET /v1/funding-arbitrage$0.005funding_arbitrage_scanFunding arbitrage scanner (all coins)
client.perpScreenerGET /v1/perp-screener$0.005perp_screenerPerp screener (every perpetual, sorted)
client.openInterestGET /v1/open-interest$0.003open_interestOpen interest by exchange (one coin)
client.basisGET /v1/basis$0.003futures_basisFutures basis, term structure and perp premium (one coin)
client.optionsGET /v1/options$0.003implied_volatilityImplied volatility, skew and max pain (crypto options)
client.liquidationsGET /v1/liquidations$0.003liquidationsLiquidations (one coin, last 1-24 h)
client.orderbookGET /v1/orderbook$0.003order_book_depthOrder book depth and slippage (one coin, 8 venues)
client.derivativesSnapshotGET /v1/derivatives-snapshot$0.005derivatives_snapshotCrypto derivatives snapshot (one coin, one call)

DERIVS_ROUTES holds this table as data (path, MCP tool, price).

MCP and plain HTTP

The same 10 tools are a paid MCP server at https://derivs.duoleads.com/mcp (Streamable HTTP; tools/list is free). Every route also works without this package: an unpaid request returns 402 Payment Required with a PAYMENT-REQUIRED header, and any x402 v2 client can pay it.

Data only: not investment advice, not a benchmark, not affiliated with any exchange.

Source

Source: github.com/hiesem/x402-crypto-derivatives-data is a generated mirror of this package from the duo-data-utilities monorepo (packages/x402-crypto-derivatives-data); issues are welcome in either repository.

License

MIT. See LICENSE.

Similar modules

Browse Crypto markets