TradePortfolio

Settlement Funding

Pro

GET /funding/settlement


Settlement-aligned funding rates, snapped to each exchange's funding settlement intervals — for example 8-hour ticks on Binance, or 1-hour ticks on select DEXes. Returns the rate that was actually settled at each interval rather than point-in-time samples. Use it when you need exact settlement PnL attribution or are backtesting strategies where funding timing matters, such as delta-neutral carry trades or cross-venue funding arbitrage.

Authentication

Requires Pro tier or higher. Free and Dev tiers do not have access (returns 403).

Parameters

Query parameters

NameTypeRequiredDescription
symbolstringBase symbol, e.g. BTC.
startstring (ISO 8601)Start of range. Defaults to end minus 7 days.
endstring (ISO 8601)End of range. Defaults to current UTC time.
exchangesstringComma-separated exchange slugs. Omitting or passing all returns empty series for most exchanges — specify your target venues explicitly.

Example request

bash
curl -H "X-Api-Key: lk_live_your_key_here" \
  "https://api.loris.tools/funding/settlement?symbol=BTC&exchanges=binance,bybit&start=2026-06-01T00:00:00Z"

Example response

json
{
  "symbol": "BTC",
  "series": {
    "binance": [
      { "t": "2026-06-01T00:00:00Z", "y": 1.24, "intervalMinutes": 480 },
      { "t": "2026-06-01T08:00:00Z", "y": 1.18, "intervalMinutes": 480 },
      { "t": "2026-06-01T16:00:00Z", "y": 0.95, "intervalMinutes": 480 }
    ],
    "bybit": [
      { "t": "2026-06-01T00:00:00Z", "y": 1.20, "intervalMinutes": 480 },
      { "t": "2026-06-01T08:00:00Z", "y": 1.15, "intervalMinutes": 480 }
    ]
  },
  "notices": []
}

Errors

  • 400 Missing required parameter `symbol`, or invalid date format.
  • 403 Your tier does not have access. Upgrade to Pro.
  • 503 ClickHouse unavailable. Retry in a few seconds.

For authentication errors (401) and rate limit responses (429), see Errors.

Related