Items

Items

An Item defines a template for minted tokens representing individual physical assets.

Get One Item

Retrieve one item by its unique identifier.

Request

GET /items/:itemId

Headers

HeaderDescriptionRequired
x-iyk-api-keyAPI key for userYes

Response

The response is an object representing the item.

Item Properties

FieldTypeDescription
idstringThe unique identifier of the item.
namestringThe name of the item.
descriptionstringThe description of the item.
imageUrlstringThe URL of the item's image.
contractContractThe item's contract.
mediaMedia[]The list of the item's media
featuredMediaMediaThe item's featured media. This field is equivalent to the first element of the media array.
attributesAttribute[]The list of all possible attributes.
variantsVariant[]The item's variants.

Contract Object

FieldTypeDescription
namestringThe name of the contract
symbolstringThe symbol of the contract
addressstringThe contract address
chainIdnumberThe chain ID of the contract

Media Object

FieldTypeDescription
mimeTypestringThe media's MIME type
urlstringThe URL of the media

Attribute Object

FieldTypeDescription
namestringThe name of the attribute
valuesstring[]The list of possible values for the attribute

Variant Object

FieldTypeDescription
idstringThe unique identifier of the variant
attributesVariantAttribute[]The list of attributes for the variant

Variant Attribute Object

FieldTypeDescription
namestringThe name of the attribute
valuestringThe value of the attribute

Get Items

Retrieve the list of items associated with your team.

Request

GET /items

Headers

HeaderDescriptionRequired
x-iyk-api-keyAPI key for userYes

Query Parameters

ParameterDescriptionRequired
contractAddressContract address of the tokenNo
chainIdChain ID of the network where the token residesOnly if contractAddress is present

Response

The response is an array of objects, each representing an item.

Go to the Get One Item section to see the properties of an item.

Get Item's Chips

Retrieve the list of chips associated with an item.

Request

GET /items/:itemId/chips

Headers

HeaderDescriptionRequired
x-iyk-api-keyAPI key for userYes

Response

The response is an array of objects, each representing a chip.

Response Object Properties

FieldTypeDescription
uidstringA unique identifier for the chip.
linkedTokenTokenRefDetails of the linked token

TokenRef Properties

FieldTypeDescription
tokenIdstringThe token ID
chainIdnumberThe chain ID of the contract
contractAddressstringThe token contract address