[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [Hyperliquid account trade history](https://spiral.ai/integrations/notion/hyperliquid-account-trade-history)

# How to Use Hyperliquid account trade history in Notion

Returns executed trades with execution prices, quantities, fees, and realized profit or loss. Use it to review a public vault's trading activity; the source retains only the latest 10,000 fills.

|  |  |
| --- | --- |
| Model | Hyperliquid account trade history |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hyperliquid account trade history in Notion

- Each hour, use Hyperliquid account trade history for the public vault 0xc179e03922afe8fa9533d3f896338b9fb87ce0c8 and summarize newly returned executions by market.
- Every Monday at 9am: use Hyperliquid account trade history to look this up and give me the result as a table.
- Pull the latest numbers from Hyperliquid account trade history and tell me what changed since last week.
- Check Hyperliquid account trade history and summarize what you find in three bullet points.
- Pull the newest data from Hyperliquid account trade history and give me the result as a table.

## How to set up Hyperliquid account trade history in Notion

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Notion this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run Hyperliquid account trade history in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Hyperliquid account trade history, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Hyperliquid account trade history**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "hyperliquid-xyz/markets/account_fills",
    "input": {
      "address": "<address>",
      "start_time": 0
    }
  }'
```

Then paste one of the prompts above: Notion finds Hyperliquid account trade history on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/notion

## Hyperliquid account trade history tools and prices

- [Hyperliquid · Account fills](https://spiral.ai/tools/alexandria/hyperliquid-xyz/markets/account_fills) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | next_cursor from the previous page: the millisecond start time of the next page. Send it instead of start_time with the same other inputs. Pattern: ^[0-9]{1,16}$. |
| end_time | 0 to … | — | Window end, unix milliseconds (inclusive). Defaults to now. |
| start_time | 0 to … | — | Window start, unix milliseconds (inclusive). Either start_time or cursor is required. |
| aggregate_by_time |  | — | Combine partial fills of one order at the same time into one row, as the API offers. |

## What can you do with Hyperliquid account trade history in Notion?

Maintain a daily Hyperliquid research log for public vault activity and market conditions. Compare successive observations to flag changes in exposure, executions, funding, cash movements, or liquidity.

### Public vault daily review

Review a public vault's positions, trading results, funding payments, and cash movements alongside market conditions, visible liquidity, and funding expectations.

### Vault performance reconciliation

Separate realized trading results, funding income or expense, and external cash movements when reviewing a public vault's performance.

### Public vault stress review

Examine a public vault's exposure, recent trades, funding payments, and cash movements during a sharp market move, with liquidity and funding context.

### Public vault allocation review

Review a public vault's current exposure and recent accounting records together with the liquidity, funding conditions, and capacity restrictions of the markets it trades.

### Funding contribution analysis

Compare a public vault's actual funding payments with historical market rates and upcoming expectations, while separating trading results and cash movements.

### Execution quality review

Review a public vault's execution prices and quantities against recent candles, then inspect current spreads and liquidity for a prospective repeat trade.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Notion guides](https://spiral.ai/integrations/notion)

## Hyperliquid account trade history in other agents

- [Amp](https://spiral.ai/integrations/amp/hyperliquid-account-trade-history)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/hyperliquid-account-trade-history)
- [Claude](https://spiral.ai/integrations/claude-desktop/hyperliquid-account-trade-history)
- [Claude Code](https://spiral.ai/integrations/claude-code/hyperliquid-account-trade-history)
- [Cline](https://spiral.ai/integrations/cline/hyperliquid-account-trade-history)
- [Codex](https://spiral.ai/integrations/codex/hyperliquid-account-trade-history)
- [Cursor](https://spiral.ai/integrations/cursor/hyperliquid-account-trade-history)
- [Devin](https://spiral.ai/integrations/devin/hyperliquid-account-trade-history)
- [dots](https://spiral.ai/integrations/dots/hyperliquid-account-trade-history)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/hyperliquid-account-trade-history)
- [Gemini](https://spiral.ai/integrations/gemini/hyperliquid-account-trade-history)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/hyperliquid-account-trade-history)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/hyperliquid-account-trade-history)
- [goose](https://spiral.ai/integrations/goose/hyperliquid-account-trade-history)
- [Grok](https://spiral.ai/integrations/grok/hyperliquid-account-trade-history)
- [Grok Build](https://spiral.ai/integrations/grok-build/hyperliquid-account-trade-history)
- [Hermes](https://spiral.ai/integrations/hermes/hyperliquid-account-trade-history)
- [Instinct](https://spiral.ai/integrations/instinct/hyperliquid-account-trade-history)
- [Manus](https://spiral.ai/integrations/manus/hyperliquid-account-trade-history)
- [Muse](https://spiral.ai/integrations/muse/hyperliquid-account-trade-history)
- [Muse Code](https://spiral.ai/integrations/muse-code/hyperliquid-account-trade-history)
- [n8n](https://spiral.ai/integrations/n8n/hyperliquid-account-trade-history)
- [OpenClaw](https://spiral.ai/integrations/openclaw/hyperliquid-account-trade-history)
- [opencode](https://spiral.ai/integrations/opencode/hyperliquid-account-trade-history)
- [Perplexity](https://spiral.ai/integrations/perplexity/hyperliquid-account-trade-history)
- [Raycast](https://spiral.ai/integrations/raycast/hyperliquid-account-trade-history)
- [VS Code](https://spiral.ai/integrations/vscode/hyperliquid-account-trade-history)
- [Windsurf](https://spiral.ai/integrations/windsurf/hyperliquid-account-trade-history)
- [Zapier](https://spiral.ai/integrations/zapier/hyperliquid-account-trade-history)

## More Notion guides

- [Hyperliquid account positions](https://spiral.ai/integrations/notion/hyperliquid-account-positions)
- [Hyperliquid exchange overview](https://spiral.ai/integrations/notion/hyperliquid-exchange-overview)
- [Hyperliquid account funding payments](https://spiral.ai/integrations/notion/hyperliquid-account-funding-payments)
- [Hyperliquid historical funding rates](https://spiral.ai/integrations/notion/hyperliquid-historical-funding-rates)
- [Hyperliquid account cash movements](https://spiral.ai/integrations/notion/hyperliquid-account-cash-movements)
- [Hyperliquid market data](https://spiral.ai/integrations/notion/hyperliquid-market-data)

## Questions about Hyperliquid account trade history in Notion

**Can Notion use Hyperliquid account trade history?**

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run Hyperliquid account trade history like any built-in tool.

**How much does Hyperliquid account trade history cost in Notion?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.

**Do I need an Alexandria account to use Hyperliquid account trade history in Notion?**

No. Spiral runs Hyperliquid account trade history on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Hyperliquid account trade history in Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while Hyperliquid account trade history runs?**

Hyperliquid account trade history runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.

**Where does Hyperliquid's trading data originate?**

HyperCore holds Hyperliquid's margin and matching-engine state, including its onchain order books.

**Does Hyperliquid provide unlimited trading history?**

No. Account fill history is limited to the latest 10,000 fills, with at most 2,000 returned per response.

**How far back does Hyperliquid candle data go?**

The candle snapshot method exposes only the latest 5,000 candles. The available history therefore depends on the duration of each candle.

**Are funding payments included in ordinary cash movements?**

Hyperliquid separates funding payments from non-funding ledger updates. Deposits, transfers, and withdrawals belong to the non-funding ledger.

**Are Hyperliquid liquidation prices guaranteed?**

The account response describes liquidation prices as estimates. A liquidation price may also be null when it does not apply to the position.

