Skip to main content
POST
perpSnapshotTimestamp | Hyperliquid Info API

Credit Cost

0 per call

Processing

Realtime
The Hyperliquid info endpoint with type: "perpSnapshotTimestamp" is used to check for a new all-positions perpSnapshots snapshot for free before downloading it.
Estimate your monthly cost for this API using the Pricing Calculator.
  • GoldRush-native. Clients that already poll a perpSnapshotTimestamp method get the same request and response.
  • 0 credits and no per-key rate limit, unlike perpSnapshots (250 credits, 5 calls per 10 minutes).
  • A new snapshot appears about every 12 minutes (every 10,000 HyperCore blocks).
Returns the snapshot_id and block time of the snapshot that perpSnapshots would serve right now. It costs nothing and returns a few bytes, so you can poll it every few seconds and spend a rate-limited perpSnapshots call only when a new snapshot exists.

Endpoint

Request

string
default:"perpSnapshotTimestamp"
required
Always "perpSnapshotTimestamp". Other fields are ignored.

Example

Response

string
Opaque id of the snapshot, YYYYMMDD_state_<block height> (UTC date of the block). Compare it for equality only: it changes exactly when the served snapshot changes.
int
Block time the snapshot was captured at, epoch seconds (not milliseconds). It equals the x-snapshot-timestamp header of perpSnapshots.

Errors

GoldRush runs several servers, and each loads new snapshots on its own. Two calls a few seconds apart can briefly report different ids, for up to about 15 seconds after a new snapshot lands.

perpSnapshots

fetch every open perp position on Hyperliquid, with entry and liquidation prices, for liquidation maps and whale trackers.

batchClearinghouseState

fetch perpetuals account state for up to 50 wallets in a single request.

clearinghouseState

fetch a single user’s perpetuals account state by wallet address.

liquidatable

list accounts currently eligible for liquidation.
See all Hyperliquid endpoints: Overview hub · Info API reference Served by the GoldRush Hyperliquid API: a drop-in replacement for the public /info and /ws APIs at hypercore.goldrushdata.com, with no rate limits and every fill, order, trade, funding and ledger event retained from the start of HyperCore coverage.