# Hyperliquid Whale Positions & Perp Funding Arbitrage API (`enigmalabs/hyperliquid-funding-whale-radar`) Actor

Real-time cross-exchange perpetual funding rate arbitrage APR (Hyperliquid, Binance, Bybit, dYdX, Kraken) plus live Hyperliquid HLP and whale liquidation radar.

- **URL**: https://apify.com/enigmalabs/hyperliquid-funding-whale-radar.md
- **Developed by:** [Enigma Labs](https://apify.com/enigmalabs) (community)
- **Categories:** AI, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 perp funding arbitrage / whale position signals

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

Capture real-time cross-exchange perpetual funding rate arbitrage APR across **Hyperliquid, Binance, Bybit, dYdX v4, and Kraken Futures**, alongside live **Hyperliquid HLP Vault** and institutional **whale clearinghouse positions** with exact liquidation distances. Engineered by **Enigma Labs** for delta-neutral basis desks, DeFi risk monitors, crypto research copilots, and autonomous **AI Agents (`mcp.apify.com`)**—running in seconds with `$0` proxy overhead and zero geo-blocking failures.

### What does Hyperliquid Whale Positions & Perp Funding Arbitrage API do?

Perpetual futures funding rates represent one of the cleanest market-neutral alpha sources in digital asset markets, yet funding intervals and API conventions vary wildly across centralized and decentralized exchanges (`1-hour` continuous rates on Hyperliquid, dYdX v4, and Kraken vs `4-hour` and `8-hour` intervals on Binance and Bybit). Worse, querying offshore CEX endpoints directly from US cloud regions frequently triggers HTTP `451` / `403` geo-blocks.

This Actor solves both problems natively. It combines Hyperliquid's on-chain clearinghouse oracle (`predictedFundings` + `metaAndAssetCtxs`) with live decentralized/institutional perpetual indexers (`dYdX v4` and `Kraken Futures`) to normalize every venue onto an apples-to-apples **Annualized Percentage Rate (`APR %`)**, while simultaneously inspecting **Hyperliquid Liquidity Provider (HLP)** strategy sub-vaults and multi-million-dollar leaderboard whale accounts:

| Core Engine | Institutional Capability |
| :--- | :--- |
| **5-Venue Funding Arbitrage Matrix** | Normalizes `1h`, `4h`, and `8h` funding rates across **Hyperliquid, Binance, Bybit, dYdX v4, and Kraken** into annualized `APR %`, automatically pairing the lowest-APR `long_venue` against the highest-APR `short_venue` to compute `net_carry_apr_pct`. |
| **US-Cloud Geo-Block Immunity** | Extracts Binance and Bybit perpetual funding rates directly from Hyperliquid's L1 consensus oracle (`predictedFundings`), eliminating `451` US-IP failures and paid residential proxy expenses. |
| **HLP Sub-Vault & Whale Position Radar** | Traverses Hyperliquid's parent **HLP Vault (`0xdfc2...f303`)**, its active child strategy sub-vaults, and top `$1.5M+` leaderboard traders via `clearinghouseState` to expose live `LONG`/`SHORT` notional size, entry price, unrealized PnL, leverage, and exact `liquidation_px`. |
| **Liquidation Cascade Distance** | Calculates real-time percentage distance from `mark_price_usd` to each whale's `liquidation_px` (`distance_to_liq_pct`) to flag leveraged squeeze and cascade zones before they hit the tape. |

### Why use this Actor?

- **Delta-Neutral Basis & Carry Bots**: Poll every 5 to 15 minutes via Apify Schedules or Webhooks to detect when `net_carry_apr_pct` spikes above `25%–100%+ APR` on liquid majors or trending altcoins, complete with `hl_open_interest_usd` and `hl_volume_24h_usd` liquidity guardrails.
- **Autonomous AI Agents & MCP Workflows**: Connect directly to **Claude Desktop, Cursor, OpenAI Agents SDK, or LangGraph** via `https://mcp.apify.com`. Ask your agent *"Which perpetual markets currently pay over 30% net funding APR between Hyperliquid and Binance, and how are Hyperliquid whales positioned on SOL and BTC?"* and get verified, real-time clearinghouse numbers.
- **HLP & Smart-Money Orderflow Tracking**: Monitor whether HLP strategy vaults and nine-figure Hyperliquid whales are absorbing retail longs, building leveraged shorts, or approaching tight liquidation thresholds.
- **Treasury, Fund & Newsletter Reporting**: Pipe structured JSON, CSV, or Parquet snapshots directly into Telegram alert bots, Discord alpha channels, Notion dashboards, Snowflake, or Google Sheets.

### How much does it cost?

This Actor uses transparent **Pay-Per-Event (PPE)** pricing at **`$0.002` per emitted signal** (`$2.00 per 1,000 signals`) via the `perp_alpha_signal_emitted` event—with zero proxy surcharges and sub-5-second compute footprints:

- **Standard Radar Sweep (`30` signals)**: **`$0.06`** per run (`15` top funding arbitrage pairs + `15` largest live whale positions).
- **Focused Portfolio Check (`10` signals)**: **`$0.02`** per run.
- **Deep Quant Scan (`150` signals)**: **`$0.30`** per run.
- **Apify Free Tier (`$5.00/month` included credit)**: Powers **2,500 live funding arbitrage & whale position signals every month** completely free.
- **Zero Charge on Empty Filters**: If strict `symbols_filter` + `min_net_apr_pct` criteria return zero matches, a clean diagnostic status item is pushed with **`$0.00` event fee**.

### Input parameters

Click **Try for free** to run an instant cross-exchange scan with prefilled defaults (completes in `< 8 seconds`), or tailor the radar using these parameters:

- **`mode`** *(string, default: `"all"`)*: Choose `"all"` (balanced cross-exchange funding arbitrage + Hyperliquid whale positions), `"funding_arbitrage"` (delta-neutral carry spreads only), or `"whale_positions"` (live HLP & leaderboard whale positions only).
- **`symbols_filter`** *(array of strings, optional, default: `[]`)*: Restrict results to specific tickers such as `["BTC", "ETH", "SOL", "HYPE"]`. Leave empty to scan all liquid perpetual markets automatically.
- **`min_net_apr_pct`** *(number, default: `10.0`)*: Minimum annualized net funding carry spread (`short_funding_apr_pct - long_funding_apr_pct`) required to emit a `funding_arbitrage` signal.
- **`max_signals`** *(integer, default: `30`, range: `1`–`250`)*: Maximum number of alpha signals written to the output dataset.

#### Example Input JSON

```json
{
  "mode": "all",
  "symbols_filter": [],
  "min_net_apr_pct": 10.0,
  "max_signals": 30
}
```

### Output example

Each dataset item contains normalized top-level table fields plus rich venue breakdowns and clearinghouse metadata:

```json
[
  {
    "signal_type": "funding_arbitrage",
    "symbol": "SOL",
    "long_venue": "Kraken",
    "short_venue": "Bybit",
    "long_funding_apr_pct": -8.42,
    "short_funding_apr_pct": 24.65,
    "net_carry_apr_pct": 33.07,
    "venue_apr_breakdown": {
      "Hyperliquid": 10.95,
      "Binance": 14.21,
      "Bybit": 24.65,
      "dYdX": 6.18,
      "Kraken": -8.42
    },
    "mark_price_usd": 168.42,
    "hl_open_interest_usd": 482910450.25,
    "hl_volume_24h_usd": 1294810200.8,
    "position_or_oi_usd": 482910450.25,
    "liquidation_px": 0.0,
    "distance_to_liq_pct": 0.0,
    "strategy_hint": "Delta-Neutral Carry: LONG SOL on Kraken (-8.42% APR) + SHORT on Bybit (+24.65% APR) => Net 33.07% APR",
    "url": "https://app.hyperliquid.xyz/trade/SOL",
    "scraped_at": "2026-11-15T01:55:00Z"
  },
  {
    "signal_type": "whale_position",
    "symbol": "BTC",
    "long_venue": "SHORT",
    "short_venue": "Whale 0xf5d8..ad53 ($103.3M Eq)",
    "wallet_address": "0xf5d81a135f756ca16544e53c20fc20643ec3ad53",
    "side": "SHORT",
    "szi": -420.5,
    "leverage": 20.0,
    "entry_px": 64120.0,
    "mark_price_usd": 62256.0,
    "position_value_usd": 26178648.0,
    "position_or_oi_usd": 26178648.0,
    "unrealized_pnl_usd": 783812.0,
    "liquidation_px": 81490.25,
    "distance_to_liq_pct": 30.89,
    "net_carry_apr_pct": -6.85,
    "strategy_hint": "Whale 0xf5d8..ad53 ($103.3M Eq): SHORT $26,178,648 BTC (20x cross) @ Entry $64,120.0000 | uPnL +$783,812 (+59.8%) | Liq $81,490.2500 (30.9% away)",
    "url": "https://hypurrscan.io/address/0xf5d81a135f756ca16544e53c20fc20643ec3ad53",
    "scraped_at": "2026-11-15T01:55:00Z"
  }
]
```

### Integrations: AI Agents (MCP) & Python SDK

With full Input, Output, and Dataset JSON schemas, this Actor plugs directly into **Apify's Model Context Protocol Server (`https://mcp.apify.com`)** for zero-code LLM tool calling, or can be invoked programmatically via the official `apify-client` Python SDK:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run = client.actor("enigmalabs/hyperliquid-funding-whale-radar").call(
    run_input={
        "mode": "all",
        "symbols_filter": ["BTC", "ETH", "SOL", "HYPE"],
        "min_net_apr_pct": 8.0,
        "max_signals": 25,
    }
)

