Get Aggregated Ticker Data
Market Data
Get Ticker Data
Retrieve mark price, 24h statistics, and funding data for a symbol across supported exchanges.
GET
Get Aggregated Ticker Data
Retrieve consolidated ticker information for Hyperliquid, Lighter, and Aster perpetual markets. The response includes the best available mark price (or proxy), 24-hour statistics, and funding data provided by each exchange.
Features
- Multi-exchange aggregation: Combines ticker data from Hyperliquid, Lighter, and Aster
- Real-time pricing: Mark price, last price, and 24-hour statistics
- Funding rates: Current funding rates and next funding times
- Exchange-specific endpoints: Query individual exchanges for debugging
Request
- Method:
GET - Endpoint:
/api/trading/ticker/{symbol} - Path Parameters:
symbol(required - e.g., BTC, ETH, SOL)
Response Example
Use Cases
- Cross-check mark prices across multiple exchanges
- Monitor funding rate discrepancies for arbitrage opportunities
- Display consolidated market data in trading dashboards
- Track 24-hour price changes and volume across venues
Exchange-Specific Endpoints
For debugging or latency testing, you can query each exchange directly:- Hyperliquid:
GET /api/trading/hyperliquid/ticker/{symbol} - Lighter:
GET /api/trading/lighter/ticker/{symbol} - Aster:
GET /api/trading/aster/ticker/{symbol}
success wrapper and per-exchange payload shape as shown in the aggregated example.
Authentication
- Aster requires HMAC-SHA256 credentials supplied via server environment variables (
ASTER_API_KEY,ASTER_API_SECRET). The API layer signs requests automatically. - Hyperliquid and Lighter routes do not require authentication for ticker data.
Response Fields
Common fields across all exchanges:markPrice— Most recent mark pricelastPrice— Most recent trade priceprevDayPrice— Price 24 hours agochange24h— 24-hour percentage changechange24hAbs— 24-hour absolute changevolume24h— Quote currency volumetimestamp— Unix epoch in milliseconds
- Hyperliquid:
fundingRate,openInterest - Lighter:
marketId,indexPrice,high24h,low24h,note - Aster:
asterSymbol,indexPrice,openPrice,high24h,low24h,fundingRate,nextFundingTime,volumeBase
Lighter’s mark price uses
last_trade_price as the calculated mark price is not exposed via API.Error Handling
- Unknown symbols return
success: falsewith an exchange-specific error message that includes a preview of available tickers - Missing Aster credentials trigger an authentication error; verify environment variables on the API server
- Individual exchange failures are isolated; other exchanges will still return data
Authorizations
Path Parameters
Asset symbol using uppercase format (e.g., BTC, ETH, SOL).
Example:
"BTC"
Response
Aggregated ticker data
Standard API response envelope for aggregated ticker requests.