You can use this API to query for all NFTs.
GET /nfts
Name | Type | Description | Required |
---|---|---|---|
offset | integer | offset N rows (default 0) | |
limit | integer | max rows to return (default 10000) | |
sortBy | string | id,priceSatoshis,priceUpdatedTs,depositTs,withdrawTs,purchaseTs,ts | |
sortDir | string | asc,desc | |
tokenId | string | tokens id | |
groupTokenId | string | tokens groupid | |
userId | integer | sellers users id | |
username | string | sellers username | |
nftId | integer | id of nft | |
depositTxidUnset | boolean | not deposited | |
withdrawTxidUnset | boolean | not withdrawn | |
purchaseTxidUnset | boolean | not purchased | |
priceSatoshisUnset | boolean | not available to buy | |
depositTxidSet | boolean | deposited | |
withdrawTxidSet | boolean | withdrawn | |
purchaseTxidSet | boolean | purchased | |
priceSatoshisSet | boolean | available to buy | |
hideNSFW | boolean | hide all nsfw tagged | |
onlyNSFW | boolean | show only nsfw tagged | |
depositTsAfter | integer | unix timestamp | |
depositTsBefore | integer | unix timestamp | |
withdrawTsAfter | integer | unix timestamp | |
withdrawTsBefore | integer | unix timestamp | |
purchaseTsAfter | integer | unix timestamp | |
purchaseTsBefore | integer | unix timestamp |
Status: 200
{
"success":true,
"nfts":[
{
"id":3,
"userId":4123,
"username": "large-blue-monkey",
"depositTxid":"2ff07c7bb90396c30cbe51c563a9f572906602cbadde16bd137f63bdf4d98c3c",
"withdrawTxid":null,
"purchaseTxid":null,
"tokenid":"2ff07c7bb90396c30cbe51c563a9f572906602cbadde16bd137f63bdf4d98c3c",
"tokenName":"Aya Royama",
"tokenSymbol":"WAIFU",
"groupTokenid":"a2987562a405648a6c5622ed6c205fca6169faa8afeb96a994b48010bd186a66",
"priceSatoshis":333000,
"ts":"2021-01-26T21:53:08.020Z",
"purchaseHold":false,
"nsfw": false
}
]
}
curl https://www.juungle.net/api/v1/nfts?userId=4123&depositTxidSet=true&purchaseTxidUnset=true