Collection Activity
Changed onThis API can be used to build a feed for a collection. Data like event type, amount, relative addresses will be returned.
Request
- Base URLhttps://api.blockvision.org/v2
- URLhttps://api.blockvision.org/v2/nft/activity/collection
- AuthAPI key in header x-api-key
Query parameters
The list of addresses of the contract for this NFT collection, beginning with 0x.
The slug list of the NFT contract to get the collection activity information for.
The returned data will be filtered by event types using this array of strings. Supports "Sale,Minted,List,Offer,Transfer,CollectionOffer,BidCancel,Cancel,".
String - The field that is specified to return the sorted data. Only supports 'eventTime' at this stage.
String - The order of the returned data sorted by time. Can be either 'asc' or 'desc'(default).
Integer - The timestamp that marks the beginning of the returned data.
Integer - The timestamp that marks the end of the returned data.
Integer - The number of records showing on each page. 20 by default and up to 50.
Integer - The index of the page to retrieve. The first page is typically indexed as 1, and subsequent pages are numbered incrementally.
Response
200
Example response
{
"code": 200,
"message": "Success",
"result": {
"data": [
{
"contractAddress": "0xed5af388653567af2f388e6224dc7c4b3241c544",
"tokenId": "7244",
"from": "0xd0809508c07b18c8692bba6ad3ff8014ca193a45",
"eventTime": 1680201827,
"imageUrl": "https://ipfs-gateway.blockvision.org/ipfs/QmYDvPAXtiJg7s8JdRBSLWdgSphQdac8j1YuQNNxcGE1hg/7244.png",
"nftName": "Azuki #7244",
"marketplace": "looksRare",
"amount": 1,
"currentPrice": "18888800000000000000",
"currencyContract": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"eventType": "listing"
}
],
"nextPageIndex": 2
}
}Changes
- info
endpoint added
- info