[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [Hyperliquid price candles](https://spiral.ai/integrations/openclaw/hyperliquid-price-candles)

# How to Use Hyperliquid price candles in OpenClaw

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.

|  |  |
| --- | --- |
| Model | Hyperliquid price candles |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hyperliquid price candles in OpenClaw

- 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 OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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 Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Hyperliquid price candles**: One request; the result comes back by polling or a webhook.

```bash
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: OpenClaw finds Hyperliquid price candles on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## Hyperliquid price candles tools and prices

- [Hyperliquid · Candles](https://spiral.ai/tools/alexandria/hyperliquid-xyz/markets/candles) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | next_cursor from the previous page: the millisecond start time of the next page. Send it instead of start_time with the same other inputs. Pattern: ^[0-9]{1,16}$. |
| end_time | 0 to … | — | Window end, unix milliseconds (inclusive). Defaults to now. |
| start_time | 0 to … | — | Window start, unix milliseconds (inclusive). Either start_time or cursor is required. |

## What can you do with Hyperliquid price candles in OpenClaw?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## Hyperliquid price candles in other agents

- [Amp](https://spiral.ai/integrations/amp/hyperliquid-price-candles)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/hyperliquid-price-candles)
- [Claude](https://spiral.ai/integrations/claude-desktop/hyperliquid-price-candles)
- [Claude Code](https://spiral.ai/integrations/claude-code/hyperliquid-price-candles)
- [Cline](https://spiral.ai/integrations/cline/hyperliquid-price-candles)
- [Codex](https://spiral.ai/integrations/codex/hyperliquid-price-candles)
- [Cursor](https://spiral.ai/integrations/cursor/hyperliquid-price-candles)
- [Devin](https://spiral.ai/integrations/devin/hyperliquid-price-candles)
- [dots](https://spiral.ai/integrations/dots/hyperliquid-price-candles)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/hyperliquid-price-candles)
- [Gemini](https://spiral.ai/integrations/gemini/hyperliquid-price-candles)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/hyperliquid-price-candles)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/hyperliquid-price-candles)
- [goose](https://spiral.ai/integrations/goose/hyperliquid-price-candles)
- [Grok](https://spiral.ai/integrations/grok/hyperliquid-price-candles)
- [Grok Build](https://spiral.ai/integrations/grok-build/hyperliquid-price-candles)
- [Hermes](https://spiral.ai/integrations/hermes/hyperliquid-price-candles)
- [Instinct](https://spiral.ai/integrations/instinct/hyperliquid-price-candles)
- [Manus](https://spiral.ai/integrations/manus/hyperliquid-price-candles)
- [Muse](https://spiral.ai/integrations/muse/hyperliquid-price-candles)
- [Muse Code](https://spiral.ai/integrations/muse-code/hyperliquid-price-candles)
- [n8n](https://spiral.ai/integrations/n8n/hyperliquid-price-candles)
- [Notion](https://spiral.ai/integrations/notion/hyperliquid-price-candles)
- [opencode](https://spiral.ai/integrations/opencode/hyperliquid-price-candles)
- [Perplexity](https://spiral.ai/integrations/perplexity/hyperliquid-price-candles)
- [Raycast](https://spiral.ai/integrations/raycast/hyperliquid-price-candles)
- [VS Code](https://spiral.ai/integrations/vscode/hyperliquid-price-candles)
- [Windsurf](https://spiral.ai/integrations/windsurf/hyperliquid-price-candles)
- [Zapier](https://spiral.ai/integrations/zapier/hyperliquid-price-candles)

## More OpenClaw guides

- [Hyperliquid predicted funding rates](https://spiral.ai/integrations/openclaw/hyperliquid-predicted-funding-rates)
- [Hyperliquid recent trades](https://spiral.ai/integrations/openclaw/hyperliquid-recent-trades)
- [Hyperliquid order book](https://spiral.ai/integrations/openclaw/hyperliquid-order-book)
- [Hyperliquid vault details](https://spiral.ai/integrations/openclaw/hyperliquid-vault-details)
- [Hyperliquid market data](https://spiral.ai/integrations/openclaw/hyperliquid-market-data)
- [IBGE CNAE industry classification](https://spiral.ai/integrations/openclaw/ibge-cnae-industry-classification)

## Questions about Hyperliquid price candles in OpenClaw

**Can OpenClaw use Hyperliquid price candles?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Hyperliquid price candles like any built-in tool.

**How much does Hyperliquid price candles cost in OpenClaw?**

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

**Do I need an Alexandria account to use Hyperliquid price candles in OpenClaw?**

No. Spiral runs Hyperliquid price candles 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 price candles in OpenClaw?**

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

**Does OpenClaw wait while Hyperliquid price candles runs?**

Hyperliquid price candles runs in the background. OpenClaw 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.

