How to Use Hyperliquid vault details in Claude Code
Fetch a Hyperliquid vault's reported APR and timestamped account-value and profit-and-loss histories. Use it to review HLP's performance across the available periods or calculate changes within the returned history.
Prompts to try with Hyperliquid vault details in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Hyperliquid vault details for HLP and add a chart of the returned account-value history to my project.
Use Hyperliquid vault details for HLP and build a period comparison showing observation counts and first and last dates for the available histories.
Use Hyperliquid vault details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Hyperliquid vault details and tell me what changed since last week.
Check Hyperliquid vault details and summarize what you find in three bullet points.
How to set up Hyperliquid vault details in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Hyperliquid vault details
One request; the result comes back by polling or a webhook.
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/vault", "input": { "vault_address": "<vault_address>" } }'
Then paste one of the prompts above: Claude Code finds Hyperliquid vault details on Spiral, shows the price and runs it.
Hyperliquid vault details providers and prices
Spiral runs Hyperliquid vault details through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Include followers | on or off | Return the follower (depositor) list; off by default because it is large. |
Every API field of Hyperliquid · Vault is on its tool page: open its card above.
What can you do with Hyperliquid vault details in Claude Code?
Build a Hyperliquid research view with a recent execution tape or a chart of vault account value. A coding agent can turn returned trade records and timestamped vault histories into components in your project.
Review HLP performance
Summarize HLP's reported APR alongside the account-value and profit-and-loss histories returned for each available period.
Chart vault account value
Plot HLP's timestamped account-value observations and label the first and last dates actually returned.
Measure observed account-value declines
Calculate the largest peak-to-trough decline in HLP's returned account-value observations, explicitly labeling it as an account-value calculation.
Compare vault reporting periods
Place HLP's week, month, and all-time histories side by side and show each period's observation count and date coverage.
More on Hyperliquid vault details and Claude Code
Overview
Hyperliquid vault details in other agents
Questions about Hyperliquid vault details in Claude Code
Can Claude Code use Hyperliquid vault details?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Hyperliquid vault details like any built-in tool.
How much does Hyperliquid vault details cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use Hyperliquid vault details in Claude Code?
No. Spiral runs Hyperliquid vault details 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 vault details in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Hyperliquid vault details runs?
Hyperliquid vault details runs in the background. Claude Code 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.
Start using Hyperliquid vault details in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


