v1
latestOpenAPI 3.1.02026-07-1410027.2 KBOffer
Get offers
Get all offers that the NFT could be lent with, including both collections offers and NFT offers.
get/v3/offer/list
Query parameters
offerTypestring
Offer type:[null: all, 1: single, 2: collection, 3: sub collection]
nftAddressstring required
Contract address of the NFT
tokenIdstring required
Token Id of the NFT
userAddressstring
Filter by offer maker's address
isSufficient'0' | '1'
Returns all offers or just offers with sufficient balance in wallet
durationinteger
Filter by duration
pageinteger
Page number
pageSizeinteger
Page record number
sortField'createTime' | 'amount' | 'repayment' | 'apr'
Offer sort
sortDirection'desc' | 'asc'
Sort direction
Response
200
Example response
{
"data": {
"page": 1,
"page_size": 10,
"more_page": true,
"total": 100,
"list": [
{
"offerId": "6987144376345530769",
"tokenId": "7022578",
"nftAddress": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
"amount": "1000000000000000000",
"repayment": "1022200000000000000",
"apr": 2000,
"lender": "0xB2059C2EB2Db8D4007027dDCE3E3151b3A36d393",
"expireTime": 1660903467,
"duration": 604800,
"size": 1,
"usedSize": 1,
"erc20Address": "0xB2059C2EB2Db8D4007027dDCE3E3151b3A36d393",
"status": 10,
"createTime": 1642656103,
"isSufficient": 1
}
]
},
"code": 200,
"msg": "ok",
"t": 1559204889719
}