NFT API
Get NFT token metadata
Interface: /moonbeam/v1/token/metadata
Method: POST
Data Format: JSON
Request Parameter:
Parameter | Type | Required | Description |
---|---|---|---|
collection | String | Y | The NFT collection. |
token_id | String | Y | The token id. |
Request Example:
Response Data
Field | Type | Description |
---|---|---|
token_name | String | The name of the NFT token. |
image_url | String | The image url of the NFT token. |
attributes | List | The attributes of the NFT token. |
attributes.trait_type | String | Attribute type. |
attributes.value | String | Attribute value. |
attributes.amount | Number | Attribute amount. |
attributes.rarity | Number | Attribute rarity. |
rarity_score | Number | The Rarity Score is an indicator of the rarity of NFT attributes. |
rank | Number | Rank within the NFT collection for rarity scores. |
Response Example:
Get NFT token transactions
Interface: /moonbeam/v1/token/transactions
Method: POST
Data Format: JSON
Request Parameter:
Parameter | Type | Required | Description |
---|---|---|---|
collection | String | Y | The NFT collection. |
token_id | String | Y | The token id. |
Request Example:
Response Data:
Field | Type | Description |
---|---|---|
max_price | Number | The highest transaction price in history. |
min_price | Number | The lowest transaction price in history. |
price_history | List | The list of transaction prices in history. |
price_history.price | Number | historical price. |
price_history.timestamp | Number | The transaction time of the historical price. |
holder_history | List | The list of former holders in history. |
activities | List | The list of activities. |
activities.event_type | String | Type of activity. |
activities.price | Number | Price of activity. |
activities.from_address | String | The source address of the NFT transfer . |
activities.to_address | String | The destination address of the NFT transfer. |
activities.timestamp | Number | Time of activity. |
Response Example:
Get NFT token valuation
Interface: /moonbeam/v1/token/valuation
Method: POST
Data Format: JSON
Request Parameter:
Parameter | Type | Required | Description |
---|---|---|---|
collection | String | Y | The NFT collection. |
token_id | String | Y | The token id. |
Request Example:
Response Data:
Field | Type | Description |
---|---|---|
valuation | Number | The valuation of the NFT token. |
valuation_history | List | The list of valuation over the past 30 days. |
valuation_history.valuation | Number | valuation. |
valuation_history.timestamp | Number | valuation time. |
Response Example:
Last updated