Get price of the token. Bad request but used to work

hey there i am getting a bad request when using the moralis api. 1 week ago it worked all fine and i didnt change a single line of code.

this.requestOptions.headers["X-API-KEY"] = MoralisAPI;
        const result = await fetch(`https://deep-index.moralis.io/api/v2/erc20/${contract}/price`, requestOptions)
        .then(resp => resp.json());


https://deep-index.moralis.io/api/v2/erc20/0xdac17f958d2ee523a2206206994597c13d831ec7/price
[HTTP/2 400 Bad Request 684ms]

Object { message: "No pools found with enough liquidity, to calculate the price" }

I’ll have to check later

please I need it really quick. My page doesnt work without this

my site is completely down because of this. My customers are messaging me all the time

When is the last time that it worked?

it worked 2 days ago

https://deep-index.moralis.io/api/v2/erc20/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/price It doesnt work anymore. I get bad request eventhough its correct. Check yourself please

please I really need it

I’m not at computer right now.

I tested it here https://admin.moralis.io/web3apis.

Same error

seems to be on your guys end. Please fix this problem

It doesn’t work with any address now?
It looks like you posted 2 addresses by now

it doesnt work with usdt and usdc. It doesnt work with any i provided and it used to work with any valid erc20 address

please fix this asap. My whole site is down rn

We will have to investigate

Im getting the same error. Fix this !!! My dapp is crashed

we are working on fixing it now

@impare, @Nftmaster3434, it is fixed now

1 Like