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 response610 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-06",
  "funding": [
    {
      "date": "2026-10-06",
      "venues": {
        "Binance": {
          "sum": 0.00018786,
          "payments": 3
        },
        "OKX": {
          "sum": 0.000285377892508,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00022546,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0003,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-07",
      "venues": {
        "Binance": {
          "sum": -0.00008013,
          "payments": 3
        },
        "OKX": {
          "sum": -0.0000492281168103,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00001919,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.000292082,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-08",
      "venues": {
        "Binance": {
          "sum": -0.00009165,
          "payments": 3
        },
        "OKX": {
          "sum": -0.000046953397025,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.00003182,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0001955129,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-09",
      "venues": {
        "Binance": {
          "sum": -0.00017272,
          "payments": 3
        },
        "OKX": {
          "sum": -0.000101034900204,
          "payments": 3
        },
        "Bybit": {
          "sum": -0.00016314,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0002821996,
          "payments": 24
        }
      }
    },
    {
      "date": "2026-10-10",
      "venues": {
        "Binance": {
          "sum": 0.00006815,
          "payments": 3
        },
        "OKX": {
          "sum": -0.0000143815619592,
          "payments": 3
        },
        "Bybit": {
          "sum": 0.00001483,
          "payments": 3
        },
        "Hyperliquid": {
          "sum": 0.0002664281,
          "payments": 24
        }
      }
    }
  ],
  "openInterest": {
    "Binance": [
      {
        "at": "2026-10-06T00:00:00.000Z",
        "openInterest": 319159101.1,
        "openInterestUsd": 481036597
      },
      {
        "at": "2026-10-07T00:00:00.000Z",
        "openInterest": 318749957,
        "openInterestUsd": 476881811
      },
      {
        "at": "2026-10-08T00:00:00.000Z",
        "openInterest": 321403009.6,
        "openInterestUsd": 456528037
      },
      {
        "at": "2026-10-09T00:00:00.000Z",
        "openInterest": 295470174.1,
        "openInterestUsd": 407600245
      },
      {
        "at": "2026-10-10T00:00:00.000Z",
        "openInterest": 294026115.1,
        "openInterestUsd": 410194281
      }
    ],
    "OKX": [
      {
        "at": "2026-10-05T16:00:00.000Z",
        "openInterest": 74111656,
        "openInterestUsd": 111330530
      },
      {
        "at": "2026-10-06T16:00:00.000Z",
        "openInterest": 74290890,
        "openInterestUsd": 106547994
      },
      {
        "at": "2026-10-07T16:00:00.000Z",
        "openInterest": 69124049,
        "openInterestUsd": 92881985
      },
      {
        "at": "2026-10-08T16:00:00.000Z",
        "openInterest": 66465625,
        "openInterestUsd": 91868787
      },
      {
        "at": "2026-10-09T16:00:00.000Z",
        "openInterest": 67696335,
        "openInterestUsd": 95275822
      }
    ],
    "Bybit": [
      {
        "at": "2026-10-06T00:00:00.000Z",
        "openInterest": 214286654.5
      },
      {
        "at": "2026-10-07T00:00:00.000Z",
        "openInterest": 213092846
      },
      {
        "at": "2026-10-08T00:00:00.000Z",
        "openInterest": 211918070.2
      },
      {
        "at": "2026-10-09T00:00:00.000Z",
        "openInterest": 197902332.5
      },
      {
        "at": "2026-10-10T00:00:00.000Z",
        "openInterest": 194544406.4
      }
    ]
  },
  "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