Search

PythonReactSEOPDF
OpenClaw

hyperliquid

Query Hyperliquid DEX for account balances, positions, PnL, and margin data via ClawdBot API

chipagosfinest0 source installs☆ 0 Repository starsv1.1.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install chipagosfinest/hyperliquid-dex

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Hyperliquid DEX Integration

Query your Hyperliquid perpetuals account for real-time balances, open positions, unrealized PnL, and margin data.

ClawdBot Integration

This skill is designed for ClawdBot - it calls ClawdBot's internal API server which proxies requests to the official Hyperliquid API at https://api.hyperliquid.xyz.

Architecture:

User → ClawdBot Gateway → ClawdBot API Server → Hyperliquid Public API
                         (Railway)              (api.hyperliquid.xyz)

The ClawdBot API server handles:

  • Timeout protection (15s)
  • Response parsing and formatting
  • Default wallet address from env vars

Capabilities

  • Account Overview: Get total account value, free collateral, and margin usage
  • Position Tracking: View all open perpetual positions with size, direction, entry price
  • PnL Monitoring: Real-time unrealized PnL and return on equity per position
  • Risk Management: Liquidation prices and leverage info for each position
  • Multi-Wallet: Query any wallet address or use configured trading wallet

Environment Variables

Variable Required Description
TRADING_WALLET_ADDRESS No Default wallet address (0x format) to query when none provided

API Endpoint

ClawdBot Internal API:

POST {CLAWDBOT_API_URL}/api/hyperliquid/account

Upstream API (called by ClawdBot):

POST https://api.hyperliquid.xyz/info
Request (Optional Body)
{
  "walletAddress": "0x..."
}

If no wallet address provided, uses TRADING_WALLET_ADDRESS env var.

Response
{
  "timestamp": "2026-02-10T03:30:00.000Z",
  "walletAddress": "0x...",
  "account": {
    "accountValue": 10523.45,
    "totalPositionNotional": 25000.00,
    "freeCollateral": 5200.00,
    "totalMarginUsed": 5323.45
  },
  "positions": [
    {
      "coin": "ETH",
      "direction": "long",
      "size": 2.5,
      "entryPrice": 2450.00,
      "positionValue": 62...

Source information

Source
github
Repository
openclaw/skills
Path
skills/chipagosfinest/hyperliquid-dex
Version
1.1.0
Commit
16bdfc3a29e11286f80540fdbba195fe63f4f641
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Hyperliquid DEX Integration

Query your Hyperliquid perpetuals account for real-time balances, open positions, unrealized PnL, and margin data.

## ClawdBot Integration

This skill is designed for **ClawdBot** - it calls ClawdBot's internal API server which proxies requests to the official Hyperliquid API at `https://api.hyperliquid.xyz`.

**Architecture:**
```
User → ClawdBot Gateway → ClawdBot API Server → Hyperliquid Public API
                         (Railway)              (api.hyperliquid.xyz)
```

The ClawdBot API server handles:
- Timeout protection (15s)
- Response parsing and formatting
- Default wallet address from env vars

## Capabilities

- **Account Overview**: Get total account value, free collateral, and margin usage
- **Position Tracking**: View all open perpetual positions with size, direction, entry price
- **PnL Monitoring**: Real-time unrealized PnL and return on equity per position
- **Risk Management**: Liquidation prices and leverage info for each position
- **Multi-Wallet**: Query any wallet address or use configured trading wallet

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `TRADING_WALLET_ADDRESS` | No | Default wallet address (0x format) to query when none provided |

## API Endpoint

**ClawdBot Internal API:**
```
POST {CLAWDBOT_API_URL}/api/hyperliquid/account
```

**Upstream API (called by ClawdBot):**
```
POST https://api.hyperliquid.xyz/info
```

### Request (Optional Body)

```json
{
  "walletAddress": "0x..."
}
```

If no wallet address provided, uses `TRADING_WALLET_ADDRESS` env var.

### Response

```json
{
  "timestamp": "2026-02-10T03:30:00.000Z",
  "walletAddress": "0x...",
  "account": {
    "accountValue": 10523.45,
    "totalPositionNotional": 25000.00,
    "freeCollateral": 5200.00,
    "totalMarginUsed": 5323.45
  },
  "positions": [
    {
      "coin": "ETH",
      "direction": "long",
      "size": 2.5,
      "entryPrice": 2450.00,
      "positionValue": 62...

Related skills

OpenClaw

xint

0xnyk

X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

flightclaw

jackculpan

Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.

OpenClaw

openclaw-trading-assistant

openclaw-trade

openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime...