These docs are for v1.7. Click to read the latest docs for v2.1.

Count Distributed Digital Passports by Tags

Count how many digital passports have been distributed for one or several tags.

๐Ÿš€

Please refer to our new API feature which allows you to include more parameters in your count!

Before you begin

As a brand, say you wish to know how many digital passports are minted and owned by your customers for one or several tags.

โš ๏ธ

This API returns only the digital passports that are no longer owned by the NFT Management Platform.

Let's start ๐Ÿš€

Use the certificate/getCountOfSmartAssetsIdByTags with the following parameters.

๐Ÿ“Œ

NFT Management Platform user rights required to call this API โ†’ certRead

{
    "tags": ["kittenhoodie"],
    "tagRule": "and",
    "uniqueOwner": true
}
InputMandatoryTypeDescription
tagsโœ…StringTag of the digital passport to count.
tagRuleโŒand, orIf you search for one tag, leave the parameter empty.
uniqueOwnerโœ…BooleanThe digital passport has had one unique owner since its creation.

Result: The distributed digital passports count is returned.

โš ๏ธ

If incorrect tags, the count is defined as 0.

{
    "result": {
        "count": 2
    }
}