Get NFT token ID transactions and decode to get sale values

Using the Get NFT transfers by token ID endpoint just shows the initial mint and the transfers.

What’s the best way to get the log data for each transaction hash, and decode to find the transactions that were sales and get the sale value?

Making API requests for each Txn Hash would use up a ton of resources.

Hi @jins

Have you tried using the get-nft-trades endpoint? It returns the decoded data of NFT trades along with the trade amount.

No that doesn’t work. I need the decoded txns for single token Id’s. This endpoint also doesn’t cover every single marketplace and platform NFTs can be sold on. It’s easier to filter through all token txns.

I was using Covalent API but their polygon API stopped working a week ago.

Can you try using transaction verbose endpoint? It returns the decoded logs from the contract in case if the nft contract was verified on block explorer. If you can use the data from this endpoint then you dont have to call get nft transfers multiple time.


The endpoint says address should be of wallet address but contract address also works.