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

Cursor · Finance

How to Use Hyperliquid vault details in Cursor

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 Cursor

Copy an example into Cursor, 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 detailsCursor
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 Cursor

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor 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: Cursor 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 Cursor 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 Cursor?

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 Cursor

Can Cursor use Hyperliquid vault details?

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

How much does Hyperliquid vault details cost in Cursor?

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

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

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 Cursor?

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

Does Cursor wait while Hyperliquid vault details runs?

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

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

Paste this into Cursor:

Set up Cursor

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