Hyperliquid Perp Trade Token Data

Provides real-time perpetual contract data for tokens on the Hyperliquid exchange. It returns live market prices, liquidity metrics, funding rates, and technical indicators to assist trading analysis.

Endpoint

GET https://api.dapplooker.com/v1/hl-perp-trade

💡 Pro Tips

  • Use this endpoint to track real-time perp market data like price, funding rate, and open interest for any token on Hyperliquid.

  • Built-in indicators (RSI, OBV, ATR, MACD, VWAP) help with quick technical analysis and spotting momentum shifts.

  • 14-day OBV is great for gauging recent buy/sell pressure and confirming trend strength.

  • Great for comparing perps vs. spot trends to catch early trading signals.

  • This endpoint is x402 payment–enabled, opening access for all users — simply pay and use without needing an API key.

Authentication

This endpoint supports two authentication methods:

Method

Description

API Key

Provide your Loky API key using the api_key parameter for authenticated access.

x402 Payment Protocol

If api_key is not provided, the request automatically uses the x402 protocol for on-chain payment verification.

For seamless integration, user can follow the x402 Quickstart Guide for Buyers.

Query Parameters

Parameter name

Type

Mandatory

Description

api_key

string

No

Your unique API key used for authentication

token_ticker

string

Yes

Ticker symbol of the token (e.g., ETH)

Sample Request

Sample Response

Response Fields Explanation

  • symbol (string): Trading pair symbol for the perpetual contract (e.g., ETH/USDC:USDC).

  • base (string): The base token of the trading pair (e.g., ETH).

  • quote (string): The quote token of the trading pair (e.g., USDC).

  • mark_price (number): The latest fair value price used for liquidation and funding calculations.

  • mid_price (number): The mid-point between the current highest bid and lowest ask.

  • price_change_24h (number): Absolute price change over the last 24 hours.

  • price_change_percent_24h (number): Percentage price change over the last 24 hours.

  • bid_ask_spread (number): The difference between the highest bid and lowest ask.

  • bid_ask_spread_percentage_mark (number): Spread as a percentage of the mark price.

  • bid_liquidity_0_25_percentage (number): Total bid-side liquidity within ±0.25% of mark price.

  • ask_liquidity_0_25_percentage (number): Total ask-side liquidity within ±0.25% of mark price.

  • total_liquidity_0_25_percentage (number): Combined bid + ask liquidity within ±0.25% of mark price.

  • order_book_imbalance_percentage (number): Imbalance ratio between bid and ask liquidity.

  • open_interest (object): Current open positions in the contract.

    • usd_value (number): Total USD value of open interest.

    • change_percentage_1h / 6h / 24h (number): Percentage change in open interest over time.

  • funding_rate (object): Funding rate details for perpetuals.

    • current_value (number): Current funding rate.

    • next (number): Projected next funding rate.

    • trajectory (array): Forecast of upcoming funding rate values.

  • obv (object): On-balance volume values for 14 days.

    • 15m / 1h / 4h (number): OBV readings across multiple timeframes.

  • rsi (object): Relative Strength Index values.

    • 15m / 1h / 4h (number): RSI readings across multiple timeframes.

  • atr (object): Average True Range (volatility indicator).

    • 15m / 1h / 4h (number): ATR values for different timeframes.

    • percentage_15m / 1h / 4h (number): ATR expressed as percentage of price.

  • swing (object): Recent price swing points.

    • high_4h (number): Highest price in last 4 hours.

    • low_4h (number): Lowest price in last 4 hours.

  • adx (object): Average Directional Index values for trend strength.

    • 1h / 4h (number): ADX readings across timeframes.

  • macd_line_slope (object): MACD trend indicator data.

    • 15m / 1h / 4h (object): Includes macd_line, signal_line, and histogram.

  • vwap (object): Volume-Weighted Average Price across intervals (1m, 5m, 15m, 1h, 4h, 1d).

  • ema (object): Exponential Moving Average distances.

    • 20_distance_percentage / 200_distance_percentage (number): Price distance from EMA(20) and EMA(200).

  • bollinger (object): Bollinger Bands data.

    • band_width (number): Width between upper and lower bands.

    • upper_band / lower_band / middle_band (number): Bollinger Band levels.

Last updated

Was this helpful?