/collections/:collections:/nfts
Returns non-fungible/semi-fungible/meta-esdt tokens that belong to a collection
Parameters
collection: REQUIRED(string)- The information about the NFT or SFT, like picture traits or tags for your NFT/collectionfromOPTIONAL(number)- Number of items to skip for the result setsizeOPTIONAL(number)- Number of items to retrievesearchOPTIONAL(string)- Search by collection identifieridentifiersOPTIONAL(array[string])- Search by collection identifiers, comma-separatednameOPTIONAL(string)- Get all nfts by nametags:(array[string])- Filter by one or more comma-separated tagscreatorDEPRECATED(string)- Filter collections where the given address has a creator roleisWhitelistedStorageOPTIONAL :(boolean)- Return all NFTs that are whitelisted in storagehasUrisOPTIONAL :(boolean)- Return all NFTs that have one or more uriswithOwnerOPTIONAL(boolean)- Return owner where type = NonFungibleESDTwithsupplyOPTIONAL(boolean)- Return supply where type = SemiFungibleESDTwithScamInfoREQUIRED(boolean)computeScamInfoREQUIRED(boolean)
Returns
identifier:(string)- token identifiercollection:(string)- Represents additional information about the NFT or SFT, like picture traits or tags for your NFT/collection. The field should follow ametadata:ipfsCID/fileName.json;tags:tag1,tag2,tag3formattimestamp:(number)- u64 formatattributes:(string)- raw bytes where any data can be storednonce:(number)- NFT/SFT token noncetype:(string)- Enum [NonFungibleESDT, SemiFungibleESDT, MetaESDT]name:(string)- The username specific for this accountcreator:(string)- address of the account that created the NFTroyalties:(number)- a proportion out of 10000 that represents what percentage of an NFT sell price should be transferred to the creator. This is not enforced by the protocol or Mandos in any wayuris:(array[string])- a list of URIs associated to the NFT/SFTurl:(string)- the URL associated to the NFT/SFTmedia:(array[string])url:(string)filesize:(number)filetype:(string)originalUrl:(string)thumbnailUrl:(string)
isWhitelistedStorage:(boolean)thumbnailUrl:(string)tags:(array[string])metadata:description:(string)fileType:(string)- The type of the filefileUri:(string)- The Uri of the filefileName:(string)- the name of the file
owner:(string)- the owner's addressbalance:(number)- Account current balancesupply:(number)decimals:(number)- the number of decimals in order to display balanceassets:website:(string)description:(string)status:active/inactivepngUrl:(string)svgUrl:(string)lockedAccounts:(array[string])extraTokens:(array[string])
ticker:(string)- a random string starts with “-” and has 6 more random charactersscaminfo:scam:(string)info:(string)
score:(number)rank:(number)unlockSchedule:(object)remainingEpochs:(number)percent:(number)
Example
Request
curl -X 'GET' \
'https://elrond-api.public.blastapi.io/collections/ARCRACING-bcdf83/nfts?withScamInfo=true&computeScamInfo=true' \
-H 'accept: application/json'
Result
[
{
"identifier": "ARCRACING-bcdf83-07",
"collection": "ARCRACING-bcdf83",
"timestamp": 1661507748,
"attributes": "dGFnczpyYWxseSBjaGFtcGlvbnNoaXAgbW90b3JzcG9ydCBhcmMgc2ViYXN0aWFuX2JhcmJ1IGJvZ2Rhbl9pYW5jdTttZXRhZGF0YTpRbVJYdldwUDZGOGJObTFkejlnWkExSmpjM0hNeVBMMlU4ODlrWG9CbUpIcnFhLzEuanNvbg==",
"nonce": 7,
"type": "NonFungibleESDT",
"name": "ARC Racing #7",
"creator": "erd1qqqqqqqqqqqqqpgq9m2c2xhukgkx4u56yne7l2yx5yvstvd8ys5s20ne4m",
"royalties": 10,
"uris": [
"aHR0cHM6Ly9pcGZzLmlvL2lwZnMvUW1SWHZXcFA2RjhiTm0xZHo5Z1pBMUpqYzNITXlQTDJVODg5a1hvQm1KSHJxYS8xLmpwZWc=",
"aHR0cHM6Ly9pcGZzLmlvL2lwZnMvUW1SWHZXcFA2RjhiTm0xZHo5Z1pBMUpqYzNITXlQTDJVODg5a1hvQm1KSHJxYS8xLmpzb24=",
"aHR0cHM6Ly9pcGZzLmlvL2lwZnMvUW1SWHZXcFA2RjhiTm0xZHo5Z1pBMUpqYzNITXlQTDJVODg5a1hvQm1KSHJxYS9jb2xsZWN0aW9uLmpzb24="
],
"url": "https://media.elrond.com/nfts/asset/QmRXvWpP6F8bNm1dz9gZA1Jjc3HMyPL2U889kXoBmJHrqa/1.jpeg",
"media": [
{
"url": "https://media.elrond.com/nfts/asset/QmRXvWpP6F8bNm1dz9gZA1Jjc3HMyPL2U889kXoBmJHrqa/1.jpeg",
"originalUrl": "https://ipfs.io/ipfs/QmRXvWpP6F8bNm1dz9gZA1Jjc3HMyPL2U889kXoBmJHrqa/1.jpeg",
"thumbnailUrl": "https://media.elrond.com/nfts/thumbnail/ARCRACING-bcdf83-cfb5e3c2",
"fileType": "image/jpeg",
"fileSize": 1410005
}
],
"isWhitelistedStorage": true,
"tags": [
"rally championship motorsport arc sebastian_barbu bogdan_iancu"
],
"metadata": {
"description": "A hand on the girlfriend: Meet Sebastian Barbu, the exceptional rally pilot, who breathes confidence from every pore.",
"attributes": [
{
"trait_type": "Pencil Drawing",
"value": "100"
}
],
"rarity": {
"avgRarity": 1,
"statRarity": 1,
"rarityScore": 1,
"rarityScoreNormed": 1,
"usedTraitsCount": 1
},
"compiler": "Trust Staking"
},
"ticker": "ARCRACING-bcdf83",
"isNsfw": false
},
{
"identifier": "ARCRACING-bcdf83-06",
"collection": "ARCRACING-bcdf83",
"timestamp": 1661507748,
"attributes": "dGFnczpyYWxseSBjaGFtcGlvbnNoaXAgbW90b3JzcG9ydCBhcmMgc2ViYXN0aWFuX2JhcmJ1IGJvZ2Rhbl9pYW5jdTttZXRhZGF0YTpRbVJYdldwUDZGOGJObTFkejlnWkExSmpjM0hNeVBMMlU4ODlrWG9CbUpIcnFhLzMuanNvbg==",
"nonce": 6,
"type": "NonFungibleESDT",
"name": "ARC Racing #6",
"creator": "erd1qqqqqqqqqqqqqpgq9m2c2xhukgkx4u56yne7l2yx5yvstvd8ys5s20ne4m",
"royalties": 10,
"uris": [
"aHR0cHM6Ly9pcGZzLmlvL2lwZnMvUW1SWHZXcFA2RjhiTm0xZHo5Z1pBMUpqYzNITXlQTDJVODg5a1hvQm1KSHJxYS8zLmpwZWc=",
"aHR0cHM6Ly9pcGZzLmlvL2lwZnMvUW1SWHZXcFA2RjhiTm0xZHo5Z1pBMUpqYzNITXlQTDJVODg5a1hvQm1KSHJxYS8zLmpzb24=",
"aHR0cHM6Ly9pcGZzLmlvL2lwZnMvUW1SWHZXcFA2RjhiTm0xZHo5Z1pBMUpqYzNITXlQTDJVODg5a1hvQm1KSHJxYS9jb2xsZWN0aW9uLmpzb24="
],
"url": "https://media.elrond.com/nfts/asset/QmRXvWpP6F8bNm1dz9gZA1Jjc3HMyPL2U889kXoBmJHrqa/3.jpeg",
"media": [
{
"url": "https://media.elrond.com/nfts/asset/QmRXvWpP6F8bNm1dz9gZA1Jjc3HMyPL2U889kXoBmJHrqa/3.jpeg",
"originalUrl": "https://ipfs.io/ipfs/QmRXvWpP6F8bNm1dz9gZA1Jjc3HMyPL2U889kXoBmJHrqa/3.jpeg",
"thumbnailUrl": "https://media.elrond.com/nfts/thumbnail/ARCRACING-bcdf83-6e8c721c",
"fileType": "image/jpeg",
"fileSize": 1003256
}
],
"isWhitelistedStorage": true,
"tags": [
"rally championship motorsport arc sebastian_barbu bogdan_iancu"
],
"metadata": {
"description": "We ARC the champions: Always ready for winning the race, 'cause we ARC the champs!",
"attributes": [
{
"trait_type": "Pencil Drawing",
"value": "100"
}
],
"rarity": {
"avgRarity": 1,
"statRarity": 1,
"rarityScore": 1,
"rarityScoreNormed": 1,
"usedTraitsCount": 1
},
"compiler": "Trust Staking"
},
"ticker": "ARCRACING-bcdf83"
}
]