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

Cursor · Finance

How to Use Hyperliquid account funding payments in Cursor

Returns funding payments applied to an address, including timestamps, rates, and payment amounts. Use it to measure a public vault's actual funding income or expense separately from trading results.

Prompts to try with Hyperliquid account funding payments in Cursor

Copy an example into Cursor, or ask in your own words.

Use Hyperliquid account funding payments for the public vault 0xc179e03922afe8fa9533d3f896338b9fb87ce0c8 over the last seven days and add daily funding totals to this project's report.

Hyperliquid account funding paymentsCursor
Try asking
  • Use Hyperliquid account funding payments to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Hyperliquid account funding payments and tell me what changed since last week.

  • Check Hyperliquid account funding payments and summarize what you find in three bullet points.

  • Pull the newest data from Hyperliquid account funding payments and give me the result as a table.

How to set up Hyperliquid account funding payments 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 account funding payments

    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/account_funding",
        "input": {
          "address": "<address>",
          "start_time": 0
        }
      }'

Then paste one of the prompts above: Cursor finds Hyperliquid account funding payments on Spiral, shows the price and runs it.

Hyperliquid account funding payments providers and prices

Spiral runs Hyperliquid account funding payments through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Hyperliquid · Account funding
hyperliquid-xyz/markets/account_funding

Settings you can ask for

Ask Cursor for any of these in your prompt.

SettingAllowed valuesDefaultDescription
End timea number from 0

Window end, unix milliseconds (inclusive). Defaults to now.

Start timea number from 0

Window start, unix milliseconds (inclusive). Either start_time or cursor is required.

Every API field of Hyperliquid · Account funding is on its tool page: open its card above.

What can you do with Hyperliquid account funding payments in Cursor?

Build a Hyperliquid research dashboard that connects public vault accounting with market conditions. Use positions, executions, funding, and cash movements to explain changes in exposure and performance.

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.

Questions about Hyperliquid account funding payments in Cursor

Can Cursor use Hyperliquid account funding payments?

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

How much does Hyperliquid account funding payments 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 account funding payments in Cursor?

No. Spiral runs Hyperliquid account funding payments 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 funding payments in Cursor?

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

Does Cursor wait while Hyperliquid account funding payments runs?

Hyperliquid account funding payments runs in the background. Cursor 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.

Get started

Start using Hyperliquid account funding payments 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