get_price
Fetches the current price of one coin on Hyperliquid perpetuals in USDC, including mark or order-book mid price, 24h change percentage, and 24h notional volume.
Instructions
Use when the user asks the current price of one coin. Returns the mark price (or order-book mid with price_type=mid) on Hyperliquid perpetuals in USDC, 24h change % and 24h notional volume; high/low are null. For several coins use get_prices. Ex: symbol=ETH Costs $0.005 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_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | BTC | |
| price_type | No | mark |