---
title: "Get NFT collection traits"
method: GET
path: "/v0.1/items/traits"
tags: ["NFT Items"]
---

# Get NFT collection traits

`GET /v0.1/items/traits`

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

## Query parameters

- `keys` string[]
- `collectionIds` string[], required
- `owners` string[]

## Response `200`

OK

- Traits
  - `continuation` string — Continuation token to paginate traits search result
  - `traits` Trait[], required — List of found traits
    - `key` TraitEntry, required — Combination of Item attribute key/value with it's count
      - `value` string, required
      - `count` integer, required
    - `values` TraitEntry[], required
      - `value` string, required
      - `count` integer, required

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/rarible/apis/openapi-definition.md) · [All operations](https://skmtc.net/rarible/apis/openapi-definition/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rarible/openapi-definition/versions/5d2651b9411d/schema)
