Account Activity

Changed on

This API can be used to build a feed for an account.

get/nft/activity/account

Request

  • Base URL
    https://api.blockvision.org/v2
  • URL
    https://api.blockvision.org/v2/nft/activity/account
  • Auth
    API key in header x-api-key

Query parameters

accountAddressstring required

String - Address of the contract for this user account, beginning with 0x

eventTypeListstring[]

String - The returned data will be filtered by event types using this array of strings. Supports "mint, transfer, sale, burn, listing, listingCancel, offer, collectionOffer, offerCancel".

sortFiledstring

String - The field that is specified to return the sorted data. Only supports 'eventTime' at this stage.

sortDirectionstring

String - The order of the returned data sorted by time. Can be either 'asc' or 'desc'(default).

startTimestampinteger

Integer - The timestamp that marks the beginning of the returned data.

endTimestampinteger

Integer - The timestamp that marks the end of the returned data.

pageSizeinteger

Integer - The number of records showing on each page. 20 by default and up to 50.

pageIndexinteger

Integer - The index of the page to retrieve. The first page is typically indexed as 1, and subsequent pages are numbered incrementally.

Response

200

nextPageIndexinteger
totalinteger

Example response

{
  "data": [
    {
      "contractAddress": "0x7efe053548c6d266215795e29d14622235171c6a",
      "tokenId": "3396",
      "quantity": 1,
      "marketPlace": "looksrare",
      "price": {
        "currencyAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "symbol": "WETH",
        "currencyImage": "https://storage.nfte.ai/icon/currency/eth.svg",
        "currentPrice": "12000000000000000",
        "decimals": 18,
        "usdPrice": "0.3"
      },
      "eventType": "offer",
      "txHash": "0x23f4bb08bf60894f83932a23baf142f4850a1a527d2ffcf3f86e0d736a826c03",
      "blockNumber": 11321321321,
      "from": "0xeb6a3edc09b2a9fc62ac076eb0c9519d02b09585",
      "to": "0x0000000000000000000000000000000000000000",
      "asset": {
        "contractAddress": "0x7efe053548c6d266215795e29d14622235171c6a",
        "tokenId": "3396",
        "imageUrl": "https://i.nfte.ai/io/o1/31680/8483588188610427597_282570979.webp"
      },
      "collectionSlug": "azuki",
      "eventTime": 1676276864
    }
  ],
  "nextPageIndex": 2,
  "total": 100
}

Changes