Skip to content

Get Holdings Summary

GET
/api/v1/wallets/{address}/holdings/summary
curl --request GET \
--url https://api.qeychain.xyz/api/v1/wallets/example/holdings/summary

Get portfolio summary with aggregates and breakdowns.

Returns total_value, total_cost_basis, total_unrealized_gl, breakdown by chain, and risk metrics placeholder for QScore integration.

Response Format:

{
  "success": true,
  "data": {
    "total_value": "50000.00",
    "total_cost_basis": "35000.00",
    "total_unrealized_gl": "15000.00",
    "chains": [...],
    "top_holdings": [...],
    "risk_metrics": null
  },
  "meta": {...}
}
address
required
Address
string
owned_wallets
Any of:
Array<string>

Successful Response

Media typeapplication/json
Response Get Holdings Summary Api V1 Wallets Address Holdings Summary Get
object
key
additional properties
any
Examplegenerated
{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}