Traits by Collection

This endpoint is commonly used to retrieve the traits of assets in a collection.
Results are sorted alphabetically by trait type, and then by count of assets with each distinct value for that trait type, in descending order.
Note: Currently, this endpoint is enabled for collections with less than one million assets. Support for larger collections is coming soon.
To understand more about the difference between Collections and Contracts, please refer to our FAQ
Path Params
string
required
Defaults to 510139ec0d8cf5513d59a8d3afa1c061

The unique identifier of the collection (obtainable from an NFT response, or from the Collection endpoints)

Query Params
string

Comma-separated list of traits (e.g. body,face). Limit of 20 trait types

string

Used to retrieve the next page of results

int32
Defaults to 50

Limit. Defaults to 50, capped at 50.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json