Getting 400 Bad request for GET /token/ERC20/{address}/price

Hi,

Nice to be able to GET price details via the Moralis Web3 API !

I use

  • chain = ETH
  • chain_name = mainnet
  • no subdomain

For (ex.) POLYGON it works fine, but not for all ERC20 contract addresses.

I get for these contract addresses, got via Coingecko, the 400 Bad Request error, with message: ā€œNo pools found, to calculate the priceā€ :
PAID => 0x1614f18fc94f47967a3fbe5ffcd46d4e7da3d787
FAMILY => 0x833e4c02c47b7e38f5b9a80b26eb07d23d1961f4

Why?

If i use the GET /token/ERC20/metadata/symbols with:

  • chain = ETH
  • chain_name = mainnet
  • no subdomain
  • symbols = PAID, FAMILY

then the same addresses as above used are returned, so tokens are known.

Hey @CasNWK

Error message "No pools found, to calculate the priceā€ means that there isnā€™t enough liquidity to calculate the price.

Message in uniswap:

Ok, thanksā€¦

About token lists: https://uniswap.org/blog/token-lists/ and https://tokenlists.org/

For PAID I can not imagine it is not an active token: it promotes many others and is ranked 534 at Coingecko . What determines to be listed at the active token list ?

Hi @CasNWK

For PAID I can not imagine it is not an active token: it promotes many others and is ranked 534 at Coingecko . What determines to be listed at the active token list ?

Moralis doesnā€™t include or exclude tokens from an ā€œactive token listā€. Screenshot above was from Uniswap when I tried to swap it.

PAID has a token in differrent blockchains. For example price on bsc PancakeSwap calculates withour problems: