Spiral gives your agent every tool with one account. Browse the tools →

Grok Build · Finance

How to Use Hyperliquid vault details in Grok Build

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 Grok Build

Copy an example into Grok Build, 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.

Hyperliquid vault detailsGrok Build
Try asking
  • 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 Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. 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: Grok Build 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.

AlexandriaFinance
Hyperliquid · Vault
hyperliquid-xyz/markets/vault

Settings you can ask for

Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Include followerson 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 Grok Build?

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.

Questions about Hyperliquid vault details in Grok Build

Can Grok Build use Hyperliquid vault details?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Hyperliquid vault details like any built-in tool.

How much does Hyperliquid vault details cost in Grok Build?

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

Do I need an Alexandria account to use Hyperliquid vault details in Grok Build?

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 Grok Build?

About two minutes: add the server, then sign in, then check it.

Does Grok Build wait while Hyperliquid vault details runs?

Hyperliquid vault details runs in the background. Grok Build 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.

Get started

Start using Hyperliquid vault details in Grok Build

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok Build:

Set up Grok Build

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options