# Get NBA Tops Account & Moments via SDK or API?

**URL:** <https://forum.flow.com/t/get-nba-tops-account-moments-via-sdk-or-api/3063>\
**Category:** ⚙️ Flow SDKs\
**Created:** [April 30, 2022, 1:49am UTC](https://forum.flow.com/t/get-nba-tops-account-moments-via-sdk-or-api/3063 "2022-04-30T01:49:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![laf](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@laf](https://forum.flow.com/u/laf)\
**Post date:** [April 30, 2022, 1:49am UTC](https://forum.flow.com/t/get-nba-tops-account-moments-via-sdk-or-api/3063/1 "2022-04-30T01:49:24Z")

</div>

From what I understand, I can currently use FCL to query the Tops Marketplace but how do I even find the NFT ID from a moment I already purchased?

I saw the GraphQL API ([TopShot Marketplace API](https://documenter.getpostman.com/view/7186182/TzJrBeRJ#3d6c97e1-0962-4a53-86b5-5032e0b00832)) but like, what is the values I put in for getUserMomentListings:

```auto
{
  "input": {
    "setID": 0,
    "playID": 0
  }
}

```

Thanks ahead!
