Platform on which nft traded?


we can get all trades for given contract id.
What we need for each trade, is there any option to know on which platform trade happened (opensea, rarrible etc)?


You can use getnfttrades API to get the NFT trades of a contract. Currently, it supports opensea marketplace.

Check this doc for more details