Query list of all NFT contract data

Fetch data of all labelled NFT contracts.

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:
query Parameters
status
string

Labelling status [completed, processing, failed, cancelled]

Example: status=completed
type
string

Contract type [KIP-17, ERC-721], returns all types if not specified

Example: type=KIP-17
size
integer <int64>

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

Example: size=10
cursor
string

Response offset (pagination)

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

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