Skip to main content

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';
import { EvmChain } from '@moralisweb3/evm-utils';

try {
const chain = EvmChain.ETHEREUM;

const address = '0x1234567890123456789012345678901234567890';

await Moralis.start({
apiKey: 'YOUR_API_KEY',
// ...and any other configuration
});

const response = await Moralis.EvmApi.nft.getNFTLowestPrice({
address,
chain,
});

console.log(response?.result);
} catch (e) {
console.error(e);
}

Response Example
{
"transaction_hash": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e",
"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"
}