Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key

Get wallet net worth

GEThttps://deep-index.moralis.io/api/v2.2/wallets/:address/net-worth

Get the net worth of a wallet in USD. We recommend to filter out spam tokens and unverified contracts to get a more accurate result.

Note

We recommend to filter out spam tokens and unverified contracts to get a more accurate result.
Endpoint only works on the Mainnet chains.

PATH PARAMS
addressstringrequired
The wallet address
QUERY PARAMS
chainsarray
The chains to query.
No items in the array
exclude_spamboolean
Exclude spam tokens from the result
exclude_unverified_contractsboolean
Exclude unverified contracts from the result
max_token_inactivitynumber
Exclude tokens inactive for more than the given amount of days
min_pair_side_liquidity_usdnumber
Exclude tokens with liquidity less than the specified amount in USD. This parameter refers to the liquidity on a single side of the pair.
Responses
200Returns the net worth and chain balance data.
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://deep-index.moralis.io/api/v2.2/wallets/0x1f9090aaE28b8a3dCeaDf281B0F12828e676c326/net-worth?exclude_spam=true&exclude_unverified_contracts=true&max_token_inactivity=1&min_pair_side_liquidity_usd=1000' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
{
"total_networth_usd": "3879851.41",
"chains": [
{
"chain": "eth",
"native_balance": "1085513807021271641379",
"native_balance_formatted": "1085.513807021271641379",
"native_balance_usd": "3158392.48",
"token_balance_usd": "721458.93",
"networth_usd": "3879851.41"
}
]
}