hyperliquid_account_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_account_history for the schema, then POST the same URL with its arguments for the data.

Account value and PnL history for one Hyperliquid wallet address over a day, week, month or all time — starting and ending account value, PnL change, trading volume, then a downsampled series. Scope “combined” is perp plus spot; “perp” is perp only. Public on-chain data, keyless. e.g. {address:“0x31dea2516beee92135b96f464eeec3cf292a13f2”, period:“week”}.

Parameters

NameTypeRequiredDescription
addressstringyes0x-prefixed 42-character wallet address.
periodstringnoWindow (default “week”).
scopestringno”combined” (default) = perp + spot; “perp” = perp only.

Example call

Arguments

{
  "address": "0x31dea2516beee92135b96f464eeec3cf292a13f2",
  "period": "week"
}

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_account_history","arguments":{"address":"0x31dea2516beee92135b96f464eeec3cf292a13f2","period":"week"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('hyperliquid_account_history', {
  "address": "0x31dea2516beee92135b96f464eeec3cf292a13f2",
  "period": "week"
});

Response shape

FieldTypeDescription
addressstring
periodstring
scopestring
foundboolean
start_account_value_usdstring
end_account_value_usdstring
account_value_change_usdstring
pnl_change_usdstring
trading_volume_usdstring
window_startstring
window_endstring
points_totalnumber
seriesarray
notestring
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "address": {
      "type": "string"
    },
    "period": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "start_account_value_usd": {
      "type": "string"
    },
    "end_account_value_usd": {
      "type": "string"
    },
    "account_value_change_usd": {
      "type": "string"
    },
    "pnl_change_usd": {
      "type": "string"
    },
    "trading_volume_usd": {
      "type": "string"
    },
    "window_start": {
      "type": "string"
    },
    "window_end": {
      "type": "string"
    },
    "points_total": {
      "type": "number"
    },
    "series": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "time": {
            "type": "string"
          },
          "account_value_usd": {
            "type": "string"
          },
          "pnl_usd": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "note": {
      "type": "string"
    },
    "source": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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 22, 2026