본문으로 건너뛰기

index_price

Get aggregated index price data for an asset. Index prices are calculated across multiple exchanges and serve as a reference/benchmark price. Useful for fair value estimation and premium calculations.

Usage hints:

  • Use as reference price when comparing individual exchange prices
  • Combine with ticker to measure exchange-specific price deviation from index

REST endpoint

GET /api/v1/index-price — see REST reference.

Parameters

NameTypeRequiredDefaultDescriptionExample
assetstringyesAsset"..."
fromstringnonow - 1 monthSpecifies from (default: now - 1 month)"now - 1 month"
tostringnonowSpecifies to (default: now)"now"
intervalstringno5minterval (default: 5m)"5m"

Example invocation

JSON-RPC tools/call payload:

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "index_price",
"arguments": {
"asset": "...",
"from": "now - 1 month",
"to": "now",
"interval": "5m"
}
}
}