Skip to main content

Search for NFTs by metadata attributes

POST 

/ronin/nfts/metadata/search

Search for NFTs that match the specified metadata attributes.

Request

Body

required

Request body

    contractAddress stringrequired

    Required

    includes string[]

    Optional

    metadata

    object

    required

    attributes

    object[]

    required

    Possible values: >= 1

    Required

  • Array [

  • traitType stringrequired

    Required, doesn't support null traitType searches.

    value stringrequired

    Required, doesn't support null value searches.

  • ]

  • paging

    object

    Only offset or cursor need to be present.

    cursor string
    limit integer

    Possible values: <= 200

    offset integer

    Possible values: <= 10000

    pagingStyle string

    Possible values: [cursor, offset]

    If pagingStyle is not cursor, then it's offset.

Responses

OK

Schema

    items

    object[]

  • Array [

  • contractAddress string
    createdAtBlock integer
    createdAtBlockTime string
    ownerAddresses string[]
    rawMetadata object
    tokenId string
    tokenName string
    tokenStandard string
    tokenSymbol string
    tokenURI string
    updatedAtBlock integer
    updatedAtBlockTime string
  • ]

  • paging

    object

    nextCursor string
    total integer
Loading...