Skip to main content
Version: 2.2

Get wallet net worth

Don't have an API key yet?

Start using this API for your project today.

Get your free API key
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
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.wallets.getWalletNetWorth({
"excludeSpam": true,
"excludeUnverifiedContracts": true,
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
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"
}
]
}