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 response567 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-13",
  "funding": [
    {
      "date": "2026-10-13",
      "venues": {
        "Binance": {
          "sum": -0.00010856,
          "payments": 3
        },
        "OKX": {
          "sum": -0.000055139810176,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.00020557,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0000823745,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-14",
      "venues": {
        "Binance": {
          "sum": -0.00001495,
          "payments": 3
        },
        "OKX": {
          "sum": 0.0000514207365479,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.00011089,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0000331762,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-15",
      "venues": {
        "Binance": {
          "sum": -0.00003381,
          "payments": 3
        },
        "OKX": {
          "sum": 0.0000317911846371,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00006292,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0001682326,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-16",
      "venues": {
        "Binance": {
          "sum": 0.00020857,
          "payments": 3
        },
        "OKX": {
          "sum": 0.000253900921013,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00019289,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0003,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-17",
      "venues": {
        "Binance": {
          "sum": -0.00008084,
          "payments": 3
        },
        "OKX": {
          "sum": 0.000110066631941,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00010602,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.000057512,
          "payments": 24
        }
      }
    }
  ],
  "openInterest": {
    "Binance": [
      {
        "at": "2026-10-13T00:00:00.000Z",
        "openInterest": 300941448.7,
        "openInterestUsd": 403685402
      },
      {
        "at": "2026-10-14T00:00:00.000Z",
        "openInterest": 298070759.9,
        "openInterestUsd": 406956008
      },
      {
        "at": "2026-10-15T00:00:00.000Z",
        "openInterest": 303875376.4,
        "openInterestUsd": 404458126
      },
      {
        "at": "2026-10-16T00:00:00.000Z",
        "openInterest": 296889654,
        "openInterestUsd": 396169554
      },
      {
        "at": "2026-10-17T00:00:00.000Z",
        "openInterest": 306774925.2,
        "openInterestUsd": 402120572
      }
    ],
    "OKX": [
      {
        "at": "2026-10-12T16:00:00.000Z",
        "openInterest": 65841702,
        "openInterestUsd": 90084617
      },
      {
        "at": "2026-10-13T16:00:00.000Z",
        "openInterest": 65878994,
        "openInterestUsd": 87454365
      },
      {
        "at": "2026-10-14T16:00:00.000Z",
        "openInterest": 64461562,
        "openInterestUsd": 86359155
      },
      {
        "at": "2026-10-15T16:00:00.000Z",
        "openInterest": 63560203,
        "openInterestUsd": 83193950
      },
      {
        "at": "2026-10-16T16:00:00.000Z",
        "openInterest": 65561756,
        "openInterestUsd": 84732013
      }
    ],
    "Bybit": [
      {
        "at": "2026-10-13T00:00:00.000Z",
        "openInterest": 194037773.7
      },
      {
        "at": "2026-10-14T00:00:00.000Z",
        "openInterest": 194812566.1
      },
      {
        "at": "2026-10-15T00:00:00.000Z",
        "openInterest": 199819942.8
      },
      {
        "at": "2026-10-16T00:00:00.000Z",
        "openInterest": 193063336.6
      },
      {
        "at": "2026-10-17T00:00:00.000Z",
        "openInterest": 197056993.5
      }
    ]
  },
  "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