概要
This page documents all pre-built SQL queries available for Hyperliquid HyperCore data analysis through the SQL Explorer REST API. These queries cover trading activity, market analysis, position tracking, infrastructure monitoring, portfolio management, and platform analytics.
All queries use the same endpoint and authentication method:
- Endpoint:
投稿 https://api.quicknode.com/sql/rest/v1/query - Authentication: Include your API key in the
x-api-keyヘッダー - Cluster ID:
hyperliquid-core-mainnet
See the Schema Reference for complete table and column documentation to build your own SQL queries.
Trading Queries
Query individual trades and trading volume data from Hyperliquid.
Recent Trades
Last 100 trades with buyer/seller details.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT timestamp, coin, side, price, size, toFloat64(price) * toFloat64(size) AS notional_usd, buyer_address, seller_address, buyer_fee, seller_fee, fee_token FROM hyperliquid_trades WHERE block_time > now() - INTERVAL 1 HOUR ORDER BY block_number DESC, trade_id DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "timestamp",
"type": "DateTime64(3, 'UTC')"
},
{
"name": "coin",
"type": "LowCardinality(String)"
}
],
"data": [
{
"timestamp": "2026-04-02 14:21:27.666",
"coin": "@107",
"side": "B",
"price": 34.625,
"size": 12.5,
"notional_usd": 432.8125,
"buyer_address": "0xecb63caa47c7c4e77f60f1ce858cf28dc2b82b00",
"seller_address": "0x9266865bb6afb4c4f618544dd3b8c970f17aa664",
"buyer_fee": 0.00262499,
"seller_fee": -0.00012499,
"fee_token": "HYPE"
}
],
"rows": 100,
"rows_before_limit_at_least": 597,
"statistics": {
"elapsed": 0.007224752,
"rows_read": 56511,
"bytes_read": 10381799
}
}
Volume by Coin (24h)
Top coins by trading volume in the last 24 hours.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT coin, count() AS trade_count, sum(toFloat64(price) * toFloat64(size)) AS volume_usd, min(toFloat64(price)) AS low, max(toFloat64(price)) AS high, avg(toFloat64(price)) AS avg_price FROM hyperliquid_trades WHERE timestamp > now() - INTERVAL 24 HOUR GROUP BY coin ORDER BY volume_usd DESC LIMIT 50",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "coin",
"type": "LowCardinality(String)"
},
{
"name": "trade_count",
"type": "UInt64"
}
],
"data": [
{
"coin": "BTC",
"trade_count": 722316,
"volume_usd": 2740791882.317031,
"low": 65697,
"high": 69117,
"avg_price": 67404.89164160838
}
],
"rows": 50,
"rows_before_limit_at_least": 439,
"statistics": {
"elapsed": 1.491897288,
"rows_read": 4679677,
"bytes_read": 196233107
}
}
Whale Trades (24h)
Trades over $100K in the last 24 hours.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT timestamp, coin, side, price, size, toFloat64(price) * toFloat64(size) AS notional_usd, buyer_address, seller_address FROM hyperliquid_trades WHERE block_time > now() - INTERVAL 24 HOUR AND toFloat64(price) * toFloat64(size) > 100000 ORDER BY notional_usd DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "timestamp",
"type": "DateTime64(3, 'UTC')"
},
{
"name": "coin",
"type": "LowCardinality(String)"
}
],
"data": [
{
"timestamp": "2026-04-02 01:19:25.187",
"coin": "cash:USA500",
"side": "A",
"price": 6530.5,
"size": 457.914,
"notional_usd": 2990407.377,
"buyer_address": "0x65c18f2bc08c9130e4d694e33bffcd3aa7cf2526",
"seller_address": "0x8bae3527e5a33fa0cf184f37bc112d071463ab6d"
}
],
"rows": 100,
"rows_before_limit_at_least": 10527,
"statistics": {
"elapsed": 0.369080523,
"rows_read": 5126495,
"bytes_read": 618192147
}
}
DEX Trades (Enriched View)
Trades with market type (perpetual vs spot) from the enriched view.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT timestamp, coin, market_type, side, price, size, usd_amount, buyer_address, seller_address FROM hyperliquid_dex_trades WHERE block_time > now() - INTERVAL 1 HOUR ORDER BY block_number DESC, trade_id DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "timestamp",
"type": "DateTime64(3, 'UTC')"
},
{
"name": "coin",
"type": "LowCardinality(String)"
}
],
"data": [
{
"timestamp": "2026-04-02 14:27:56.309",
"coin": "xyz:SILVER",
"market_type": "perpetual",
"side": "A",
"price": 71.69,
"size": 118.81,
"usd_amount": 10.429726976538413,
"buyer_address": "0x7b7f72a28fe109fa703eeed7984f2a8a68fedee2",
"seller_address": "0x4bbf95c18dca8609fa2bfa01aa1f07b77e334b4b"
}
],
"rows": 100,
"rows_before_limit_at_least": 2107,
"statistics": {
"elapsed": 0.078426431,
"rows_read": 279772,
"bytes_read": 42229818
}
}
Activity Queries
Analyze trading volume and user activity metrics aggregated over time periods.
Hourly Volume
Trading volume aggregated by hour for the last 7 days.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT toStartOfHour(timestamp) AS hour, count() AS trades, sum(toFloat64(price) * toFloat64(size)) AS volume_usd FROM hyperliquid_trades WHERE timestamp > now() - INTERVAL 7 DAY GROUP BY hour ORDER BY hour DESC",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "hour",
"type": "DateTime('UTC')"
}
],
"data": [
{
"hour": "2026-04-02 14:00:00",
"trades": 176175,
"volume_usd": 304180984.4983604
}
],
"rows": 169,
"rows_before_limit_at_least": 169,
"statistics": {
"elapsed": 0.974603795,
"rows_read": 27443725,
"bytes_read": 1096893352
}
}
Daily Volume
Daily trading volume for the last 30 days.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT toStartOfDay(timestamp) AS day, count() AS trades, sum(toFloat64(price) * toFloat64(size)) AS volume_usd, uniqExact(arrayJoin([buyer_address, seller_address])) AS unique_traders FROM hyperliquid_trades WHERE timestamp > now() - INTERVAL 30 DAY GROUP BY day ORDER BY day DESC",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "day",
"type": "DateTime('UTC')"
}
],
"data": [
{
"day": "2026-04-02 00:00:00",
"trades": 6287986,
"volume_usd": 11955855129.097586,
"unique_traders": 48424
}
],
"rows": 31,
"rows_before_limit_at_least": 31,
"statistics": {
"elapsed": 3.865872434,
"rows_read": 126043471,
"bytes_read": 15626653528
}
}
Top Traders by Volume (7d)
Most active traders by volume in the last 7 days.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT trader, count() AS trade_count, sum(volume) AS total_volume, uniqExact(coin) AS coins_traded FROM ( SELECT buyer_address AS trader, toFloat64(price) * toFloat64(size) AS volume, coin FROM hyperliquid_trades WHERE timestamp > now() - INTERVAL 7 DAY UNION ALL SELECT seller_address AS trader, toFloat64(price) * toFloat64(size) AS volume, coin FROM hyperliquid_trades WHERE timestamp > now() - INTERVAL 7 DAY ) GROUP BY trader ORDER BY total_volume DESC LIMIT 50",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "trader",
"type": "FixedString(42)"
}
],
"data": [
{
"trader": "0xc926ddba8b7617dbc65712f20cf8e1b58b8598d3",
"trade_count": 1233956,
"total_volume": 2862303824.2981963,
"coins_traded": 113
}
],
"rows": 50,
"rows_before_limit_at_least": 115776,
"statistics": {
"elapsed": 0.805998407,
"rows_read": 54903106,
"bytes_read": 4609639192
}
}
Fills Queries
Access fill events including position changes, liquidations, and realized PnL data.
Recent Fills
Last 100 individual fill events.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT time, coin, side, price, size, fee, fee_token, closed_pnl, dir, user, hash FROM hyperliquid_fills WHERE block_time > now() - INTERVAL 1 HOUR ORDER BY block_number DESC, tid DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "time",
"type": "DateTime64(3, 'UTC')"
}
],
"data": [
{
"time": "2026-04-02 14:30:57.423",
"coin": "cash:EWY",
"side": "B",
"price": 120.79,
"size": 0.41,
"fee": 0.003961,
"fee_token": "USDT0",
"closed_pnl": 0,
"dir": "Open Long",
"user": "0xf81f37da0d288c9c214a14a7a1630306a83a298b",
"hash": "0x281e35098f71f5ac299704383d709b0210a000ef2a75147ecbe6e05c4e75cf96"
}
],
"rows": 100,
"rows_before_limit_at_least": 1324,
"statistics": {
"elapsed": 0.322578231,
"rows_read": 95344,
"bytes_read": 19870069
}
}
Recent Liquidations
Recent liquidation events with mark prices.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT time, coin, side, price, size, toFloat64(price) * toFloat64(size) AS notional, liquidated_user, liquidation_mark_price, liquidation_method, user FROM hyperliquid_fills WHERE block_time > now() - INTERVAL 24 HOUR AND is_liquidation = 1 ORDER BY block_number DESC, tid DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "time",
"type": "DateTime64(3, 'UTC')"
}
],
"data": [
{
"time": "2026-04-02 14:31:43.531",
"coin": "SOL",
"side": "B",
"price": 78.692,
"size": 5.02,
"notional": 395.03383999999994,
"liquidated_user": "0xf296d92e9b4f2975dffe7daa309b671bbaa70e07",
"liquidation_mark_price": 78.677,
"liquidation_method": "market",
"user": "0xf296d92e9b4f2975dffe7daa309b671bbaa70e07"
}
],
"rows": 100,
"rows_before_limit_at_least": 100,
"statistics": {
"elapsed": 0.666003748,
"rows_read": 2896592,
"bytes_read": 198924115
}
}
Orders Queries
Retrieve order placement, cancellation, and status update events.
Recent Orders
Latest 100 order events.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT status_time, coin, side, order_type, limit_price, size, orig_size, status, tif, user FROM hyperliquid_orders WHERE block_time > now() - INTERVAL 1 HOUR ORDER BY block_number DESC, oid DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "status_time",
"type": "DateTime64(6, 'UTC')"
}
],
"data": [
{
"status_time": "2026-04-02 14:32:17.881790",
"coin": "LINK",
"side": "A",
"order_type": "Limit",
"limit_price": 8.5056,
"size": 141.2,
"orig_size": 141.2,
"status": "open",
"tif": "Alo",
"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"
}
],
"rows": 100,
"rows_before_limit_at_least": 11405,
"statistics": {
"elapsed": 0.769894367,
"rows_read": 8544026,
"bytes_read": 102335620
}
}
Order Type Distribution (1h)
Breakdown of order types in the last hour.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT order_type, side, status, count() AS order_count, uniqExact(user) AS unique_users FROM hyperliquid_orders WHERE block_time > now() - INTERVAL 1 HOUR GROUP BY order_type, side, status ORDER BY order_count DESC",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "order_type",
"type": "LowCardinality(String)"
}
],
"data": [
{
"order_type": "Limit",
"side": "B",
"status": "badAloPxRejected",
"order_count": 23039835,
"unique_users": 895
}
],
"rows": 99,
"rows_before_limit_at_least": 99,
"statistics": {
"elapsed": 0.749435223,
"rows_read": 103569157,
"bytes_read": 4987744623
}
}
Funding Queries
Query funding rate payments and historical funding rate data for perpetual positions.
Latest Funding Payments
Most recent funding payments by coin.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT coin, funding_rate, count() AS payments, sum(toFloat64(funding_amount)) AS total_funding, avg(toFloat64(szi)) AS avg_position_size FROM hyperliquid_funding WHERE time > now() - INTERVAL 8 HOUR GROUP BY coin, funding_rate ORDER BY abs(total_funding) DESC LIMIT 50",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "coin",
"type": "LowCardinality(String)"
}
],
"data": [
{
"coin": "HYPE",
"funding_rate": 0.0000125,
"payments": 69310,
"total_funding": 0.011697999996314934,
"avg_position_size": 1.3101132740587094e-13
}
],
"rows": 50,
"rows_before_limit_at_least": 1679,
"statistics": {
"elapsed": 0.478083693,
"rows_read": 1899202,
"bytes_read": 109477210
}
}
Funding Rate History by Coin
Hourly funding rates for top coins over 7 days.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT toStartOfHour(time) AS hour, coin, avg(toFloat64(funding_rate)) AS avg_funding_rate, count() AS payment_count, sum(toFloat64(funding_amount)) AS total_funding FROM hyperliquid_funding WHERE time > now() - INTERVAL 7 DAY AND coin IN ('BTC', 'ETH', 'SOL') GROUP BY hour, coin ORDER BY hour DESC, coin LIMIT 500",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "hour",
"type": "DateTime('UTC')"
}
],
"data": [
{
"hour": "2026-04-02 14:00:00",
"coin": "BTC",
"avg_funding_rate": -0.000007712100000001212,
"payment_count": 27362,
"total_funding": -0.00016900000029738266
}
],
"rows": 480,
"rows_before_limit_at_least": 480,
"statistics": {
"elapsed": 0.989426874,
"rows_read": 35919860,
"bytes_read": 1508558992
}
}
Infrastructure Queries
Monitor block production, transaction execution, and network-level activity.
Block Activity
Event counts per block for recent blocks.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT block_number, block_time, fills_count, orders_count, misc_events_count, book_diffs_count, twap_statuses_count, writer_actions_count FROM hyperliquid_blocks ORDER BY block_number DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "block_number",
"type": "UInt64"
}
],
"data": [
{
"block_number": 943554161,
"block_time": "2026-04-02 14:35:12.633440",
"fills_count": 0,
"orders_count": 0,
"misc_events_count": 0,
"book_diffs_count": 938,
"twap_statuses_count": 0,
"writer_actions_count": 0
}
],
"rows": 100,
"rows_before_limit_at_least": 100,
"statistics": {
"elapsed": 0.331056163,
"rows_read": 84058,
"bytes_read": 2072672
}
}
Recent Transactions
Latest L1 transactions with action types.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT block_time, round, tx_hash, user, action_type, is_success, error FROM hyperliquid_transactions ORDER BY round DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "block_time",
"type": "DateTime64(6, 'UTC')"
}
],
"data": [
{
"block_time": "2026-04-02 11:13:29.980780",
"round": 1235948152,
"tx_hash": "0xa2ce22f60f3d5bf8c5ba88dd676510138dd38dcaeb5a7948560c48ac7a5a400a",
"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
"action_type": "order",
"is_success": 1,
"error": null
}
],
"rows": 100,
"rows_before_limit_at_least": 10120,
"statistics": {
"elapsed": 5.95414221,
"rows_read": 13524254,
"bytes_read": 2084634902
}
}
Action Type Breakdown (24h)
Distribution of transaction types.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT action_type, count() AS tx_count, countIf(is_success = 1) AS success_count, countIf(is_success = 0) AS failed_count, round(countIf(is_success = 1) / count() * 100, 2) AS success_rate FROM hyperliquid_transactions WHERE block_time > now() - INTERVAL 24 HOUR GROUP BY action_type ORDER BY tx_count DESC",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "action_type",
"type": "LowCardinality(String)"
}
],
"data": [
{
"action_type": "order",
"tx_count": 335732028,
"success_count": 313646463,
"failed_count": 22085565,
"success_rate": 93.42
}
],
"rows": 58,
"rows_before_limit_at_least": 58,
"statistics": {
"elapsed": 1.023330583,
"rows_read": 530682211,
"bytes_read": 5306907458
}
}
Ledger Queries
Track asset transfers, deposits, withdrawals, and balance changes across accounts.
Recent Asset Transfers
Latest deposits, withdrawals, and internal transfers.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT time, transfer_type, user, destination, token, amount, usdc_amount, fee, tx_hash FROM hyperliquid_asset_transfers ORDER BY block_number DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "time",
"type": "DateTime64(6, 'UTC')"
}
],
"data": [
{
"time": "2026-04-02 14:37:34.608701",
"transfer_type": "send",
"user": "0x82cd5683ef2013c30915cd84c940f378ad782d4b",
"destination": "0x73860688e65a1e3308be5679c3a7912b405d166f",
"token": "USDC",
"amount": 3.125,
"usdc_amount": null,
"fee": 0,
"tx_hash": "0xae9db9ac1eb86136b01704383d85e80208730091b9bb8008526664feddbc3b21"
}
],
"rows": 100,
"rows_before_limit_at_least": 484,
"statistics": {
"elapsed": 0.267330045,
"rows_read": 165690,
"bytes_read": 38213961
}
}
Transfer Volume by Type (7d)
Aggregate transfer volumes grouped by type.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT transfer_type, count() AS transfer_count, sum(toFloat64(usdc_amount)) AS total_usdc, uniqExact(user) AS unique_users FROM hyperliquid_asset_transfers WHERE time > now() - INTERVAL 7 DAY GROUP BY transfer_type ORDER BY total_usdc DESC",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "transfer_type",
"type": "LowCardinality(String)"
}
],
"data": [
{
"transfer_type": "withdraw",
"transfer_count": 27359,
"total_usdc": 479717900.29241735,
"unique_users": 18708
}
],
"rows": 6,
"rows_before_limit_at_least": 6,
"statistics": {
"elapsed": 0.248622298,
"rows_read": 9370470,
"bytes_read": 93872979
}
}
Recent Ledger Updates
Raw ledger deltas (deposits, withdrawals, liquidations, etc.).
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT time, delta_type, user, usdc_amount, token, amount, destination, fee, hash FROM hyperliquid_ledger_updates ORDER BY block_number DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "time",
"type": "DateTime64(6, 'UTC')"
}
],
"data": [
{
"time": "2026-04-02 14:38:42.736459",
"delta_type": "accountClassTransfer",
"user": "0xf346d7118d40b6ea804b43fe7c8539eeb23dd377",
"usdc_amount": 2.76,
"token": null,
"amount": null,
"destination": null,
"fee": null,
"hash": "0xb2db9cd2b63591a4b45504383d89890204c600b85138b07656a4482575396b8f"
}
],
"rows": 100,
"rows_before_limit_at_least": 106,
"statistics": {
"elapsed": 0.196807126,
"rows_read": 128376,
"bytes_read": 29555275
}
}
Bridge Deposits & Withdrawals
L1 bridge activity from the latest ABCI snapshot.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT bridge_type, user, amount_wei, tx_hash, eth_block_number, event_time, snapshot_time FROM hyperliquid_bridge WHERE block_number = (SELECT max(block_number) FROM hyperliquid_bridge) ORDER BY toFloat64(amount_wei) DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "bridge_type",
"type": "LowCardinality(String)"
}
],
"data": [
{
"bridge_type": "deposit",
"user": "0x9d32884370875f2960d5cc4b95be26687d69aff5",
"amount_wei": 10000000000000,
"tx_hash": "0xde6efb62f32e0e3e19d329d3074792c11cab553d0d4d20b33b0185a0ea052c87",
"eth_block_number": 447560809,
"event_time": "2026-03-31T11:46:43.151693370",
"snapshot_time": "2026-04-02 14:30:19.000000"
}
],
"rows": 100,
"rows_before_limit_at_least": 58134,
"statistics": {
"elapsed": 0.460661164,
"rows_read": 58146,
"bytes_read": 8100302
}
}
Markets Queries
Access market configuration, current prices, funding rates, and open positions data.
Perpetual Markets
All perpetual markets with leverage and decimals.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT coin, market_index, sz_decimals, max_leverage, only_isolated FROM hyperliquid_perpetual_markets ORDER BY coin LIMIT 500",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "coin",
"type": "LowCardinality(String)"
}
],
"data": [
{
"coin": "0G",
"market_index": 210,
"sz_decimals": 0,
"max_leverage": 3,
"only_isolated": 0
}
],
"rows": 229,
"rows_before_limit_at_least": 229,
"statistics": {
"elapsed": 0.001658429,
"rows_read": 229,
"bytes_read": 4208
}
}
Spot Markets
All spot tokens with metadata.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT token_index, token, token_id, full_name, sz_decimals, wei_decimals, is_canonical, evm_contract FROM hyperliquid_spot_markets ORDER BY token_index LIMIT 500",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "token_index",
"type": "UInt16"
}
],
"data": [
{
"token_index": 0,
"token": "USDC",
"token_id": "0x6d1e7cde53ba9467b783cb7c530ce054",
"full_name": null,
"sz_decimals": 8,
"wei_decimals": 8,
"is_canonical": 1,
"evm_contract": "0x6b9e773128f453f5c2c60935ee2de2cbc5390a24"
}
],
"rows": 500,
"rows_before_limit_at_least": 500,
"statistics": {
"elapsed": 0.002235372,
"rows_read": 903,
"bytes_read": 86367
}
}
Market Context (Latest)
Current funding rates, open interest, and prices.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT coin, funding, open_interest, mark_px, oracle_px, mid_px, premium, day_ntl_vlm, prev_day_px FROM hyperliquid_perpetual_market_contexts WHERE polled_at > now() - INTERVAL 5 MINUTE ORDER BY toFloat64(day_ntl_vlm) DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "coin",
"type": "LowCardinality(String)"
}
],
"data": [
{
"coin": "BTC",
"funding": -0.0000087307,
"open_interest": 28121.8956999999,
"mark_px": 66819,
"oracle_px": 66887,
"mid_px": 66856,
"premium": -0.0004485176,
"day_ntl_vlm": 2867036350.5407243,
"prev_day_px": 68354
}
],
"rows": 100,
"rows_before_limit_at_least": 916,
"statistics": {
"elapsed": 0.004133074,
"rows_read": 7557,
"bytes_read": 1040797
}
}
Oracle Prices (All DEXes)
Mark and daily prices for all assets at the latest snapshot.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT clearinghouse, coin, mark_px, daily_px, snapshot_time FROM hyperliquid_oracle_prices WHERE block_number = (SELECT max(block_number) FROM hyperliquid_oracle_prices) ORDER BY clearinghouse, asset_idx",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "clearinghouse",
"type": "UInt8"
}
],
"data": [
{
"clearinghouse": 0,
"coin": "BTC",
"mark_px": "662690",
"daily_px": "681140",
"snapshot_time": "2026-04-02 14:30:19.000000"
}
],
"rows": 384,
"rows_before_limit_at_least": 384,
"statistics": {
"elapsed": 0.004016938,
"rows_read": 387,
"bytes_read": 19240
}
}
Largest Open Positions (All DEXes)
Top perp positions by entry notional across all 8 clearinghouses.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT user, clearinghouse, coin, size, entry_notional, margin, funding_alltime, snapshot_time FROM hyperliquid_clearinghouse_states WHERE block_number = (SELECT max(block_number) FROM hyperliquid_clearinghouse_states) AND toFloat64(size) != 0 ORDER BY abs(toFloat64(entry_notional)) DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "user",
"type": "FixedString(42)"
}
],
"data": [
{
"user": "0xa5b0edf6b55128e0ddae8e51ac538c3188401d41",
"clearinghouse": 0,
"coin": "ETH",
"size": 700006729,
"entry_notional": 150410827993161,
"margin": 55,
"funding_alltime": 1244698606827,
"snapshot_time": "2026-04-02 14:30:19.000000"
}
],
"rows": 100,
"rows_before_limit_at_least": 233687,
"statistics": {
"elapsed": 0.800346543,
"rows_read": 233701,
"bytes_read": 21554450
}
}
Portfolio & Positions Queries
Track user portfolios, positions, vault equity, sub-accounts, and agent authorizations.
Spot Balances for Address
Token balances from the latest ABCI snapshot (replace address).
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT token, token_idx, total, escrowed, snapshot_time FROM hyperliquid_spot_clearinghouse_states WHERE user = lower('0xYOUR_ADDRESS_HERE') AND block_number = (SELECT max(block_number) FROM hyperliquid_spot_clearinghouse_states) AND toFloat64(total) != 0 ORDER BY abs(toFloat64(total)) DESC",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "token",
"type": "LowCardinality(String)"
}
],
"data": [],
"rows": 0,
"rows_before_limit_at_least": 0,
"statistics": {
"elapsed": 0.778542534,
"rows_read": 26,
"bytes_read": 1040
}
}
Vault Depositor Equity
Top vault depositors by ownership fraction.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT vault_name, depositor, ownership_fraction, net_deposits, leader, leader_commission, snapshot_time FROM hyperliquid_vault_equities WHERE block_number = (SELECT max(block_number) FROM hyperliquid_vault_equities) ORDER BY toFloat64(ownership_fraction) DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "vault_name",
"type": "String"
}
],
"data": [
{
"vault_name": "Less Than Zero",
"depositor": "0x3540690b1d60e3e78eb01d51a4ceea482bd4e4eb",
"ownership_fraction": 1.0000000000003275,
"net_deposits": 88408429204,
"leader": "0x3540690b1d60e3e78eb01d51a4ceea482bd4e4eb",
"leader_commission": 0.1,
"snapshot_time": "2026-04-02 14:42:33.000000"
}
],
"rows": 100,
"rows_before_limit_at_least": 140522,
"statistics": {
"elapsed": 0.569249661,
"rows_read": 140538,
"bytes_read": 21398893
}
}
Sub-Account Mappings
Sub-account to master-account relationships.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT sub_account, master_account, name, snapshot_time FROM hyperliquid_sub_accounts WHERE master_account = lower('0xYOUR_ADDRESS_HERE') AND block_number = (SELECT max(block_number) FROM hyperliquid_sub_accounts) ORDER BY name",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "sub_account",
"type": "FixedString(42)"
},
{
"name": "master_account",
"type": "FixedString(42)"
},
{
"name": "name",
"type": "Nullable(String)"
},
{
"name": "snapshot_time",
"type": "DateTime64(6, 'UTC')"
}
],
"data": [],
"rows": 0,
"rows_before_limit_at_least": 0,
"statistics": {
"elapsed": 0.208091355,
"rows_read": 20,
"bytes_read": 800
}
}
Bot/Agent Lookups
Find which bot or app submitted trades for a user.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT agent, user, name, valid_until, snapshot_time FROM hyperliquid_agents WHERE user = lower('0xYOUR_ADDRESS_HERE') AND block_number = (SELECT max(block_number) FROM hyperliquid_agents) ORDER BY name",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "agent",
"type": "FixedString(42)"
},
{
"name": "user",
"type": "FixedString(42)"
},
{
"name": "name",
"type": "String"
},
{
"name": "valid_until",
"type": "String"
},
{
"name": "snapshot_time",
"type": "DateTime64(6, 'UTC')"
}
],
"data": [],
"rows": 0,
"rows_before_limit_at_least": 0,
"statistics": {
"elapsed": 1.429104982,
"rows_read": 30,
"bytes_read": 1200
}
}
Display Name Lookups
Resolve addresses to human-readable display names.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT user, display_name, snapshot_time FROM hyperliquid_display_names WHERE block_number = (SELECT max(block_number) FROM hyperliquid_display_names) ORDER BY display_name LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "user",
"type": "FixedString(42)"
}
],
"data": [
{
"user": "0x97853a9876c539740601578de767413019a1bfd7",
"display_name": "$500k -> $5M",
"snapshot_time": "2026-04-02 14:42:33.000000"
}
],
"rows": 100,
"rows_before_limit_at_least": 2161,
"statistics": {
"elapsed": 0.004191518,
"rows_read": 10809,
"bytes_read": 220981
}
}
Full Portfolio View
Unified portfolio across perps, spot, vaults, and staking (replace address).
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT 'perps' AS type, coin AS asset, toFloat64(size) AS amount, toFloat64(entry_notional) AS extra FROM hyperliquid_clearinghouse_states WHERE user = lower('0xYOUR_ADDRESS_HERE') AND block_number = (SELECT max(block_number) FROM hyperliquid_clearinghouse_states) AND toFloat64(size) != 0 UNION ALL SELECT 'spot', token, toFloat64(total), toFloat64(escrowed) FROM hyperliquid_spot_clearinghouse_states WHERE user = lower('0xYOUR_ADDRESS_HERE') AND block_number = (SELECT max(block_number) FROM hyperliquid_spot_clearinghouse_states) AND toFloat64(total) != 0 UNION ALL SELECT 'vault', vault_name, toFloat64(ownership_fraction) * 1000000, toFloat64(net_deposits) FROM hyperliquid_vault_equities WHERE depositor = lower('0xYOUR_ADDRESS_HERE') AND block_number = (SELECT max(block_number) FROM hyperliquid_vault_equities) UNION ALL SELECT 'delegation', validator, toFloat64(reward), toFloat64(commission_bps) FROM hyperliquid_delegator_rewards WHERE delegator = lower('0xYOUR_ADDRESS_HERE') AND block_number = (SELECT max(block_number) FROM hyperliquid_delegator_rewards)",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "type",
"type": "String"
}
],
"data": [],
"rows": 0,
"rows_before_limit_at_least": 0,
"statistics": {
"elapsed": 0.578220101,
"rows_read": 55411,
"bytes_read": 2327164
}
}
Delegator Rewards by Address
Pending delegation rewards for a specific address (replace address).
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT delegator, validator, reward, commission_bps, snapshot_time, block_number FROM hyperliquid_delegator_rewards WHERE delegator = lower('0xYOUR_ADDRESS_HERE') AND block_number = (SELECT max(block_number) FROM hyperliquid_delegator_rewards) ORDER BY toFloat64(reward) DESC",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "delegator",
"type": "FixedString(42)"
}
],
"data": [],
"rows": 0,
"rows_before_limit_at_least": 0,
"statistics": {
"elapsed": 0.006635673,
"rows_read": 55353,
"bytes_read": 2324844
}
}
Validator Commission History
Track commission rates over time for a validator.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT block_number, snapshot_time, commission_bps, count() AS delegator_count, sum(reward) AS total_pending_rewards FROM hyperliquid_delegator_rewards WHERE validator = lower('0xYOUR_VALIDATOR_HERE') GROUP BY block_number, snapshot_time, commission_bps ORDER BY block_number DESC LIMIT 50",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "block_number",
"type": "UInt64"
}
],
"data": [],
"rows": 0,
"rows_before_limit_at_least": 0,
"statistics": {
"elapsed": 0.590499696,
"rows_read": 10002172,
"bytes_read": 420100936
}
}
Builders Query
Query frontend application activity and builder fee distribution metrics.
Builder Activity (24h)
Builder (frontend) transaction volume.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT b.builder, l.builder_name, count() AS tx_count, sum(toFloat64(b.builder_fee)) AS total_fees, uniqExact(b.user) AS unique_users FROM hyperliquid_builder_transactions b LEFT JOIN hyperliquid_builder_labels l ON b.builder = l.builder_address WHERE b.block_time > now() - INTERVAL 24 HOUR GROUP BY b.builder, l.builder_name ORDER BY total_fees DESC LIMIT 50",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "builder",
"type": "String"
}
],
"data": [
{
"builder": "0x1924b8561eef20e70ede628a296175d358be80e5",
"builder_name": "",
"tx_count": 48094,
"total_fees": 29305.855998380048,
"unique_users": 1691
}
],
"rows": 50,
"rows_before_limit_at_least": 278,
"statistics": {
"elapsed": 0.194171892,
"rows_read": 951391,
"bytes_read": 76361419
}
}
Builder Fill Volume (24h)
Trading volume routed through builder apps (Phantom, Based, etc.).
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT builder_address, count() AS fills, sum(toFloat64(price) * toFloat64(size)) AS volume_usd, sum(toFloat64(builder_fee)) AS total_builder_fees, uniqExact(user) AS unique_users FROM hyperliquid_builder_fills WHERE block_time > now() - INTERVAL 24 HOUR GROUP BY builder_address ORDER BY volume_usd DESC LIMIT 50",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "builder_address",
"type": "Nullable(FixedString(42))"
}
],
"data": [
{
"builder_address": "0xb84168cf3be63c6b8dad05ff5d755e97432ff80b",
"fills": 55195,
"volume_usd": 141339420.055671,
"total_builder_fees": 70669.68466700001,
"unique_users": 4417
}
],
"rows": 50,
"rows_before_limit_at_least": 278,
"statistics": {
"elapsed": 0.495007795,
"rows_read": 1390102,
"bytes_read": 160073988
}
}
Analytics Queries
Access pre-aggregated analytics data for funding rates, liquidations, OHLCV, and platform-wide metrics.
Funding Rate Summary (Hourly)
Pre-aggregated hourly funding rates by coin.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT coin, hour, avg_funding_rate, total_funding, unique_users FROM hyperliquid_funding_summary_hourly WHERE hour > now() - INTERVAL 24 HOUR ORDER BY hour DESC, abs(toFloat64(avg_funding_rate)) DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "coin",
"type": "LowCardinality(String)"
}
],
"data": [
{
"coin": "REZ",
"hour": "2026-04-02 14:00:00",
"avg_funding_rate": -0.0039691826,
"total_funding": -0.00001,
"unique_users": 234
}
],
"rows": 100,
"rows_before_limit_at_least": 7413,
"statistics": {
"elapsed": 0.002733238,
"rows_read": 12067,
"bytes_read": 462982
}
}
Hourly Liquidation Stats
Pre-aggregated hourly liquidation counts and volume by coin.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT hour, coin, liquidation_count, liquidated_volume, unique_liquidated_users FROM hyperliquid_liquidations_hourly ORDER BY hour DESC, toFloat64(liquidated_volume) DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "hour",
"type": "DateTime"
}
],
"data": [
{
"hour": "2026-04-02 14:00:00",
"coin": "vntl:SEMIS",
"liquidation_count": 10,
"liquidated_volume": 162.00678703213836,
"unique_liquidated_users": 2
}
],
"rows": 100,
"rows_before_limit_at_least": 834,
"statistics": {
"elapsed": 0.004862589,
"rows_read": 81207,
"bytes_read": 3069577
}
}
Hourly OHLCV
Pre-aggregated hourly candlestick data per coin.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT coin, hour, volume, trade_count, high, low, open, close FROM hyperliquid_market_volume_hourly WHERE hour > now() - INTERVAL 24 HOUR AND coin = 'BTC' ORDER BY hour DESC",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "coin",
"type": "LowCardinality(String)"
}
],
"data": [
{
"coin": "BTC",
"hour": "2026-04-02 14:00:00",
"volume": 32.26484136219877,
"trade_count": 63,
"high": 66790,
"low": 66771,
"open": 66790,
"close": 66771
}
],
"rows": 27,
"rows_before_limit_at_least": 27,
"statistics": {
"elapsed": 0.004602843,
"rows_read": 8489,
"bytes_read": 805413
}
}
Daily Per-Coin Metrics
Volume, fills, traders, fees, and liquidations per coin per day.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT day, coin, volume_usd, fill_count, unique_traders, fees, liquidations, high_price, low_price FROM hyperliquid_metrics_dex_overview ORDER BY day DESC, volume_usd DESC LIMIT 100",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "day",
"type": "Date"
}
],
"data": [
{
"day": "2026-04-02",
"coin": "PEOPLE",
"volume_usd": 169.72156923975336,
"fill_count": 1579,
"unique_traders": 1399,
"fees": 11.555258,
"liquidations": 0,
"high_price": 7.176878,
"low_price": 7.176065
}
],
"rows": 100,
"rows_before_limit_at_least": 1175,
"statistics": {
"elapsed": 0.005491583,
"rows_read": 109908,
"bytes_read": 9888747
}
}
Platform Daily Overview
Platform-wide daily volume, fills, traders, and fees.
- リクエスト
- 回答
curl -X POST 'https://api.quicknode.com/sql/rest/v1/query' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"query": "SELECT day, total_volume_usd, total_fills, active_traders, total_fees, liquidation_count, liquidation_volume_usd, coins_traded, total_builder_fees, builder_fill_count FROM hyperliquid_metrics_overview ORDER BY day DESC LIMIT 30",
"clusterId": "hyperliquid-core-mainnet"
}'
{
"meta": [
{
"name": "day",
"type": "Date"
}
],
"data": [
{
"day": "2026-04-02",
"total_volume_usd": 115.36229420869988,
"total_fills": 1898,
"active_traders": 327,
"total_fees": 521.39143126,
"liquidation_count": 0,
"liquidation_volume_usd": 0,
"coins_traded": 95,
"total_builder_fees": 83.9536831,
"builder_fill_count": 159
}
],
"rows": 30,
"rows_before_limit_at_least": 37,
"statistics": {
"elapsed": 0.004047165,
"rows_read": 379,
"bytes_read": 37017
}
}
その他の参考資料
For more information on using the SQL Explorer REST API:
- REST API Overview - Learn about authentication, making requests, and response formats
- SQL Explorer Dashboard - Test queries before integrating them into your code
皆様からのフィードバックを心よりお待ちしております!❤️
このドキュメントについてご意見やご質問がございましたら、ぜひお知らせください。皆様からのご連絡を心よりお待ちしております!