Docs
Search⌘ K
  • Home
  • حول The Graph
  • الشبكات المدعومة
  • Protocol Contracts
  • Subgraphs
    • متعدد-السلاسل
      • Token API
        • AI Suite
          • Indexing
            • Resources
              Token API > EVM Endpoints

              NFT Activities

              GET/nft/activities/evm

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

              Query Parameters

              ParameterالوصفValue
              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
              contract
              string

              Filter by NFT contract address

                Required
                anyAddress
                string

                Filter by address

                  fromAddress
                  string

                  Filter by address

                    toAddress
                    string

                    Filter by address

                      startTime
                      integer

                      UNIX timestamp in seconds.

                      • Minimum value: -9007199254740991
                      • Maximum value: 9007199254740991
                      endTime
                      integer

                      UNIX timestamp in seconds.

                      • Default value: 9999999999
                      • Minimum value: -9007199254740991
                      • Maximum value: 9007199254740991
                      orderBy
                      string

                      The field by which to order the results.

                      • Default value: timestamp
                      • Accepted values: timestamp
                      timestamp
                      orderDirection
                      string

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

                      • Default value: desc
                      • Accepted values: asc, desc
                      desc
                      limit
                      integer

                      The maximum number of items returned in a single request.

                      • Default value: 10
                      • Minimum value: 1
                      • Maximum value: 1000
                      page
                      integer

                      The page number of the results to return.

                      • Default value: 1
                      • Minimum value: 1
                      • Maximum value: 767465558638

                      Potential Responses

                      Statusالوصف
                      200Successful Response
                      400Client side error
                      401Authentication failed
                      403Forbidden
                      404Not found
                      500Server side error
                      ⁠Edit on GitHub⁠

                      Swap EventsNFT Collection
                      Test this endpoint

                      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 AssetsForumSecurityPrivacy PolicyTerms of Service