[BETA] Wallet Explorer API
Get holdings of a wallet
GET
/
wallet
/
portfolio
Query
curl --request GET \
--url https://api.mobula.io/api/1/wallet/portfolio
{
"assets": [
{
"allocation": 123,
"asset": {},
"balance": 123,
"estimated_balance": 123,
"price": 123,
"price_bought": 123,
"roi": 123
}
]
}
Query Parameters
wallet
string
requiredThe user wallet queried
blockchains
string
Blockchains to fetch NFTs from (by default, all) - comma separated, chain ID or chain name
cache
boolean
Will use cached data if available
stale
number
amount of seconds after which the cache is considered stale (default 5min)
Response
200 - application/json
assets
object[]
Was this page helpful?
curl --request GET \
--url https://api.mobula.io/api/1/wallet/portfolio
{
"assets": [
{
"allocation": 123,
"asset": {},
"balance": 123,
"estimated_balance": 123,
"price": 123,
"price_bought": 123,
"roi": 123
}
]
}