get_prices
Fetch USDC mark or mid prices, 24h change, and 24h volume for up to 20 crypto symbols on Hyperliquid perpetuals; use for portfolios or single coins, unknown symbols are skipped.
Instructions
Use when the user asks the prices of several coins or a portfolio. Returns, keyed by symbol (max 20), the mark or mid price on Hyperliquid perpetuals in USDC, 24h change % and 24h notional volume; unknown symbols are skipped. Works with one symbol too. Ex: symbols=BTC,ETH,SOL Costs $0.003 USDC per call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | No | BTC,ETH | |
| price_type | No | mark |