hyperliquid_funding_history

Pack: hyperliquid · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/hyperliquid_funding_history for the schema, then POST the same URL with its arguments for the data.

A Hyperliquid perp’s funding-rate history over time, from Hyperliquid’s own API.

Tool description as the model sees it

Historical funding-rate payments for one Hyperliquid perp — timestamped funding rate and premium at each funding interval (hourly on Hyperliquid), from Hyperliquid’s public info API ({“type”:“fundingHistory”}). Use this to see how funding has trended (e.g. persistently positive BTC funding = longs paying shorts = crowded long), or to reconstruct realized funding cost over a window. For the CURRENT funding rate only, hyperliquid_asset_context is cheaper (one call, no window math).

Parameters

NameTypeRequiredDescription
coinstringyesPerp symbol, e.g. “BTC”, “ETH”, “SOL”.
lookback_hoursnumbernoWindow length ending now, in hours (default 24, funding pays hourly so this returns ~1 row/hour). Ignored when start_time is given.
start_timestringnoWindow START — ISO date/datetime or unix seconds/milliseconds. Use with end_time for a window that does not end now.
end_timestringnoWindow END — same formats as start_time. Defaults to now.

Example call

Arguments

{
  "coin": "BTC",
  "lookback_hours": 6
}

curl

curl -X POST https://gateway.pipeworx.io/hyperliquid/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hyperliquid_funding_history","arguments":{"coin":"BTC","lookback_hours":6}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('hyperliquid_funding_history', {
  "coin": "BTC",
  "lookback_hours": 6
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the hyperliquid pack
{
  "mcpServers": {
    "hyperliquid": {
      "url": "https://gateway.pipeworx.io/hyperliquid/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 2, 2026