Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.0

Get NFT lowest price

GEThttps://deep-index.moralis.io/api/v2/nft/:address/lowestprice

Get the lowest executed price for an NFT contract for the last x days (only trades paid in ETH).

PATH PARAMS
addressstringrequired
The address of the NFT contract
QUERY PARAMS
chainstring
The chain to query
daysnumber

The number of days to look back to find the lowest price If not provided 7 days will be the default

marketplacestring
Marketplace from which to get the trades (only OpenSea is supported at the moment)
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.nft.getNFTLowestPrice({
"chain": "0x1",
"marketplace": "opensea",
"address": "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"transaction_hash": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
"transaction_index": "",
"token_ids": [
"15"
],
"seller_address": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
"buyer_address": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
"marketplace_address": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
"price": "1000000000000000",
"block_timestamp": "2021-06-04T16:00:15",
"block_number": "13680123",
"block_hash": "0x4a7c916ca4a970358b9df90051008f729685ff05e9724a9dddba32630c37cb96"
}