for signal in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(
        signal["signal_type"],
        signal["symbol"],
        signal["net_carry_apr_pct"],
        signal["strategy_hint"],
    )
```

### Frequently Asked Questions (FAQ) & Disclaimer

- **Do I need exchange API keys or residential proxies to run this Actor?**
  No. All clearinghouse states, predicted funding intervals, and perpetual orderbook tickers are queried from public L1 and institutional indexer endpoints using standard cloud networking with `$0` proxy cost.
- **How is Annualized Funding APR (%) calculated across exchanges with different intervals?**
  Each venue's raw interval rate is first normalized to an exact 1-hour rate (`fundingRate / fundingIntervalHours`, such as dividing `4h` or `8h` Binance/Bybit intervals down to `1h`) and then annualized via `hourly_rate * 24 * 365 * 100`.
- **Does `net_carry_apr_pct` include taker fees, slippage, or borrow costs?**
  `net_carry_apr_pct` reflects the gross annualized perpetual funding rate differential (`short_funding_apr_pct - long_funding_apr_pct`). Always factor in entry/exit execution fees, bid-ask spread, and margin maintenance buffers on both venues before deploying capital.

*Disclaimer: Independent quantitative market data tool built by Enigma Labs. Not affiliated with, endorsed by, or sponsored by Hyperliquid, Binance, Bybit, dYdX, or Kraken. All signals and position analytics are provided strictly for informational, algorithmic research, and educational purposes and do not constitute financial, trading, or investment advice.*

# Actor input Schema

## `mode` (type: `string`):

Select 'all' for both cross-exchange funding arbitrage and live Hyperliquid whale positions, or isolate a single alpha feed.

## `symbols_filter` (type: `array`):

Optional list of ticker symbols to filter (e.g., \['BTC', 'ETH', 'SOL', 'HYPE']). Leave empty to scan all liquid perpetual markets.

## `min_net_apr_pct` (type: `number`):

Minimum annualized cross-exchange funding rate spread (APR %) required to emit a delta-neutral funding arbitrage signal.

## `max_signals` (type: `integer`):

Maximum total alpha signals (funding arbitrage + whale positions) pushed to the output dataset.

## Actor input object example

```json
{
  "mode": "all",
  "symbols_filter": [],
  "min_net_apr_pct": 10,
  "max_signals": 30
}
```

# Actor output Schema

## `dataset` (type: `string`):

Normalized delta-neutral perpetual funding arbitrage spreads (APR %) and live Hyperliquid HLP / whale clearinghouse positions.

# 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 = {
    "mode": "all",
    "symbols_filter": [],
    "min_net_apr_pct": 10,
    "max_signals": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("enigmalabs/hyperliquid-funding-whale-radar").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 = {
    "mode": "all",
    "symbols_filter": [],
    "min_net_apr_pct": 10,
    "max_signals": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("enigmalabs/hyperliquid-funding-whale-radar").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 '{
  "mode": "all",
  "symbols_filter": [],
  "min_net_apr_pct": 10,
  "max_signals": 30
}' |
apify call enigmalabs/hyperliquid-funding-whale-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,enigmalabs/hyperliquid-funding-whale-radar"
        }
    }
}
```

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/JP6rypAow8wDawFCy/builds/BjipTuBWBpsffOooa/openapi.json
