Sometimes networth api does not work correctly

check this address 0xa6f75e283105fed7b1dc941d59df47c45831cd51 in the networth api because is giving wrong data {
“total_networth_usd”: “5688516166649427345902.20”,
“chains”: [
{
“chain”: “eth”,
“native_balance”: “940119703518424484”,
“native_balance_formatted”: “0.940119703518424484”,
“native_balance_usd”: “2419.93”,
“token_balance_usd”: “5688516166649427343482.27”,
“networth_usd”: “5688516166649427345902.20”
}
]
} networth api: https://docs.moralis.com/web3-data-api/evm/reference/wallet-api/get-wallet-net-worth?address=0xa6f75e283105fed7b1dc941d59df47c45831cd51&chains=[]&exclude_spam=true&exclude_unverified_contracts=true

Hi @golfredo, can you please confirm which part is wrong on the response?

1 Like

if you check the response says 5688516166649427345902.20 that amount does not have sense! and is very different if i check the same address in zapper https://zapper.xyz/es/account/0xa6f75e283105fed7b1dc941d59df47c45831cd51

hi! i need help the api respond with wrong data for some address check the response “total_networth_usd”: “5688516166649427345902.20”

Hi @golfredo

Thanks for the details
We have reported the issue to our devs. We will let you know once the issue is resolved🙏

1 Like

many thanks for support!

i also found that the PNL api also dont work for some address take a look of this address 0xb0cb846a6f7dcbd450a110e549c7d47445eee7a2 the response is total_realized_profit_usd : 74860927754.19098 (74 Billions! ){
“total_count_of_trades”: 22,
“total_trade_volume”: “149721861795.44925”,
“total_realized_profit_usd”: “74860927754.19098”,
“total_realized_profit_percentage”: 6793283503.125036,
“total_buys”: 16,
“total_sells”: 6,
“total_sold_volume_usd”: “74860928856.17542”,
“total_bought_volume_usd”: “74860932939.27385”
} this api https://docs.moralis.com/web3-data-api/evm/reference/wallet-api/get-wallet-profitability-summary?address=0xb0cb846a6f7dcbd450a110e549c7d47445eee7a2&chain=eth

1 Like

i also found that the PNL api also dont work for some address take a look of this address 0xb0cb846a6f7dcbd450a110e549c7d47445eee7a2 the response is total_realized_profit_usd : 74860927754.19098 (74 Billions! ){
“total_count_of_trades”: 22,
“total_trade_volume”: “149721861795.44925”,
“total_realized_profit_usd”: “74860927754.19098”,
“total_realized_profit_percentage”: 6793283503.125036,
“total_buys”: 16,
“total_sells”: 6,
“total_sold_volume_usd”: “74860928856.17542”,
“total_bought_volume_usd”: “74860932939.27385”
} this api https://docs.moralis.com/web3-data-api/evm/reference/wallet-api/get-wallet-profitability-summary?address=0xb0cb846a6f7dcbd450a110e549c7d47445eee7a2&chain=eth

1 Like

any update ? i need to finish a project

Hi @golfredo we dont have an update from the team yet. Will update you here once the fix is live.:pray:

2 Likes

hello! there is any update ?

I am just a Moralis customer and am not with Moralis. I use this endpoint and tested with my own software and with the URL you provided.

Perhaps this issue is only with the Moralis “test API” page:

I noticed that when you click the link provided in your first post, the api returns the wrong information. When I click the blue “Test Live API” with my API key in it, it always returns the correct information.

If you hit “reload or refresh” on your browser, it reads from the URL and again returns the wrong info.

btw, I use the endpoint like this, because I like to get individual net worths on each chain to display:

https://deep-index.moralis.io/api/v2.2/wallets/{address}/net-worth?chains[0]=eth&chains[1]=polygon&chains[2]=bsc&chains[3]=avalanche&chains[4]=fantom&chains[5]=palm&chains[6]=cronos&chains[7]=arbitrum&chains[8]=gnosis&chains[9]=chiliz&chains[10]=base&chains[11]=optimism&chains[12]=linea&exclude_spam=true&exclude_unverified_contracts=true

Hi @clarkrickman2

The docs page initially shows the example API response on the page until we click on the “Test Live API” button. So the initial data which you see on page load is only a dummy example data.

1 Like

hello john you know if the problem was fixed about PNL and ROI?

the fix is still pending