Funding Rates Aggregated

    Definition

    The funding rate is a recurring fee that long positions pay to short positions, or vice versa, at predetermined intervals (usually every 8 hours). The goal is to ensure that the price of the perpetual contract stays close to the spot price of the underlying asset. Perpetual futures contracts are a type of derivative that tracks the price of an underlying asset and is designed to closely mimic the spot market.

    Funding rates aggregated metrics use Open Interest for aggregation. Meaning the contract with the biggest open interest will have the biggest impact on the final funding rate aggregated value. There are three types of funding rates aggregated metrics:

    • Funding rates aggregated by exchange - represents the aggregation of all funding rates by open interest on given exchange for a given asset
    • Funding rates aggregated by settlement currency - represents the aggregation of all funding rates by open interest per settlement currency for a given asset
    • Total funding rates aggregated by asset - represents the aggregation of all funding rates by open interest for a given asset

    Access

    Restricted Access


    Measuring Unit

    Decimal percentage


    Data Type

    Timeseries Data


    Frequency

    Five-minute Intervals


    Latency

    On-Chain Latency


    Available Assets

    • Funding rates aggregated by exchange is available for these assets

    • Funding rates aggregated by settlement currency is available for these assets

    • Total funding rates aggregated by asset is available for these assets


    SanAPI

    • Funding rates aggregated by exchange available under the funding_rates_aggregated_by_exchange name.
    • Funding rates aggregated by settlement currency is available for funding_rates_aggregated_by_settlement_currency name.
    • Total funding rates aggregated by asset is available for total_funding_rates_aggregated_per_asset name.
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    {
      getMetric(metric: "funding_rates_aggregated_by_exchange") {
        timeseriesData(
          selector: {
            slug: "ethereum"
            owner: "binance"
          }
          from: "2023-11-27T00:00:00Z"
          to: "2023-11-28T00:00:00Z"
          interval: "5m"
        ) {
          datetime
          value
        }
      }
    }

    Run in explorer


    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    {
      getMetric(metric: "funding_rates_aggregated_by_settlement_currency") {
        timeseriesData(
          selector: {
            slug: "ethereum"
            owner: "USDT"
          }
          from: "2023-11-27T00:00:00Z"
          to: "2023-11-28T00:00:00Z"
          interval: "5m"
        ) {
          datetime
          value
        }
      }
    }

    Run in explorer


    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    {
      getMetric(metric: "total_funding_rates_aggregated_per_asset") {
        timeseriesData(
          selector: {
            slug: "ethereum"
          }
          from: "2023-11-27T00:00:00Z"
          to: "2023-11-28T00:00:00Z"
          interval: "5m"
        ) {
          datetime
          value
        }
      }
    }

    Run in explorer