Skip to main content

/extended/v1/tokens/{contractId}/nft/metadata REST API Endpoint

Non fungible tokens metadata for contract id.

Updated on
Oct 4, 2023

/extended/v1/tokens/{contractId}/nft/metadata REST API Endpoint

Path Parameters

contractId
string
REQUIRED
token's contract id.

Returns

array[object]
array
Returns a list of non-fungible token metadata
token_uri
string
An optional string that is a valid URI which resolves to this token's metadata. Can be empty.
name
string
Identifies the asset to which this token represents.
description
string
Describes the asset to which this token represents.
image_uri
string
A URI pointing to a resource with mime type image/* representing the asset to which this token represents. The API may provide a URI to a cached resource, depending on configuration. Otherwise, this can be the same value as the canonical image URI.
image_canonical_uri
string
The original image URI specified by the contract. A URI pointing to a resource with mime type image/* representing the asset to which this token represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive.
tx_id
string
Tx id that deployed the contract.
sender_address
string
Principle that deployed the contract.
Request
1
curl -X 'GET' \
2
'https://docs-demo.stacks-mainnet.quiknode.pro/extended/v1/tokens/SP000000000000000000002Q6VF78.bns/nft/metadata' \
3
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free