NFT Items

Get NFT collection traits

Returns aggregation of existing traits for specified collections with counter for each trait type/value.

get/v0.1/items/traits

Request

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

Query parameters

keysstring[]

Trait keys for strict filtering (if not specified - all traits will be returned)

[
  "Hat"
]
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.