Skip to main content
GET
/
user
/
{principal}
/
stats
cURL
curl --request GET \
  --url https://api.odin.fun/v1/user/{principal}/stats \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "total_asset_value": 123,
    "total_liquidity": 123,
    "btc": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

principal
string
required

Response

default - application/json

User Stats

data
object