Info
Read-only request-response client.
http
Source code in pkg/src/hyperliquid/info/core.py
ws_of
ws
Source code in pkg/src/hyperliquid/info/core.py
aligned_quote_token_info
Return aligned quote token status for a token index.
token: Token index.
Source code in pkg/src/hyperliquid/info/methods/aligned_quote_token_info.py
all_borrow_lend_reserve_states
Return all borrow/lend reserve states.
Source code in pkg/src/hyperliquid/info/methods/all_borrow_lend_reserve_states.py
all_mids
Return mids for all coins.
dex: Perp dex name. Defaults to the empty string which represents the first perp dex.
Source code in pkg/src/hyperliquid/info/methods/all_mids.py
borrow_lend_reserve_state
Return borrow/lend reserve state for a token index.
token: Token index.
Source code in pkg/src/hyperliquid/info/methods/borrow_lend_reserve_state.py
borrow_lend_user_state
Return borrow/lend user state.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/borrow_lend_user_state.py
builder_fee_approved
Return the max builder fee approved.
user: Account address.builder: Builder address.
Source code in pkg/src/hyperliquid/info/methods/builder_fee_approved.py
candle_snapshot
Return a candle snapshot.
coin: Asset being queried.interval: Time interval of the candles.start_time: Timestamp of the first candle in the snapshot (epoch ms).end_time: Timestamp of the last candle in the snapshot (epoch ms).
Source code in pkg/src/hyperliquid/info/methods/candle_snapshot.py
frontend_open_orders
Return open orders with additional frontend info.
user: Account address.dex: Perp dex name. Defaults to the empty string which represents the first perp dex.
Source code in pkg/src/hyperliquid/info/methods/frontend_open_orders.py
l2_book
Return an L2 book snapshot.
coin: fromspot_meta['universe'][idx]['name']orperp_meta['universe'][idx]['name']. See the docs for full details.n_sig_figs: Aggregate levels to significant figures.mantissa: Only allowed whenn_sig_figsis 5.
Source code in pkg/src/hyperliquid/info/methods/l2_book.py
open_orders
Return a user's open orders.
user: Account address.dex: Perp dex name. Defaults to the empty string which represents the first perp dex.
Source code in pkg/src/hyperliquid/info/methods/open_orders.py
order_status
Return order status by order id or client order id.
user: Account address.oid: Order id or 16-byte client order id hex string.
Source code in pkg/src/hyperliquid/info/methods/order_status.py
staking_delegations
Return a user's staking delegations.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/staking_delegations.py
staking_history
Return a user's staking history.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/staking_history.py
staking_rewards
Return a user's staking rewards.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/staking_rewards.py
staking_summary
Return a user's staking summary.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/staking_summary.py
sub_accounts
Return a user's subaccounts.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/sub_accounts.py
user_abstraction
Return a user's abstraction state.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_abstraction.py
user_dex_abstraction
Return a user's HIP-3 DEX abstraction state.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_dex_abstraction.py
user_fees
Return a user's fee schedule and rates.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_fees.py
user_fills
Return a user's most recent fills.
user: Account address.aggregate_by_time: Aggregate partial fills in the same block.
Source code in pkg/src/hyperliquid/info/methods/user_fills.py
user_fills_by_time
Return a user's fills within a time range.
user: Account address.start_time: Start time in milliseconds, inclusive.end_time: End time in milliseconds, inclusive.aggregate_by_time: Aggregate partial fills in the same block.
Source code in pkg/src/hyperliquid/info/methods/user_fills_by_time.py
user_fills_by_time_paged
Return a user's fills within a time range, automatically paginating the results.
user: Account address.start_time: Start time in milliseconds, inclusive.end_time: End time in milliseconds, inclusive.aggregate_by_time: Aggregate partial fills in the same block.
Source code in pkg/src/hyperliquid/info/methods/user_fills_by_time.py
user_historical_orders
Return a user's historical orders.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_historical_orders.py
user_portfolio
Return a user's portfolio.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_portfolio.py
user_rate_limit
Return rate limit info for a user.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_rate_limit.py
user_referral
Return a user's referral information.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_referral.py
user_role
Return a user's role.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_role.py
user_twap_slice_fills
Return a user's TWAP slice fills.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_twap_slice_fills.py
user_vault_equities
Return a user's vault equities.
user: Account address.
Source code in pkg/src/hyperliquid/info/methods/user_vault_equities.py
vault_details
Return details for a vault.
vault_address: Vault address.user: Account address.
Source code in pkg/src/hyperliquid/info/methods/vault_details.py
active_asset_data
Return user's active asset data.
user: Account address.coin: Coin, e.g. "ETH".
Source code in pkg/src/hyperliquid/info/perps/active_asset_data.py
all_perp_metas
Return all perpetuals metadata and asset contexts.
Source code in pkg/src/hyperliquid/info/perps/all_perp_metas.py
clearinghouse_state
Return a user's perpetuals account summary.
user: Account address.dex: Perp dex name. Defaults to the empty string which represents the first perp dex.
Source code in pkg/src/hyperliquid/info/perps/clearinghouse_state.py
funding_history
Return historical funding rates, at most 500 entries. Use funding_history_paged for more.
coin: Coin, e.g. "ETH".start_time: Start time in milliseconds, inclusive.end_time: End time in milliseconds, inclusive.
Source code in pkg/src/hyperliquid/info/perps/funding_history.py
funding_history_paged
Return historical funding rates, automatically paginating the results.
coin: Coin, e.g. "ETH".start_time: Start time in milliseconds, inclusive.end_time: End time in milliseconds, inclusive.
Source code in pkg/src/hyperliquid/info/perps/funding_history.py
perp_annotation
Return perp annotation for a coin.
coin: Coin name, e.g. "BTC".
Source code in pkg/src/hyperliquid/info/perps/perp_annotation.py
perp_categories
Return perp categories.
Source code in pkg/src/hyperliquid/info/perps/perp_categories.py
perp_deploy_auction_status
Return perp deploy auction status.
Source code in pkg/src/hyperliquid/info/perps/perp_deploy_auction_status.py
perp_dex_limits
Return builder-deployed perp market limits.
dex: Perp dex name (empty string not allowed).
Source code in pkg/src/hyperliquid/info/perps/perp_dex_limits.py
perp_dex_status
Return perp dex status.
dex: Perp dex name. The empty string represents the first perp dex.
Source code in pkg/src/hyperliquid/info/perps/perp_dex_status.py
perp_dexs
Return all perp dexes.
Source code in pkg/src/hyperliquid/info/perps/perp_dexs.py
perp_meta
Return perpetuals metadata (universe and margin tables).
dex: Perp dex name. Defaults to the empty string which represents the first perp dex.
Source code in pkg/src/hyperliquid/info/perps/perp_meta.py
perp_meta_and_asset_ctxs
Return perpetuals metadata and asset contexts.
dex: Perp dex name. Defaults to the empty string which represents the first perp dex.
Source code in pkg/src/hyperliquid/info/perps/perp_meta_and_asset_ctxs.py
perps_at_open_interest_cap
Return perps at open interest caps.
dex: Perp dex name. Defaults to the empty string which represents the first perp dex.
Source code in pkg/src/hyperliquid/info/perps/perps_at_open_interest_cap.py
predicted_fundings
Return predicted funding rates for different venues.
Source code in pkg/src/hyperliquid/info/perps/predicted_fundings.py
user_funding
Return a user's funding history.
user: Account address.start_time: Start time in milliseconds, inclusive.end_time: End time in milliseconds, inclusive.
Source code in pkg/src/hyperliquid/info/perps/user_funding.py
user_funding_paged
Return a user's funding history, automatically paginating the results.
user: Account address.start_time: Start time in milliseconds, inclusive.end_time: End time in milliseconds, inclusive.
Source code in pkg/src/hyperliquid/info/perps/user_funding.py
user_non_funding_ledger_updates
Return a user's non-funding ledger updates.
user: Account address.start_time: Start time in milliseconds, inclusive.end_time: End time in milliseconds, inclusive.
Source code in pkg/src/hyperliquid/info/perps/user_non_funding_ledger_updates.py
spot_clearinghouse_state
Return a user's spot token balances.
user: Account address.
Source code in pkg/src/hyperliquid/info/spot/spot_clearinghouse_state.py
spot_deploy_state
Return spot deploy auction status.
user: Account address.
Source code in pkg/src/hyperliquid/info/spot/spot_deploy_state.py
spot_meta
Return spot universe and token metadata.
Source code in pkg/src/hyperliquid/info/spot/spot_meta.py
spot_meta_and_asset_ctxs
Return spot metadata and asset contexts.
Source code in pkg/src/hyperliquid/info/spot/spot_meta_and_asset_ctxs.py
spot_pair_deploy_auction_status
Return spot pair deploy auction status.
Source code in pkg/src/hyperliquid/info/spot/spot_pair_deploy_auction_status.py
token_details
Return token details.
token_id: Onchain token id.