getNFTLowestPrice API returning 141 error, could not get NFT lower price

Hi guys, I tried to fetch lowest price for NFTs collection, but it is not working as mention on the API docs.

This is my request payload:

Response I received:

I could not figure out where was my mistake or something is not working.

Contract address used: Bored Ape Yacht Club

Thanks in advance!

Happy Holidays! :christmas_tree::christmas_tree::christmas_tree:

it looks like this returned something for me:

https://deep-index.moralis.io/api/v2/nft/0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D/lowestprice?chain=eth&days=100&marketplace=opensea

=>

{
  "transaction_hash": "0x45020200bc080d067c4e0fe909815e95c71dfc224540443ac573addcc807b6b5",
  "transaction_index": "62",
  "token_id": [
    "4812"
  ],
  "seller_address": "0x15ef584bdcd03aaea40e567c70c393361432bcf4",
  "buyer_address": "0xe749990bdf5c1ad4e182cc27c016b478f259a909",
  "token_address": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
  "marketplace_address": "0x7be8076f4ea4a4ad08075c2508e481d6c946d12b",
  "price": "1000000000000000",
  "block_timestamp": "2021-10-07T12:37:14.000Z",
  "block_number": "13371865",
  "block_hash": "0x4040c9ecc8c95cefd9bb94977a3140d69c37d336787e63314d94af11997d0cc2",
  "token_ids": [
    "4812"
  ]
}
1 Like

Hi @cryptokid, thanks for the response.

Yeah, the issue occurred because of the days parameter, I was trying to get weekly lowest price and there was no any transaction between that time frame.

API is working fine. :+1:

Thanks man, cheers!

Hi,

is the data behind this API still updated? I tried

url = 'https://deep-index.moralis.io/api/v2/nft/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d/lowestprice?chain=eth&days=10&marketplace=opensea'

Which should give the lowest sale in the last 10 days for Bored Ape Yacht Club, and it also gives the β€œCould not get NFT lower Price”, even-though it is extremely actively traded. When I up the days to 26 it does work, 25 or lower however does not.

url = 'https://deep-index.moralis.io/api/v2/nft/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d/lowestprice?chain=eth&days=26&marketplace=opensea'
get = requests.get(url,headers=headers)

==>{'transaction_hash': '0x962dec25573f4cd58e9b6d55760399056608f9e62c74b5a58f6eae6dbc63f057', 'transaction_index': '73', 'token_id': ['2608'], 'seller_address': '0x9aefeaf0b5f18807a01a7dd35db1ce570096a6ca', 'buyer_address': '0x9b37bc499de5e675063695211618f3cd64a1b9fc', 'token_address': '0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d', 'marketplace_address': '0x7be8076f4ea4a4ad08075c2508e481d6c946d12b', 'price': '51000000000000000000', 'block_timestamp': '2021-12-13T03:40:28.000Z', 'block_number': '13794471', 'block_hash': '0xd0111536867eadb4a9797e28c6aeb56b332d7533cad9162ba9a624d6fa0507a2', 'token_ids': ['2608']}

url = 'https://deep-index.moralis.io/api/v2/nft/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d/lowestprice?chain=eth&days=25&marketplace=opensea'
get = requests.get(url,headers=headers)

==>

{'message': 'Could not get NFT lower Price'}

now it is updated, it looks like it wasn’t updated for a while

2 Likes