Docs
Sök⌘ K
  • Home
  • Om The Graph
  • Nätverk som stöds
  • Protocol Contracts
  • Subgrafer
    • Underströmmar
      • Token API
        • AI Suite
          • Indexing
            • Resources
              Token API > EVM Endpoints

              NFT Collection

              GET/nft/collections/evm/{contract}

              Provides single NFT collection metadata, total supply, owners & total transfers.

              Path Parameters

              ParameterBeskrivningValue
              contract
              string

              Filter by NFT contract address

                Required

                Query Parameters

                ParameterBeskrivningValue
                network_id
                string

                The Graph Network ID for EVM networks https://thegraph.com/networks

                • Default value: mainnet
                • Accepted values: arbitrum-one, avalanche, base, bsc, mainnet, matic, optimism, unichain
                Required
                mainnet

                Potential Responses

                StatusBeskrivning
                200Successful Response
                400Client side error
                401Authentication failed
                403Forbidden
                404Not found
                500Server side error
                ⁠Edit on GitHub⁠

                NFT ActivitiesNFT Holders
                Test this endpoint

                1curl --request GET \2  --url 'https://token-api.thegraph.com/nft/collections/evm/{contract}?network_id=mainnet' \3  --header 'Authorization: Bearer {token}'

                1{2  "data": [3    {4      "token_standard": "ERC721",5      "contract": "0xbd3531da5cf5857e7cfaa92426877b022e612cf8",6      "contract_creation": "2021-07-22 12:26:01",7      "contract_creator": "0xe9da256a28630efdc637bfd4c65f0887be1aeda8",8      "name": "PudgyPenguins",9      "symbol": "PPG",10      "owners": 12258,11      "total_supply": 8888,12      "total_unique_supply": 8888,13      "total_transfers": 185128,14      "network_id": "mainnet"15    }16  ]17}
                The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service