Get orders filtered for a specific collection

Hi,

I am trying to filter the orders for a specific collection.
I found we can filter with sell_metadata. I managed to filter by name. The below is working fine:
https://api.immutable.com/v3/orders?status=filled&sell_token_type=ERC721&sell_metadata={"name":["Ravix"]}

But when it comes to filter by collection, I have tried the below but it fails:
https://api.immutable.com/v3/orders?status=filled&sell_token_type=ERC721&sell_metadata={“collection”:{“name”:“Cross The Ages”}}

Any idea how to do that? or it’s just not possible?
Tks

I got the answer on discord. Using sell_token_address will achieve that with the address of the collection:
https://api.immutable.com/v3/orders?status=filled&sell_token_type=ERC721&sell_token_address=0xa04bcac09a3ca810796c9e3deee8fdc8c9807166

1 Like

Thanks for updating the thread @alexinode glad you found the solution.