GET /market/funding-history
GET

/v1/market/funding-history

Funding and open interest over the last days: the funding rates settled per UTC day on Binance, OKX, Bybit and Hyperliquid (summed, with the number of payments), and each venue's daily open-interest readings on Binance, OKX and Bybit at the venue's own timestamps

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/market/funding-history
Query parameterValueDescription
assetXRP|BTC|ETH (default XRP)
daysint 1-30 (default 7; today included, still open)
curl 'https://api.xrpl.to/v1/market/funding-history'

Response

200Example response598 ms · just now · 4.3 KB · 193 lines
https://api.xrpl.to/v1/market/funding-history
{
  "success": true,
  "asset": "XRP",
  "days": 7,
  "from": "2026-10-26",
  "funding": [
    {
      "date": "2026-10-26",
      "venues": {
        "Binance": {
          "sum": 0.0003,
          "payments": 3
        },
        "OKX": {
          "sum": 0.000203889372973,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00019121,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0003,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-27",
      "venues": {
        "Binance": {
          "sum": 0.0003,
          "payments": 3
        },
        "OKX": {
          "sum": 0.000285290192878,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00024316,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0003,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-28",
      "venues": {
        "Binance": {
          "sum": 0.0003,
          "payments": 3
        },
        "OKX": {
          "sum": 0.0003,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00021497,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0003,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-29",
      "venues": {
        "Binance": {
          "sum": 0.00023613,
          "payments": 3
        },
        "OKX": {
          "sum": 0.000286706171097,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00003095,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0003,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-30",
      "venues": {
        "Binance": {
          "sum": 0.0002666,
          "payments": 3
        },
        "OKX": {
          "sum": -0.000265082122595,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.00046796,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0000849522,
          "payments": 24
        }
      }
    }
  ],
  "openInterest": {
    "Binance": [
      {
        "at": "2026-10-26T00:00:00.000Z",
        "openInterest": 301495447,
        "openInterestUsd": 390798398
      },
      {
        "at": "2026-10-27T00:00:00.000Z",
        "openInterest": 312080240.9,
        "openInterestUsd": 408410626
      },
      {
        "at": "2026-10-28T00:00:00.000Z",
        "openInterest": 307582560.6,
        "openInterestUsd": 409430731
      },
      {
        "at": "2026-10-29T00:00:00.000Z",
        "openInterest": 304973884.3,
        "openInterestUsd": 404242884
      },
      {
        "at": "2026-10-30T00:00:00.000Z",
        "openInterest": 293077326.1,
        "openInterestUsd": 362624576
      }
    ],
    "OKX": [
      {
        "at": "2026-10-25T16:00:00.000Z",
        "openInterest": 66340917,
        "openInterestUsd": 86024267
      },
      {
        "at": "2026-10-26T16:00:00.000Z",
        "openInterest": 68167203,
        "openInterestUsd": 90007975
      },
      {
        "at": "2026-10-27T16:00:00.000Z",
        "openInterest": 68662660,
        "openInterestUsd": 89989282
      },
      {
        "at": "2026-10-28T16:00:00.000Z",
        "openInterest": 71981936,
        "openInterestUsd": 94281940
      },
      {
        "at": "2026-10-29T16:00:00.000Z",
        "openInterest": 77382812,
        "openInterestUsd": 97068999
      }
    ],
    "Bybit": [
      {
        "at": "2026-10-26T00:00:00.000Z",
        "openInterest": 217270871.2
      },
      {
        "at": "2026-10-27T00:00:00.000Z",
        "openInterest": 223360660.8
      },
      {
        "at": "2026-10-28T00:00:00.000Z",
        "openInterest": 234675220.2
      },
      {
        "at": "2026-10-29T00:00:00.000Z",
        "openInterest": 221325667
      },
      {
        "at": "2026-10-30T00:00:00.000Z",
        "openInterest": 224059436.3
      }
    ]
  },
  "note": "funding: per UTC day and venue, the sum of the funding rates settled that day (positive: longs paid shorts that share of their position's value) and how many payments; the last day is today's, still open. openInterest: each venue's daily readings in the coin (and USD where the venue gives it), at the venue's own timestamps.",
  "source": "Binance, OKX, Bybit and Hyperliquid public market data"
}

Long arrays and strings are shortened in the example; Send request for the full answer.

Shapeas documented
{
  success,
  asset,
  days,
  from,
  funding[] {
    date,
    venues { <venue>: { sum, payments } }
  },
  openInterest {
    <venue>: [{ at, openInterest, openInterestUsd? }]
  },
  unavailable?,
  note,
  source
}

What it does

Funding and open interest over the last days: the funding rates settled per UTC day on Binance, OKX, Bybit and Hyperliquid (summed, with the number of payments), and each venue's daily open-interest readings on Binance, OKX and Bybit at the venue's own timestamps

OpenAPI