Docs
搜索⌘ K
  • 主页
  • 关于 The Graph
  • 支持的网络
  • 协议合约
  • 子图
    • 子流
      • 代币 API
        • Hypergraph
          • AI Suite
            • 索引
              • 资源
                代币 API > EVM端点

                NFT Holders

                GET/nft/holders/evm/{contract}

                Provides NFT holders per contract.

                路径参数

                参数描述值
                contract
                string

                Filter by NFT contract address

                  必填

                  查询参数

                  参数描述值
                  network_id
                  string

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

                  • 默认值: mainnet
                  • 可选值: arbitrum-one, avalanche, base, bsc, mainnet, matic, optimism, unichain
                  必填
                  mainnet

                  可能的反应

                  状态描述
                  200Successful Response
                  400Client side error
                  401Authentication failed
                  403Forbidden
                  404Not found
                  500Server side error
                  ⁠在GitHub上编辑⁠

                  NFT CollectionNFT Items
                  测试此终点

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

                  1{2  "data": [3    {4      "token_standard": "ERC721",5      "address": "0x29469395eaf6f95920e59f858042f0e28d98a20b",6      "quantity": 534,7      "unique_tokens": 534,8      "percentage": 0.06008100810081008,9      "network_id": "mainnet"10    }11  ]12}
                  The GraphStatusTestnetBrand AssetsForum安全Privacy PolicyTerms of Service