[Integrations](https://spiral.ai/integrations) › [ChatGPT](https://spiral.ai/integrations/chatgpt) › [Hyperliquid recent trades](https://spiral.ai/integrations/chatgpt/hyperliquid-recent-trades)

# How to Use Hyperliquid recent trades in ChatGPT

Fetch recent executed trades for a Hyperliquid market, including price, size, side, timestamp, and transaction hash. Use it to inspect the latest BTC or ETH trading activity and calculate summaries of the returned trades.

|  |  |
| --- | --- |
| Model | Hyperliquid recent trades |
| 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 recent trades in ChatGPT

- Use Hyperliquid recent trades for BTC and summarize the returned executions, including the largest size and the time span covered.
- Use Hyperliquid recent trades for ETH and compare total size from buyer-initiated and seller-initiated trades in the returned sample.
- Use Hyperliquid recent trades for SOL and show the five largest returned trades with their execution times and transaction hashes.
- Use Hyperliquid recent trades to look this up and give me the result as a table.
- Pull the latest numbers from Hyperliquid recent trades and tell me what changed since last week.

## How to set up Hyperliquid recent trades in ChatGPT

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

### Use the ChatGPT connector

1. **Add a custom MCP server**: In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

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

2. **Click Connect**: ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

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

### Use the Spiral skill

1. **Send ChatGPT 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 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 recent trades**: 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/recent_trades",
    "input": {
      "coin": "<coin>"
    }
  }'
```

Then paste one of the prompts above: ChatGPT finds Hyperliquid recent trades on Spiral, shows the price and runs it.

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

## Hyperliquid recent trades tools and prices

- [Hyperliquid · Recent trades](https://spiral.ai/tools/alexandria/hyperliquid-xyz/markets/recent_trades) (Alexandria): $0.00873 per call.

## What can you do with Hyperliquid recent trades in ChatGPT?

Get a readable summary of BTC executions or HLP's reported performance. A chat app can calculate trade-sample statistics and explain the vault's APR alongside its dated histories.

### Inspect the latest BTC executions

Turn returned BTC trades into a readable tape showing execution time, size, and aggressor side.

### Compare buying and selling in an ETH snapshot

Sum the returned ETH trade sizes by aggressor side and report the time span covered by the sample.

### Find large SOL prints

Rank returned SOL executions by size and show the timestamps and transaction hashes for the largest trades.

### Build a sampled trade archive

Collect successive BTC snapshots and remove duplicates using block time, market, and trade ID. Describe the result as sampled observations.

## Overview

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

## Hyperliquid recent trades in other agents

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

## More ChatGPT guides

- [Hyperliquid price candles](https://spiral.ai/integrations/chatgpt/hyperliquid-price-candles)
- [Hyperliquid vault details](https://spiral.ai/integrations/chatgpt/hyperliquid-vault-details)
- [Hyperliquid predicted funding rates](https://spiral.ai/integrations/chatgpt/hyperliquid-predicted-funding-rates)
- [IBGE CNAE industry classification](https://spiral.ai/integrations/chatgpt/ibge-cnae-industry-classification)
- [Hyperliquid order book](https://spiral.ai/integrations/chatgpt/hyperliquid-order-book)
- [IBGE country statistics](https://spiral.ai/integrations/chatgpt/ibge-country-statistics)

## Questions about Hyperliquid recent trades in ChatGPT

**Can ChatGPT use Hyperliquid recent trades?**

Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run Hyperliquid recent trades like any built-in tool.

**How much does Hyperliquid recent trades cost in ChatGPT?**

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

**Do I need an Alexandria account to use Hyperliquid recent trades in ChatGPT?**

No. Spiral runs Hyperliquid recent trades 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 recent trades in ChatGPT?**

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

**Does ChatGPT wait while Hyperliquid recent trades runs?**

Hyperliquid recent trades runs in the background. ChatGPT starts the run, checks on it and gives you the json when it's ready.

**Where does Hyperliquid's API data come from?**

Hyperliquid API servers listen to node updates and maintain blockchain state locally. The API serves information about that locally maintained state.

**What does the data cover?**

Hyperliquid recent trades covers executed trades for a market, including execution price and size. Hyperliquid vault details covers vault performance through reported APR and timestamped account-value and profit-and-loss histories.

**Does Hyperliquid return historical data?**

Recent trades returns a recent snapshot ordered newest first. Vault portfolio data has period labels including week, month, and all-time, with timestamped observations inside the returned histories.

**How can I judge the age of the returned observations?**

Trade timestamps identify execution time in Unix milliseconds. Vault account-value and profit-and-loss histories pair each observation with a timestamp, so their dates can be inspected directly.

**Are the returned figures executions or estimates?**

Recent trade prices describe executed transactions. Vault APR is a projection of yearly return based on recent performance, while the vault histories contain timestamped account-value and profit-and-loss observations.

