Actions33
- Order Actions
- Position Actions
- Account Actions
- Market Data Actions
Market Data → Get Asset Price
AI-generatedSummary
Fetches the mid price for one HIP-3 asset from the DEX configured in the required credentials. The node formats the symbol with that DEX name and returns the price, or null if no price is present.
Inputs
- Asset Symbol — Asset symbol without a DEX prefix (default
XYZ100). The node adds the DEX name from credentials automatically. - Credentials (required) — Hyperliquid HIP-3 credentials, including a valid private key, network, and DEX name.
Output shape
One item per input item, each containing a JSON object with dex, asset, and price fields.
assetis returned as the DEX-prefixed symbol (for example,xyz:XYZ100).priceis the mid-price value from the DEX’s all-mids response, ornullif that symbol has no entry. The node fetches DEX metadata before processing input items.