Get Risk Stats
GEThttps://api.gemini.com/v1/riskstats/{symbol}
Retrieves risk statistics for a perpetuals trading pair, including mark price, index price, open interest, and notional open interest.
GETv1/riskstats/BTCGUSDPERP
curl --request GET \
--url https://api.gemini.com/v1/riskstats/BTCGUSDPERP
Path Parameters
symbolstring·required
Perps Trading pair symbol BTCGUSDPERP, etc. See symbols and minimums.Responses
The response will be an json object
product_typestring·enum
Contract type for which the symbol data is fetchedEnum values: PerpetualSwapContractmark_pricestring (decimal)
Current mark price at the time of requestindex_pricestring (decimal)
Current index price at the time of requestopen_intereststring (decimal)
string representation of decimal value of open interestopen_interest_notionalstring (decimal)
string representation of decimal value of open interest notional{
"product_type": "PerpetualSwapContract",
"mark_price": "30080.00",
"index_price": "30079.046",
"open_interest": "14.439",
"open_interest_notional": "434325.12"
}