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 response859 ms · just now · 4.4 KB · 193 lines
https://api.xrpl.to/v1/market/funding-history
{
  "success": true,
  "asset": "XRP",
  "days": 7,
  "from": "2026-11-15",
  "funding": [
    {
      "date": "2026-11-15",
      "venues": {
        "Binance": {
          "sum": -0.0000729,
          "payments": 3
        },
        "OKX": {
          "sum": -0.000116530328372,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.00017064,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": -0.0001452555,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-11-16",
      "venues": {
        "Binance": {
          "sum": -0.00016345,
          "payments": 3
        },
        "OKX": {
          "sum": -0.000166353476608,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.0001827,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": -0.0002456625,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-11-17",
      "venues": {
        "Binance": {
          "sum": -0.00006063,
          "payments": 3
        },
        "OKX": {
          "sum": -0.000108454380264,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.00019248,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": -0.0001246999,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-11-18",
      "venues": {
        "Binance": {
          "sum": -0.00003167,
          "payments": 3
        },
        "OKX": {
          "sum": 0.000054708839518,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.00009666,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0000088295,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-11-19",
      "venues": {
        "Binance": {
          "sum": 0.00006753,
          "payments": 3
        },
        "OKX": {
          "sum": -0.000002044144208,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00002979,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0000575645,
          "payments": 24
        }
      }
    }
  ],
  "openInterest": {
    "Binance": [
      {
        "at": "2026-11-15T00:00:00.000Z",
        "openInterest": 303202649.5,
        "openInterestUsd": 276965763
      },
      {
        "at": "2026-11-16T00:00:00.000Z",
        "openInterest": 285005919.1,
        "openInterestUsd": 277457164
      },
      {
        "at": "2026-11-17T00:00:00.000Z",
        "openInterest": 268952992.7,
        "openInterestUsd": 256796317
      },
      {
        "at": "2026-11-18T00:00:00.000Z",
        "openInterest": 263503226.4,
        "openInterestUsd": 259105405
      },
      {
        "at": "2026-11-19T00:00:00.000Z",
        "openInterest": 258072268.4,
        "openInterestUsd": 249555884
      }
    ],
    "OKX": [
      {
        "at": "2026-11-15T16:00:00.000Z",
        "openInterest": 75709173,
        "openInterestUsd": 72082704
      },
      {
        "at": "2026-11-16T16:00:00.000Z",
        "openInterest": 77489882,
        "openInterestUsd": 74157817
      },
      {
        "at": "2026-11-17T16:00:00.000Z",
        "openInterest": 78127683,
        "openInterestUsd": 76291682
      },
      {
        "at": "2026-11-18T16:00:00.000Z",
        "openInterest": 71857919,
        "openInterestUsd": 69680624
      },
      {
        "at": "2026-11-19T16:00:00.000Z",
        "openInterest": 71997159,
        "openInterestUsd": 65467017
      }
    ],
    "Bybit": [
      {
        "at": "2026-11-15T00:00:00.000Z",
        "openInterest": 224276096.9
      },
      {
        "at": "2026-11-16T00:00:00.000Z",
        "openInterest": 219894191.6
      },
      {
        "at": "2026-11-17T00:00:00.000Z",
        "openInterest": 213155607.4
      },
      {
        "at": "2026-11-18T00:00:00.000Z",
        "openInterest": 203729987.4
      },
      {
        "at": "2026-11-19T00:00:00.000Z",
        "openInterest": 206063119
      }
    ]
  },
  "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