OpenSea
List an OpenSea collection's traits
Returns a cursor-paginated page of the collection's trait types and the values each takes, with per-value item counts where OpenSea publishes them. Numeric traits carry a comparison operator.
get/opensea/collection/{slug}/traits
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/opensea/collection/{slug}/traits
- Auth: API key in header x-api-key
Path parameters
slugstring required
OpenSea collection slug
Query parameters
limitinteger
Trait types per page, 1-100
cursorstring
Opaque pagination cursor from a previous next_page_cursor
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"slug": "boredapeyachtclub",
"traits": [
{
"trait_type": "Background",
"values": [
{
"count": 1170,
"value": "Gray"
}
]
}
]
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.