# Hyperliquid Wallet Tracker – Positions, PnL & Trades (Arkham) (`sentient_saga/arkham-hyperliquid-tracker`) Actor

Track Hyperliquid (HyperCore) wallets and Arkham entities: open perp positions, spot balances, account summary, PnL history and trades. Plus markets and token-wide positions.

- **URL**: https://apify.com/sentient_saga/arkham-hyperliquid-tracker.md
- **Developed by:** [Phan Bao](https://apify.com/sentient_saga) (community)
- **Categories:** Developer tools, Automation, AI
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 data requests

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 📈 Hyperliquid Wallet Tracker – Positions, PnL & Trades (Arkham)

> Track Hyperliquid (HyperCore) wallets and Arkham entities: open perp positions, spot balances, account summary, PnL history and trades. Plus markets and token-wide positions.

**⚡ Official Arkham API · 💰 30–50% cheaper than comparable Actors · 🧾 Pay only for results · 🤖 AI-agent ready**

### 🔥 Why choose this Actor

- 🏛️ **Official Arkham Intel API** – no website scraping, no random breakage when a page changes.
- 💸 **Lower prices than comparable Actors on Apify Store**, with simple pay-per-event billing.
- ⚡ **Fast & cached** – popular wallets and tokens come back instantly.
- 📋 **Clean, flat output** – ready for Excel, Google Sheets, BI tools, databases and LLM pipelines.

### 📦 What you get

- ✅ Perp positions, spot balances, account summary and portfolio history
- ✅ Works for wallets and Arkham entities (e.g. a fund's Hyperliquid activity)
- ✅ Trade history with per-row pricing
- ✅ Market snapshot and all positions for a token

### 💰 Pricing

You pay only for data actually returned. Invalid inputs and failed lookups are **never charged**.

| What | Event | Price | Per 1,000 |
|---|---|---|---|
| **One data type for one wallet/entity (summary, positions, balances…)** | `call-light` | $0.015 | $15.00 |
| **One trade fill** | `row` | $0.003 | $3.00 |

#### 🧮 Cost examples

| You want… | You pay |
|---|---|
| Positions + summary of 1 wallet | **$0.03** |
| Positions + summary of 100 wallets | **$3** |
| 1,000 trades | **$3** |
| Full market snapshot (all perps) | **$0.015** |

### 🚀 Quick start

1. Click **Try for free** – the input is pre-filled with a working example.
2. Press **Start** and wait a few seconds.
3. Open the **Output** tab → export as **JSON, CSV, Excel** or use the **API**.

### 📥 Input

| Field | Title | Description |
|---|---|---|
| `targets` | Wallets or entities | Hyperliquid wallet addresses or Arkham entity ids. |
| `dataTypes` | Data types | What to collect. |
| `tradesMaxItems` | Max trades per wallet | Only when 'Trades' is selected. |
| `tokenPositions` | Token-wide positions (optional) | Pricing ids, e.g. bitcoin, ethereum. |
| `includeMarkets` | Also fetch Hyperliquid markets | Adds one request. |
| `extraParams` | Advanced: extra Arkham query parameters | Optional raw query parameters passed to the Arkham Intel API, e.g. {"timeLast": "7d"}. |

```json
{
  "targets": [
    "0x5078c2fbea2b2ad61bc840bc023e35fce56bedb6"
  ],
  "dataTypes": [
    "summary",
    "perpPositions"
  ],
  "tradesMaxItems": 100,
  "extraParams": {}
}
```

### 📤 Output example

```json
{
  "target": "0x5078c2fbea2b2ad61bc840bc023e35fce56bedb6",
  "data_type": "perpPositions",
  "coin": "BTC",
  "direction": "short",
  "szi": -0.35041,
  "entry_px": 80125.05,
  "mark_px": 79093,
  "position_value": 27714.98,
  "unrealized_pnl": 361.64,
  "leverage_type": "cross",
  "leverage_value": 40
}
```

<sub>Illustrative row – field names and values come straight from the Arkham API and may vary by data type.</sub>

### 🎯 Use cases

- 🐋 **Whale & smart-money tracking** on Hyperliquid
- 🪞 **Copy-trading research** – positions, PnL, trade history
- 🏦 **Fund monitoring** – Hyperliquid activity of known Arkham entities
- 📊 **Market dashboards** – all perps in one cheap call

### 🔌 Integrations

Run on a schedule, call it from the **Apify API**, or connect to **Make, Zapier, n8n, Google Sheets, LangChain,
LlamaIndex or MCP** (Claude, Cursor…) – results flow straight into your tools.

### ❓ FAQ

**Is it cheaper than other Hyperliquid Actors?**\
Yes – a full wallet snapshot (summary + positions) costs $0.03 vs $0.05+ elsewhere, and a whole-market snapshot is a single request.

**Can I track entities, not only wallets?**\
Yes – enter Arkham entity ids to aggregate all their Hyperliquid wallets.

**Is the data official?**\
Yes. Data comes from the official Arkham Intel API, not from scraping the Arkham website, so runs don't break when a page layout changes.

**How do I limit my spend?**\
Set **Max cost per run** before starting. The run stops cleanly at your budget and keeps every result collected so far.

### 🧩 More Actors in this suite

| Actor | What it does |
|---|---|
| 🏷️ [Arkham Wallet Labels](https://apify.com/sentient_saga/arkham-wallet-labels) | Label thousands of crypto wallets with Arkham entity names, labels and types (CEX hot wallets, funds, market makers, protocols) across all major chains. |
| 💼 [Arkham Wallet Portfolio](https://apify.com/sentient_saga/arkham-wallet-portfolio) | Get token balances, portfolio, balance history, USD flows, volume, DeFi loans and top counterparties for any crypto wallet or Arkham entity, across 20+ chains. |
| 🔁 [Arkham Transfers & Swaps](https://apify.com/sentient_saga/arkham-transfers-swaps) | Export labeled on-chain transfers and DEX swaps for any wallet or entity – with sender/receiver entity names, token, amount and USD value. |
| 🪙 [Arkham Token Intelligence](https://apify.com/sentient_saga/arkham-token-intelligence) | See who holds a token (labeled top holders by address or entity), where it flows, exchange volume, price history and trending tokens – powered by Arkham. |
| 🏛️ [Arkham Entity Intelligence](https://apify.com/sentient_saga/arkham-entity-intelligence) | Profile any Arkham entity (exchanges, funds, market makers, whales): summary stats, predicted wallets, holdings, history, flows and top counterparties. |
| 🎯 [Polymarket Data](https://apify.com/sentient_saga/arkham-polymarket-data) | Polymarket analytics via Arkham: wallet PnL, positions and history, market order books and top holders, event breakdowns, leaderboard and activity. |
| 🧰 [Arkham Intel API](https://apify.com/sentient_saga/arkham-api-raw) | Call any supported Arkham Intel API endpoint without an Arkham subscription. |

### 🆘 Support

Found a bug or missing a field? Open an issue on the **Issues** tab – we usually respond within a day.

***

<sub>This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Arkham Intelligence. Data is provided through a licensed Arkham Intel API integration.</sub>

# Actor input Schema

## `targets` (type: `array`):

Hyperliquid wallet addresses or Arkham entity ids.

## `dataTypes` (type: `array`):

What to collect.

## `tradesMaxItems` (type: `integer`):

Only when 'Trades' is selected.

## `tokenPositions` (type: `array`):

Pricing ids, e.g. bitcoin, ethereum.

## `includeMarkets` (type: `boolean`):

Adds one request.

## `extraParams` (type: `object`):

Optional raw query parameters passed to the Arkham Intel API, e.g. {"timeLast": "7d"}.

## Actor input object example

```json
{
  "targets": [
    "0x5078c2fbea2b2ad61bc840bc023e35fce56bedb6"
  ],
  "dataTypes": [
    "summary",
    "perpPositions"
  ],
  "tradesMaxItems": 100,
  "includeMarkets": false,
  "extraParams": {}
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `allFields` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "targets": [
        "0x5078c2fbea2b2ad61bc840bc023e35fce56bedb6"
    ],
    "dataTypes": [
        "summary",
        "perpPositions"
    ],
    "extraParams": {}
};

// Run the Actor and wait for it to finish
const run = await client.actor("sentient_saga/arkham-hyperliquid-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "targets": ["0x5078c2fbea2b2ad61bc840bc023e35fce56bedb6"],
    "dataTypes": [
        "summary",
        "perpPositions",
    ],
    "extraParams": {},
}

# Run the Actor and wait for it to finish
run = client.actor("sentient_saga/arkham-hyperliquid-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "targets": [
    "0x5078c2fbea2b2ad61bc840bc023e35fce56bedb6"
  ],
  "dataTypes": [
    "summary",
    "perpPositions"
  ],
  "extraParams": {}
}' |
apify call sentient_saga/arkham-hyperliquid-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sentient_saga/arkham-hyperliquid-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QYFZegmuFpxXKhLKh/builds/UROCekWQ42tzIVgYK/openapi.json
