Search API

Search NFT collection traits

Returns aggregation of existing traits for specified collections with counter for each trait type/value.\ This is full-text-search, where you can specify filter for trait keys not precisely\ (for example, results back filter include Background trait)

get/v0.1/items/traits/search

Request

  • Base URL
    https://api.rarible.org
  • URL
    https://api.rarible.org/v0.1/items/traits/search
  • Auth
    API key in header X-API-KEY

Query parameters

filterstring required
Example:Hat

filter

collectionIdsstring[] required

Collections identifiers to which traits belong

[
  "ETHEREUM:0x60e4d786628fea6478f785a6d7e704777c86a7c6"
]
ownersstring[]

Return traits only for items owned by user

[
  "${filterOwners}"
]

Response

OK

continuationstring

Continuation token to paginate traits search result

Changes

No recorded changes to this operation across all 1 revision of this API.