cryptodataapi-com Derivatives API

Futures funding rates, open interest, and long/short ratios — Binance plus cross-exchange aggregates.

Operations 9

GET /api/v1/derivatives/binance/funding-rates Binance Funding Rates #
GET /api/v1/derivatives/binance/open-interest Binance Open Interest #
GET /api/v1/derivatives/binance/long-short-ratio Binance Long Short Ratio #
GET /api/v1/derivatives/binance/summary Binance Derivatives Summary #
GET /api/v1/derivatives/binance/history Derivatives History #
GET /api/v1/derivatives/hyperliquid/history Hyperliquid Derivatives History #
GET /api/v1/derivatives/funding-rates Cross Exchange Funding #
GET /api/v1/derivatives/open-interest Cross Exchange Oi #
GET /api/v1/derivatives/summary Cross Exchange Summary #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cryptodataapi-com:cryptodataapi-com-derivatives-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cryptodataapi-com-derivatives-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Crypto Data Derivatives API
  description: 'Real-time crypto market intelligence API. Built for AI agents: gasless USDC payments via x402 protocol, one-call onboarding, and 180+ endpoints for prices, derivatives, funding, and sentiment.'
  version: '2026-10-28'
servers:
- url: https://cryptodataapi.com
tags:
- name: Derivatives
  description: Futures funding rates, open interest, and long/short ratios — Binance plus cross-exchange aggregates.
