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
| Name | Type | Required | Description |
|---|---|---|---|
address | string | yes | 0x-prefixed 42-character wallet address. |
period | string | no | Window (default “week”). |
scope | string | no | ”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
| Field | Type | Description |
|---|---|---|
address | string | |
period | string | |
scope | string | |
found | boolean | |
start_account_value_usd | string | |
end_account_value_usd | string | |
account_value_change_usd | string | |
pnl_change_usd | string | |
trading_volume_usd | string | |
window_start | string | |
window_end | string | |
points_total | number | |
series | array | |
note | string | |
source | string |
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.