NFT Data Model (Item)

NFT Object Data Model

Here is NFT data model used by Rarible API. You can check data model in API Reference
NFT is represented by data model named Item

FieldTypeDescription
idstringidentifier of the NFT, format is ${blockchain}:${token}:${tokenId}
blockchainenum"ETHEREUM" "POLYGON" "FLOW" etc...
collectionstringcollection identifier
metaobject (Metadata)Metadata of the NFT
contractstringcontract address, format is ${blockchain}:${address}. Optional: won't be present for some blockchains (e.g. Solana)
tokenIdstringtoken identifier. Optional: won't be present for some blockchains (e.g. Solana)
lazySupplystring (BigInteger)supply for this NFT which is not yet minted on-chain
supplystring (BigInteger)total supply for this NFT (on-chain and lazy). Can be more than 1 for multiple NFTs (e.g. ERC-1155)
mintedAdstring
(date-time)
Date and time when NFT was minted
lastUpdatedAtstring
(date-time)
Date and time when NFT was updated
bestSellOrderobject (Order)Cheapest listing Order
bestBidOrderobject(Order)Highest (most expensive) Bid for the NFT
totalStockstring
(BigInteger)
Total number of NFTs on sale
lastSaleobject (ItemLastSale)information about last sale of this NFT
suspiciousbooleantrue if NFT is marked suspicious on any platform

* Fields marked with bold are required

Metadata

FieldTypeDescription
namestringName of the NFT
descriptionstringDescription
originalMetaUristringLink to original metadata
attributesarray of pairsList of attributes (traits) NFT has with keys and values
contentarray of contentList of content bundled with this NFT (image, video etc)

* Fields marked with bold are required

Metadata content

FieldTypeDescription
@typeenumIMAGE, VIDEO, AUDIO, MODEL_3D, HTML
widthintegerWidth of the image or video
heightintegerHeight of the image or video
fileNamestringName of the original file
urlstringUrl to access the content
representationenum"PREVIEW" "BIG" "ORIGINAL" "PORTRAIT"
There can be different versions of the content
mimeTypestringMime-type of the content
sizeinteger (int64)Size of the file
availablebooleanTBD

* Fields marked with bold are required