NFT API

Get NFT token information

## Request
curl -X "POST" "https://oracle-api.banksea.finance/nft/v1/token" \
     -H 'x-api-key: test-api-key' \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
    "token_address":"7ZBRCR83jqYk7bbG3RY8Qn14E341n3qwWgY6NTTPko5k"
}'
  • Interface: /nft/v1/token

  • Method: POST

  • Data Format: JSON

  • Request Parameter:

Parameter
Type
Required
Description

token_address

String

Y

The token address of the NFT token.

  • Request Example:

    {
        "token_address":"7ZBRCR83jqYk7bbG3RY8Qn14E341n3qwWgY6NTTPko5k"
    }
  • Response Data:

Field
Type
Description

token_address

String

The token address of the NFT token.

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.

valuation

Number

The valuation of the NFT token.

valuation_24_hours

Number

The valuation of the NFT token from 24 hours ago.

change_rate_24_hours

Number

change_rate_24_hours = (valuation - valuation_24_hours) / valuation_24_hours.

valuation_7_days

Number

The valuation of the NFT token from 7 days ago.

change_rate_7_days

Number

change_rate_7_days = (valuation - valuation_7_days) / valuation_7_days.

valuation_30_days

Number

The valuation of the NFT token from 30 days ago.

change_rate_30_days

Number

change_rate_30_days = (valuation - valuation_30_days) / valuation_30_days.

risk

Number

The token's risk reflects the degree of volatility of the NFT.

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.

valuation_history

List

The list of valuation over the past 30 days.

valuation_history.valuation

Number

valuation.

valuation_history.timestamp

Number

valuation time.

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.

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.

token_popularity

Number

The popularity of the NFT token

  • Response Example:

Get NFT token metadata

  • Interface: /nft/v1/token/metadata

  • Method: POST

  • Data Format: JSON

  • Request Parameter:

Parameter
Type
Required
Description

token_address

String

Y

The token address of the NFT token.

  • 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: /nft/v1/token/transactions

  • Method: POST

  • Data Format: JSON

  • Request Parameter:

Parameter
Type
Required
Description

token_address

String

Y

The token address of the NFT token.

  • 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.

token_popularity

Number

The popularity of the NFT token

  • Response Example:

Get NFT token valuation

  • Interface: /nft/v1/token/valuation

  • Method: POST

  • Data Format: JSON

  • Request Parameter:

Parameter
Type
Required
Description

token_address

String

Y

The token address of the NFT token.

  • Request Example:

  • Response Data:

Field
Type
Description

valuation

Number

The valuation of the NFT token.

valuation_24_hours

Number

The valuation of the NFT token from 24 hours ago.

change_rate_24_hours

Number

change_rate_24_hours = (valuation - valuation_24_hours) / valuation_24_hours.

valuation_7_days

Number

The valuation of the NFT token from 7 days ago.

change_rate_7_days

Number

change_rate_7_days = (valuation - valuation_7_days) / valuation_7_days.

valuation_30_days

Number

The valuation of the NFT token from 30 days ago.

change_rate_30_days

Number

change_rate_30_days = (valuation - valuation_30_days) / valuation_30_days.

risk

Number

The token's risk reflects the degree of volatility of the NFT.

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