GET /v1/strata/hl
#GET /v1/strata/hlgetStrataHyperliquid
Observed Hyperliquid liquidation prices (aggregated, never an address)
| Scope | strata:read |
|---|---|
| Lowest tier | sandbox |
| Weight (units) | 2 |
| SDK | Python client.strata.hyperliquid ยท JavaScript cd.strata.hyperliquid |
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
coin required | query | string | Coin ticker, upper case (BTC). |
sweeps | query | integer | Snapshots to combine, 1 to 48 (default 1). |
at | query | string | Compute as of a past time (unix seconds or RFC 3339) instead of now. |
Errors
400invalid_param, invalid_cursor401unauthorized: missing, unknown, revoked or expired key403insufficient_scope, tier_required404not_found, not_available, not_in_sandbox422window_too_large429rate_limited (per minute) or quota_exhausted (month; X-Quota-* headers, Retry-After = seconds to the next month); see Retry-After503api_disabled, overloaded
Example
curl "https://api.chartdeck.trade/v1/strata/hl?coin=BTC" \
-H "Authorization: Bearer $CHARTDECK_API_KEY"from chartdeck import Client
client = Client() # reads CHARTDECK_API_KEY
r = client.strata.hyperliquid(coin="BTC")
print(r.data, r.meta["attribution"])import { ChartDeck } from '@chartdeck/api';
const cd = new ChartDeck(); // reads CHARTDECK_API_KEY
const r = await cd.strata.hyperliquid({ coin: "BTC" });
console.log(r.data, r.meta.attribution);