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

              NFT Activities

              GET/nft/activities/evm

              Provides NFT Activities (ex: transfers, mints & burns).

              查询参数

              参数描述值
              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
              contract
              string

              Filter by NFT contract address

                必填
                anyAddress
                string

                Filter by address

                  fromAddress
                  string

                  Filter by address

                    toAddress
                    string

                    Filter by address

                      startTime
                      integer

                      UNIX timestamp in seconds.

                      • 最小值: -9007199254740991
                      • 最大值: 9007199254740991
                      endTime
                      integer

                      UNIX timestamp in seconds.

                      • 默认值: 9999999999
                      • 最小值: -9007199254740991
                      • 最大值: 9007199254740991
                      orderBy
                      string

                      The field by which to order the results.

                      • 默认值: timestamp
                      • 可选值: timestamp
                      timestamp
                      orderDirection
                      string

                      The order in which to return the results: Ascending (asc) or Descending (desc).

                      • 默认值: desc
                      • 可选值: asc, desc
                      desc
                      limit
                      integer

                      The maximum number of items returned in a single request.

                      • 默认值: 10
                      • 最小值: 1
                      • 最大值: 1000
                      page
                      integer

                      The page number of the results to return.

                      • 默认值: 1
                      • 最小值: 1
                      • 最大值: 767465558638

                      可能的反应

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

                      Swap EventsNFT Collection
                      测试此终点

                      1curl --request GET \2  --url 'https://token-api.thegraph.com/nft/activities/evm?network_id=mainnet&startTime=0&endTime=9999999999&orderBy=timestamp&orderDirection=desc&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

                      1{2  "data": [3    {4      "@type": "TRANSFER",5      "block_num": 22588725,6      "block_hash": "0xe8d2f48bb5d7619fd0c180d6d54e7ca94c5f4eddfcfa7a82d4da55b310dd462a",7      "timestamp": "2025-05-29 13:32:23",8      "tx_hash": "0xa7b3302a5fe4a60e4ece22dfb2d98604daef5dc610fa328d8d0a7a92f3efc7b9",9      "token_standard": "ERC721",10      "contract": "0xbd3531da5cf5857e7cfaa92426877b022e612cf8",11      "name": "PudgyPenguins",12      "symbol": "PPG",13      "from": "0x2afec1c9af7a5494503f8acfd5c1fdd7d2c57480",14      "to": "0x29469395eaf6f95920e59f858042f0e28d98a20b",15      "token_id": "500",16      "amount": 1,17      "transfer_type": "Single"18    }19  ]20}
                      The GraphStatusTestnetBrand AssetsForum安全Privacy PolicyTerms of Service