How to Use Hyperliquid price candles in n8n
Returns historical opening, high, low, and closing prices with volume and trade counts. Use it for charts and market analysis within the source's rolling limit of 5,000 recent candles.
Prompts to try with Hyperliquid price candles in n8n
Copy an example into n8n, or ask in your own words.
Every hour, use Hyperliquid price candles for BTC in hourly periods and report the latest completed candle's closing price, volume, and trade count.
Every Monday at 9am: use Hyperliquid price candles to look this up and give me the result as a table.
Pull the latest numbers from Hyperliquid price candles and tell me what changed since last week.
Check Hyperliquid price candles and summarize what you find in three bullet points.
Pull the newest data from Hyperliquid price candles and give me the result as a table.
How to set up Hyperliquid price candles in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n 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 Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run Hyperliquid price candles in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Hyperliquid price candles, prices it and runs it each time the step fires.
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 price candles
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/candles", "input": { "coin": "<coin>", "interval": "1m", "start_time": 0 } }'
Then paste one of the prompts above: n8n finds Hyperliquid price candles on Spiral, shows the price and runs it.
Hyperliquid price candles providers and prices
Spiral runs Hyperliquid price candles through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Interval | 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h and 6 more | interval | |
| End time | a number from 0 | Window end, unix milliseconds (inclusive). Defaults to now. | |
| Start time | a number from 0 | Window start, unix milliseconds (inclusive). Either start_time or cursor is required. |
Every API field of Hyperliquid · Candles is on its tool page: open its card above.
What can you do with Hyperliquid price candles in n8n?
Maintain a daily Hyperliquid research log for public vault activity and market conditions. Compare successive observations to flag changes in exposure, executions, funding, cash movements, or liquidity.
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.
Market conditions dashboard
Compare current market conditions with recent price action, historical funding, visible order-book liquidity, and upcoming funding expectations.
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.
Execution quality review
Review a public vault's execution prices and quantities against recent candles, then inspect current spreads and liquidity for a prospective repeat trade.
More on Hyperliquid price candles and n8n
Overview
Hyperliquid price candles in other agents
Questions about Hyperliquid price candles in n8n
Can n8n use Hyperliquid price candles?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Hyperliquid price candles like any built-in tool.
How much does Hyperliquid price candles cost in n8n?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an Alexandria account to use Hyperliquid price candles in n8n?
You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Hyperliquid price candles on its own Alexandria account.
How long does it take to set up Hyperliquid price candles in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while Hyperliquid price candles runs?
Hyperliquid price candles runs in the background. n8n 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.
Start using Hyperliquid price candles in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


