Read NbaTopShot account collection

Hello to the whole community. I wanted to know which is the easiest way to read the moments in the collection of an NBA Top Shot account and if there is any direct example with code already written. Thanks in advance for your contribution!

Hi garraf,

at DIAdata, we are sourcing the Topshot data. Not sure if that helps, but you can have a look at the underlying scraper code (Go) here:

The scraper is syncing at the moment and some of the data is already exposed at this endpoint:
https://api.diadata.org/v1/NFT/Flow/0x0b2a3299cc857e29/489470
with the structure:
https://api.diadata.org/v1/NFT/:Blockchain/:NFTAddress/:nftID

As of now, you cannot query by the NFT’s attributes. However, we are planning to implement this functionality in our graphQL endpoint. Also in the pipeline is sourcing of Topshot trading data.

If there is something else you are looking for, feel free to discuss in our Discord:

Best,
Philipp