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
// Dependencies to install:
// $ npm install node-fetch --save
// add "type": "module" to package.json

import fetch from 'node-fetch';

const options = {
method: 'GET',
headers: {
accept: 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
};

fetch('https://deep-index.moralis.io/api/v2.2/wallets/0xd8da6bf26964af9d7eed9e03e53415d37aa96045/net-worth?exclude_spam=true&exclude_unverified_contracts=true', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
Empty