Skip to main content

/nfts/count

Returns the total number of Non-Fungible / Semi-Fungible / MetaESDT tokens

Parameters

  • search OPTIONAL (string) - Search by collection identifier
  • identifiers OPTIONAL(array[string]) - Filter by identifiers, comma-separated
  • typeOPTIONAL (string) - Filter by type (NonFungibleESDT/SemiFungibleESDT/MetaESDT)
  • collection : OPTIONAL(string) - Get all tokens by token collection. Deprecated, replaced by collections parameter
  • name: (string) - The username specific for this account
  • tags : OPTIONAL (array[string]) - Filter by one or more comma-separated tags
  • creator : OPTIONAL (string) - Return all NFTs associated with a given creator
  • isWhitelistedStorage : (boolean) - Return all NFTs that are whitelisted in storage
  • hasUris : OPTIONAL (boolean) - Return all NFTs that have one or more uris
  • isNsfw : (boolean) - Filter by NSFW status
  • before OPTIONAL : (number) - Before timestamp
  • after OPTIONAL : (number) - After timestamp

Returns

  • count: (number) - total number of Non-Fungible / Semi-Fungible / MetaESDT tokens

Example

Request

curl -X 'GET' \
'https://elrond-api.public.blastapi.io/nfts/count?collection=GSPACEAPE-08bc2b&creator=erd1qqqqqqqqqqqqqpgq9t4l4rm2fr9h4fv05u2ld5eh99a7hlmua9rspf78gp&isWhitelistedStorage=true&hasUris=true&isNsfw=false' \
-H 'accept: application/json'

Result

11768