/estimate
get
https://asset.money/estimate?
slug=${slug}&tokenID=${token_id}
Gets estimated price of the given slug and token_id along with traits
curl
Node(axios)
curl -G https://app.asset.money/estimate
-H "X-API-KEY: YOUR_API_KEY"
-d 'slug=cool-cats-nft'
-d 'tokenID=420'
// You need an API key to access the endpoint
const response = await axios.get('https://app.asset.money/estimate?slug=cool-cats-nft&tokenID=420', {
headers: {
'X-API-KEY':YOUR_API_KEY
}
})
{
"success": true,
"data": {
"slug": "cool-cats-nft",
"tokenID": "420",
"price": "11.73",
"traits": [
{
"trait_type": "body",
"value": "blue cat skin"
},
{
"trait_type": "hats",
"value": "beanie red"
},
{
"trait_type": "shirt",
"value": "bandana green"
},
{
"trait_type": "face",
"value": "sunglasses yellow"
},
{
"trait_type": "tier",
"value": "cool_1"
}
]
}
}
Last modified 7mo ago