Query all token data for certain NFT contracts

Selecting an NFT contract will fetch data of all NFTs created by this NFT contract.

Size

  • The query parameter size is optional. (Min = 1, Max = 1000, Default = 100)
  • Returns an error when given a negative number
  • Uses default (size=100) when given a 0
  • Uses the maximum value (size=1000) when given a value higher than 1000
Request
Security:
path Parameters
nft-address
required
string
query Parameters
size
integer <int64>

Number of response items (min=1, max=1000, default=100)

Example: size=100
cursor
string

Offset for specifying a certain position

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200
400
404
get/v2/contract/nft/{nft-address}/token
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://th-api.klaytnapi.com/v2/contract/nft/{nft-address}/token?size=0&cursor=string' \
  -H 'x-chain-id: string'
Response samples
application/json
{
  • "items": [],
  • "cursor": ""
}