nft_collectionFloorPrice
Allows you to easily fetch a collection's floor price.
You could specify the contract address of the collection, and then you could obtain the floor price of the collection. What's more, you could use this API to know what marketplace has the floor price and the URL of the collection as well as the timestamp. Using this API, you could search for the floor price of collection and where can get the floor price.
Supported on Ethereum.

Parameters

Object - An object with the following fields (required):
  • contractAddress(hex string, required) - the contract address of the collection. BlockVision currently support both ERC721 and ERC1155.

Returns

Object - An object with the following fields:
Response Payload:
  • id(integer number) - json-rpc id.
  • jsonrpc(string) - json-rpc version.
  • result(object) - an object with the following fields:
    • nextPageIndex(integer number) - next page index.
    • data(array of objects, withMetaData) - response datas.
  • Object schema:
    • marketPlace(string) - market place.
    • floorPrice(string) - the collection's floor place in the market.
    • retrievedAt(integer number) - the corresponding timestamp when the data is retrieved.
    • collectionUrl(string) - the collection's url in the market.

Example

Request

curl https://api.blockvision.org/v1/<api key> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"id": 1,
"jsonrpc": "2.0",
"method": "nft_collectionFloorPrice",
"params": {
"contractAddress": "0xb47e3cd837ddf8e4c57f05d70ab865de6e193BBB"
}
}'

Result

{
"jsonrpc": "2.0",
"id": 1,
"result": {
"data": [
{
"marketPlace": "larva labs",
"floorPrice": "92.48",
"retrievedAt": 1658386036,
"collectionUrl": "https://larvalabs.com/cryptopunks"
}
]
}
}
Copy link
Outline
Parameters
Returns
Example
Request
Result