← 返回
数据分析 Key 中文

HyperX Data API

Use when building apps with HyperX Data API — Hyperliquid wallet analytics, market data, Twitter/news feeds. Triggers on: "HyperX API", "data-api.hyperx.trad...
使用 HyperX Data API 构建应用——Hyperliquid 钱包分析、市场数据、推特/新闻动态。触发词:“HyperX API”、“data-api.hyperx.trad...
hyperxtrade
数据分析 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 525
下载
💾 9
安装
1
版本
#latest

概述

HyperX Data API

Base URL: https://data-api.hyperx.trade

Hyperliquid on-chain analytics API — wallet PnL, market positions, crypto Twitter, news feeds.

Authentication

MethodHeader / FieldHow to get
-----------------------------------
API TokenX-API-Key: Login at hyperx.trade → Settings → API Token
CookieHyperX session cookieLogin at hyperx.trade

To get an API key: visit hyperx.trade/hyperliquid/settings, log in with your account, and generate a token in the API Token section. Free tier is available.

Twitter & News endpoints are free, no auth required.

Rate Limits

TierBudget / minMonthlyPrice
-----------------------------------
Free3010,000$0
Pro300500,000$99/mo
Ultra1,2005,000,000$399/mo

Each endpoint has a weight (1–5). Each call costs weight from your budget.

Endpoints

Wallet Analysis

MethodPathWeightAuthDescription
-----------------------------------------
POST/wallet_analysis/{address}5optionalFull wallet PnL analysis with positions, trades, risk metrics
GET/wallet_metrics/{address}2nonePre-calculated wallet performance metrics (win rate, ROI, PnL)
POST/wallet_metrics_query2optionalBatch query wallet metrics with filters and sorting
GET/fills/{address}5optionalTrading history (fills) for a wallet address
WS/fills/ws5/msgoptionalReal-time fills stream. Addr limits: free=1, pro=50, ultra=300

Market Analysis

All weight 1, no auth required.

MethodPathDescription
---------------------------
GET/market/coinsAll tradable coins with metadata
GET/market/snapshotsMarket overview snapshots
GET/market/overviewAggregated market overview
GET/market/aggregate-positionsCross-asset aggregated position data
GET/market/top-positions/{asset}Top positions for a specific asset
GET/market/leverage-distribution/{asset}Leverage distribution
GET/market/pnl-distribution/{asset}PnL distribution
GET/market/concentration/{asset}Position concentration analysis
GET/market/whale-changes/{asset}Whale position changes tracking
GET/market/entry-price/{asset}Entry price distribution
GET/market/high-leverage-whales/{asset}High-leverage whale positions
GET/market/top-losers/{asset}Top losing positions
GET/market/top-winners/{asset}Top winning positions
GET/market/liquidation-heatmap/{asset}Liquidation price heatmap
GET/market/liquidation-positions/{asset}Positions near liquidation

Time Distribution

All weight 1, auth optional.

MethodPathDescription
---------------------------
GET/wallet/time-distribution/{address}/hourlyHourly trading activity
GET/wallet/time-distribution/{address}/day-of-weekDay-of-week patterns
GET/wallet/time-distribution/{address}/heatmapFull activity heatmap (hour × day)
GET/wallet/time-distribution/{address}/dailyDaily trading volume

Twitter (FREE)

All weight 1, no auth required.

MethodPathDescription
---------------------------
GET/twitterTwitter feed with filtering
GET/twitter/authorsActive authors ranked by tweet count
WS/twitter/wsReal-time Twitter feed stream

GET /twitter params:

ParamTypeDescription
--------------------------
screen_namestringFilter by author(s), comma-separated
min_followersintMinimum follower count
user_tagsstringFilter by tags: trader, kol, founder, featured
tweet_typestringreply, quote, retweet
keywordstringContent keyword search
hoursintTime range in hours (1–168, default 24)
page / page_sizeintPagination (max 100/page)

Response fields:

{
  "id": 12345,
  "sfe_id": "a2552b68aad7c9fa",
  "tweet_type": "reply",
  "tweet_id": "2032041519130296698",
  "tweet_time": "2026-03-12T10:30:26",
  "content": "tweet text...",
  "screen_name": "elonmusk",
  "display_name": "Elon Musk",
  "avatar_url": "https://pbs.twimg.com/...",
  "follower_count": 694593,
  "user_tags": ["founder", "featured"],
  "tweet_interaction_type": "reply",
  "media": [{"t": "image", "u": "https://..."}],
  "source_tweet": {
    "tweet_id": "...",
    "content": "original tweet...",
    "screen_name": "...",
    "follower_count": 24977,
    "media": []
  }
}

WS /twitter/ws params: screen_names, min_followers, user_tags (same filters as REST). Messages are JSON objects with same fields as REST response items.

News (FREE)

All weight 1, no auth required.

MethodPathDescription
---------------------------
GET/newsTrading news from multiple sources
GET/news/channelsAvailable news channel categories

BTC Mining

MethodPathWeightAuthDescription
-----------------------------------------
GET/btc-mining/shutdown-prices1noneBTC mining shutdown prices by miner model

Quick Start

import requests

BASE = "https://data-api.hyperx.trade"

# No auth needed for Twitter
tweets = requests.get(f"{BASE}/twitter", params={"hours": 1, "min_followers": 10000}).json()
for t in tweets["items"]:
    print(f"@{t['screen_name']}: {t['content']}")

# With API key for wallet analysis (get yours at hyperx.trade/hyperliquid/settings)
headers = {"X-API-Key": "your-api-key"}
pnl = requests.post(f"{BASE}/wallet_analysis/0x1234...", headers=headers).json()
# WebSocket — real-time Twitter stream
import asyncio, websockets, json

async def stream():
    async with websockets.connect(f"wss://data-api.hyperx.trade/twitter/ws?min_followers=5000") as ws:
        async for msg in ws:
            tweet = json.loads(msg)
            print(f"@{tweet['screen_name']}: {tweet.get('content', '')}")

asyncio.run(stream())

API Catalog Endpoint

GET /api-catalog — returns the full structured catalog as JSON with dynamic weights.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 22:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 56,914
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 164 📥 59,799
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 140,147