paths:
  /api/v1/derivatives/binance/funding-rates:
    get:
      tags:
      - Derivatives
      summary: Binance Funding Rates
      description: 'Binance perpetual funding rate history.


        An unlisted symbol is a 400 `unknown_symbol` and a Binance failure a 503; neither

        is ever a 200 of zeros.'
      operationId: binance_funding_rates_api_v1_derivatives_binance_funding_rates_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          description: Binance perp symbol (BTCUSDT). A bare coin (BTC) means its USDT perp; BTC-USDT and btcusdt are accepted too.
          default: BTCUSDT
          title: Symbol
        description: Binance perp symbol (BTCUSDT). A bare coin (BTC) means its USDT perp; BTC-USDT and btcusdt are accepted too.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 30
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FundingRateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/derivatives/binance/open-interest:
    get:
      tags:
      - Derivatives
      summary: Binance Open Interest
      description: 'Binance open interest + 30-day trend. Unlisted symbol: 400; Binance down: 503.'
      operationId: binance_open_interest_api_v1_derivatives_binance_open_interest_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          description: Binance perp symbol (BTCUSDT). A bare coin (BTC) means its USDT perp; BTC-USDT and btcusdt are accepted too.
          default: BTCUSDT
          title: Symbol
        description: Binance perp symbol (BTCUSDT). A bare coin (BTC) means its USDT perp; BTC-USDT and btcusdt are accepted too.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenInterestResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/derivatives/binance/long-short-ratio:
    get:
      tags:
      - Derivatives
      summary: Binance Long Short Ratio
      description: 'Binance long/short account ratio. Unlisted symbol: 400; Binance down: 503.'
      operationId: binance_long_short_ratio_api_v1_derivatives_binance_long_short_ratio_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          description: Binance perp symbol (BTCUSDT). A bare coin (BTC) means its USDT perp; BTC-USDT and btcusdt are accepted too.
          default: BTCUSDT
          title: Symbol
        description: Binance perp symbol (BTCUSDT). A bare coin (BTC) means its USDT perp; BTC-USDT and btcusdt are accepted too.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LongShortRatioResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/derivatives/binance/summary:
    get:
      tags:
      - Derivatives
      summary: Binance Derivatives Summary
      description: 'All-in-one Binance derivatives summary.


        A leg Binance could not answer reports nulls plus its `error`. When every leg

        says the symbol is not listed, the call is a 400 `unknown_symbol`.'
      operationId: binance_derivatives_summary_api_v1_derivatives_binance_summary_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          description: Binance perp symbol (BTCUSDT). A bare coin (BTC) means its USDT perp; BTC-USDT and btcusdt are accepted too.
          default: BTCUSDT
          title: Symbol
        description: Binance perp symbol (BTCUSDT). A bare coin (BTC) means its USDT perp; BTC-USDT and btcusdt are accepted too.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DerivativesSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/derivatives/binance/history:
    get:
      tags:
      - Derivatives
      summary: Derivatives History
      description: Daily derivatives data (funding, OI, L/S) from our own funding + OI archives.
      operationId: derivatives_history_api_v1_derivatives_binance_history_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 90
          minimum: 1
          default: 30
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DerivativesHistoryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/derivatives/hyperliquid/history:
    get:
      tags:
      - Derivatives
      summary: Hyperliquid Derivatives History
      description: 'Daily Hyperliquid funding rate + open interest history, derived from our

        own 5-min `bt_funding` archive (captured since 2026-03-30; HL''s funding-history

        API has never carried OI, and older one-minute OI is the `hl_asset_ctxs`

        archive type). Pro Plus.'
      operationId: hyperliquid_derivatives_history_api_v1_derivatives_hyperliquid_history_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          description: Hyperliquid coin, e.g. BTC
          default: BTC
          title: Symbol
        description: Hyperliquid coin, e.g. BTC
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 180
          minimum: 1
          default: 30
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HyperliquidDerivativesHistoryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-timeout-seconds: 30
  /api/v1/derivatives/funding-rates:
    get:
      tags:
      - Derivatives
      summary: Cross Exchange Funding
      description: 'Funding rates for ONE coin across Binance + Hyperliquid.


        Per-coin by design (`?coin=`, default BTC). The public /funding-rates board

        lists every Hyperliquid perp; for that universe over REST use

        `GET /api/v1/hyperliquid/open-interest` (`assets[].funding_rate`).


        `hyperliquid.history_count` is the number of recent HL settlements fetched

        alongside the live rate. Read it with `history_status`: `ok` (history

        present), `warming` (the fetch is still running — retry in a few seconds; the

        live `current_rate` is unaffected), `unavailable` (HL returned nothing, or the

        coin is not an HL perp). `0` with `warming` is not a stuck feed.'
      operationId: cross_exchange_funding_api_v1_derivatives_funding_rates_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: coin
        in: query
        required: false
        schema:
          type: string
          description: One coin per call, e.g. BTC, ETH, SOL
          default: BTC
          title: Coin
        description: One coin per call, e.g. BTC, ETH, SOL
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrossExchangeFunding'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-timeout-seconds: 20
  /api/v1/derivatives/open-interest:
    get:
      tags:
      - Derivatives
      summary: Cross Exchange Oi
      description: Open interest across Binance + Hyperliquid.
      operationId: cross_exchange_oi_api_v1_derivatives_open_interest_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: coin
        in: query
        required: false
        schema:
          type: string
          default: BTC
          title: Coin
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrossExchangeOI'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/derivatives/summary:
    get:
      tags:
      - Derivatives
      summary: Cross Exchange Summary
      description: Combined cross-exchange derivatives overview.
      operationId: cross_exchange_summary_api_v1_derivatives_summary_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: coin
        in: query
        required: false
        schema:
          type: string
          default: BTC
          title: Coin
      - name: format
        in: query
        required: false
        schema:
          type: string
          description: 'Response format: ''markdown'' for LLM-friendly plain text'
          title: Format
        description: 'Response format: ''markdown'' for LLM-friendly plain text'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrossExchangeSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CrossExchangeFunding:
      properties:
        coin:
          type: string
          title: Coin
        binance:
          additionalProperties: true
          type: object
          title: Binance
          default: {}
        hyperliquid:
          additionalProperties: true
          type: object
          title: Hyperliquid
          default: {}
        cross_exchange:
          title: Cross Exchange
      type: object
      required:
      - coin
      title: CrossExchangeFunding
      description: Cross-exchange funding rate comparison.
    OpenInterestResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        current_oi:
          type: number
          title: Current Oi
          default: 0
        oi_trend_30d_pct:
          type: number
          title: Oi Trend 30D Pct
          default: 0
        history:
          items:
            additionalProperties: true
            type: object
          type: array
          title: History
          default: []
      type: object
      required:
      - symbol
      title: OpenInterestResponse
      description: Open interest data.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CrossExchangeOI:
      properties:
        coin:
          type: string
          title: Coin
        binance:
          additionalProperties: true
          type: object
          title: Binance
          default: {}
        hyperliquid:
          additionalProperties: true
          type: object
          title: Hyperliquid
          default: {}
        cross_exchange:
          title: Cross Exchange
      type: object
      required:
      - coin
      title: CrossExchangeOI
      description: Cross-exchange open interest comparison.
    DerivativesSummary:
      properties:
        symbol:
          type: string
          title: Symbol
        funding:
          additionalProperties: true
          type: object
          title: Funding
          default: {}
        open_interest:
          additionalProperties: true
          type: object
          title: Open Interest
          default: {}
        long_short:
          additionalProperties: true
          type: object
          title: Long Short
          default: {}
      type: object
      required:
      - symbol
      title: DerivativesSummary
      description: All-in-one derivatives summary.
    FundingRateResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        current_rate:
          type: number
          title: Current Rate
          default: 0
        avg_rate:
          type: number
          title: Avg Rate
          default: 0
        rates:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Rates
          default: []
        count:
          type: integer
          title: Count
          default: 0
      type: object
      required:
      - symbol
      title: FundingRateResponse
      description: Funding rate data.
    CrossExchangeSummary:
      properties:
        coin:
          type: string
          title: Coin
        binance:
          additionalProperties: true
          type: object
          title: Binance
          default: {}
        hyperliquid:
          additionalProperties: true
          type: object
          title: Hyperliquid
          default: {}
        cross_exchange:
          title: Cross Exchange
      type: object
      required:
      - coin
      title: CrossExchangeSummary
      description: Combined cross-exchange derivatives overview.
    LongShortRatioResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        long_short_ratio:
          type: number
          title: Long Short Ratio
          default: 1.0
        long_account_pct:
          type: number
          title: Long Account Pct
          default: 50
        short_account_pct:
          type: number
          title: Short Account Pct
          default: 50
        top_trader_long_short_ratio:
          type: number
          title: Top Trader Long Short Ratio
          default: 1.0
        top_trader_long_pct:
          type: number
          title: Top Trader Long Pct
          default: 50
        history:
          items:
            additionalProperties: true
            type: object
          type: array
          title: History
          default: []
      type: object
      required:
      - symbol
      title: LongShortRatioResponse
      description: Long/short ratio data.
    DerivativesHistoryResponse:
      properties:
        history:
          items:
            additionalProperties: true
            type: object
          type: array
          title: History
      type: object
      required:
      - history
      title: DerivativesHistoryResponse
      description: Daily derivatives history derived from the local funding + OI archives.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HyperliquidDerivativesHistoryResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        history:
          items:
            additionalProperties: true
            type: object
          type: array
          title: History
      type: object
      required:
      - symbol
      - history
      title: HyperliquidDerivativesHistoryResponse
      description: 'Daily Hyperliquid funding + open interest history derived from the

        5-min ``bt_funding`` archive. No ``long_short_ratio``/top-trader fields —

        those are Binance/CoinGlass-only, with no Hyperliquid equivalent.'
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key