<p>Using Blockfrost you could check for all <em>&quot;assets of the given policy&quot;</em> using this endpoint:</p>
<pre><code>/assets/policy/{policy_id}
</code></pre>
<p><em>(<a href="https://docs.blockfrost.io/#tag/Cardano-Assets/paths/%7E1assets%7E1policy%7E1%7Bpolicy_id%7D/get" rel="nofollow noreferrer">https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1policy~1{policy_id}/get</a>)</em></p>
<p>and then for each asset you can get the holder through this endpoint:</p>
<pre><code>/assets/{asset}/addresses
</code></pre>
<p><em>(<a href="https://docs.blockfrost.io/#tag/Cardano-Assets/paths/%7E1assets%7E1%7Basset%7D%7E1addresses/get" rel="nofollow noreferrer">https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1addresses/get</a>)</em></p>

CC BY-SA 4.0
2022-04-07T19:56:23.083Z
thank you mate, that was the combination of requests i had on my mind and understanding.  - we were looking for direct only one request for only one policy for all the assets once.
TTS17
CC BY-SA 4.0
2022-04-07T17:04:04.377Z
2022-04-07T17:04:04.377Z
sean
<p>A of time of posting available services of <code>blockfrost</code> and <code>koios</code> require you to query combination of multiple endpoints. So therefore for more advanced/specific usage you probably best of querying <code>cardano-db-sync</code> instance your self.</p>
<p>As example you take a look at <a href="https://github.com/cardano-community/guild-operators/blob/master/files/grest/rpc/assets/asset_address_list.sql" rel="nofollow noreferrer">asset_address_list.sql</a> at <a href="https://github.com/cardano-community/guild-operators" rel="nofollow noreferrer">github.com/cardano-community/guild-operators</a> repo how to build your query.</p>

CC BY-SA 4.0
2022-05-18T23:22:40.623Z
2022-05-18T23:22:40.623Z
mkungla
<p>I have a policy ID with hundreds of NFT with different asset name (for eg TTS19, TTS20, etc)</p>
<p>what is the easiest way to find all addresses/wallets which have this NFT(holders)?
I tried with koios and blockfrost but since all nft have a different unique hex asset name I can't show all addresses.</p>
<p>thank you in advanced,
TTS17
theTokenSquare</p>

<cardano-cli><api><blockfrost>
find holders from same policy but different asset name
# find holders from same policy but different asset name

(Asked by: username_0 on 2022-04-07)

I have a policy ID with hundreds of NFT with different asset name (for eg TTS19, TTS20, etc)

what is the easiest way to find all addresses/wallets which have this NFT(holders)?
I tried with koios and blockfrost but since all nft have a different unique hex asset name I can't show all addresses.

thank you in advanced,
TTS17
theTokenSquare

**Tags:** cardano-cli, api, blockfrost

---

## 2 answers

### Answer by username_1 on 2022-04-07. Score: 2 | Accepted answer

Using Blockfrost you could check for all "assets of the given policy" using this endpoint:
/assets/policy/{policy_id}

(https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1policy~1{policy_id}/get)
and then for each asset you can get the holder through this endpoint:
/assets/{asset}/addresses

(https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1addresses/get)

> **Comments:**
> **username_0**: thank you mate, that was the combination of requests i had on my mind and understanding.  - we were looking for direct only one request for only one policy for all the assets once.  

---

### Answer by username_2 on 2022-05-18. Score: 2

A of time of posting available services of `blockfrost` and `koios` require you to query combination of multiple endpoints. So therefore for more advanced/specific usage you probably best of querying `cardano-db-sync` instance your self.

As example you take a look at [asset\_address\_list.sql](https://github.com/cardano-community/guild-operators/blob/master/files/grest/rpc/assets/asset_address_list.sql) at [github.com/cardano-community/guild-operators](https://github.com/cardano-community/guild-operators) repo how to build your query.


---

