Mark and oracle price
get_mark_pricesWhat is funding on a Hyperliquid perp right now? The latest mark price, oracle price and current hourly funding rate of one perp, with the time of the reading. The funding rate is a fraction per hour (0.0000125 = 0.00125%); positive means longs pay shorts. For only the price use get_price, for funding history get_funding_rates, and for many markets at once get_markets_snapshot.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"market": "<market>"
},
"name": "get_mark_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | Market: BTC-PERP, xyz:NVDA-PERP, HYPE/USDC, or a Hyperliquid name (BTC, @107, xyz:NVDA) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Mark price samples | |
| notice | No | A note from the API: how a market name was read, why data starts later than asked, or a next step such as a free key | |
| pagination | No | Cursor pagination |