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
Version: 2.2

Get wallet stats

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

Get the stats for a wallet address.

PATH PARAMS
addressstringrequired
Wallet address
QUERY PARAMS
chainstring
The chain to query
Responses
API KEY
import Moralis from 'moralis';

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

const response = await Moralis.EvmApi.wallets.getWalletStats({
"chain": "0x1",
"address": "0x1f9090aaE28b8a3dCeaDf281B0F12828e676c326"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"nfts": "100",
"collections": "10",
"transactions": {
"total": "1000"
},
"nft_transfers": {
"total": "1000"
},
"token_transfers": {
"total": "1000"
}
}