Docs
खोज⌘ K
  • Home
  • The Graph के बारे में
  • समर्थित नेटवर्क
  • Protocol Contracts
  • सबग्राफ
    • सबस्ट्रीम
      • टोकन API
        • Hypergraph
          • AI Suite
            • Overview
            • Indexer टूलिंग
              • GraphTally Guide
              • Supported Network Requirements
              • Chain Integration Process Overview
              • नई श्रृंखला एकीकरण
              • Graph Horizon
                • संसाधन
                  टोकन API > EVM NFT Endpoints

                  NFT Collection

                  GET/v1/evm/nft/collections

                  Returns NFT collection metadata, supply stats, owner count, and transfer history.

                  The spam_status flag indicates if the NFT is likely spam. If status shows pending, retry in a few seconds.

                  Spam detection is supported for:

                  • mainnet
                  • base

                  क्वेरी पैरामीटर

                  पैरामीटरDescriptionमान
                  network
                  string

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

                  • स्वीकृत मान: arbitrum-one, avalanche, base, bsc, mainnet, optimism, polygon, unichain
                  आवश्यक
                  mainnet
                  contract
                  string

                  Filter by contract address

                    आवश्यक
                    limit
                    integer

                    Number of items* returned in a single request.
                    *Plan restricted.

                    • डिफ़ॉल्ट मान: 10
                    • न्यूनतम मान: 1
                    • अधिकतम मान : 1000
                    page
                    integer

                    Page number to fetch.
                    Empty data array signifies end of results.

                    • डिफ़ॉल्ट मान: 1
                    • न्यूनतम मान: 1
                    • अधिकतम मान : 767465558638

                    संभावित प्रतिक्रियाएँ

                    स्थितिDescription
                    200

                    Successful Response

                    400

                    Client side error

                    401

                    Authentication failed

                    403

                    Forbidden

                    404

                    Not found

                    500

                    Server side error

                    ⁠GitHub पर संपादित करें⁠

                    Swap EventsNFT Holders
                    इस एंडपॉइंट का परीक्षण करें

                    1curl --request GET \2  --url 'https://token-api.thegraph.com/v1/evm/nft/collections?network=mainnet&contract=0xbd3531da5cf5857e7cfaa92426877b022e612cf8&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

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