Throughput limit of getWalletTokenBalances

What is weight of the getWalletTokenBalances endpoint? I’ve used https://docs.moralis.io/web3-data-api/reference/endpoint-weights but getWalletTokenBalances isn’t there. I am asking because I need to get on multiple addresses at once but I am getting 429 error (free tier)

https://deep-index.moralis.io/api/v2/:address/erc20

=>

  {
    "endpoint": "getTokenBalances",
    "path": "/{address}/erc20",
    "price": 5,
    "rateLimitCost": 5
  },
https://deep-index.moralis.io/api/v2/wallets/balances

=>

  {
    "endpoint": "getNativeBalancesForAddresses",
    "path": "/wallets/balances",
    "price": 1,
    "rateLimitCost": 1,
    "dynamic": true,
    "detailedInfo": "docs.moralis.io/pricing/getNativeBalancesForAddresses"
  },

I’ll get back with more info about the rate limit for that endpoint

@Wyaw,

The CU cost is 1:1 with wallets (1 wallet = 1 CU, 20 wallets = 20 CUs), and there is a max of 25 wallets per request.

Thanks for the quick answer. I am bit confused by first 2 posts getTokenBalances and getNativeBalancesForAddresses are different endpoints, how are they relevant here?

I will ask differently lets say I want to get Token balances for 5 wallets for 3 different contracts. What would be the cost?

Can you point me to a link in documentation so that I know exactly on what endpoint you are referring?

this is the same endpoint as

https://deep-index.moralis.io/api/v2/:address/erc20

is just that the exact name is not the same, you can look at the HTTP request in order to match the endpoint with what it returned as endpoint weights

Got it thanks, so for free tier that means max 5 calls per second? So I can get token balances for 5 addresses at max per second.

yes, that is the limitation that you have for a free account

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.