GET
/
v2
/
{chain_name}
/
collections
/
{collection_address}
/
traits
Get NFT Collection Traits
curl --request GET \
  --url https://api.data.ormilabs.com/v2/{chain_name}/collections/{collection_address}/traits
{
"traits": [
{
"trait_type": "<string>",
"values": [
{
"count": 123,
"percentage": 12.3,
"value": "<string>"
}
]
}
]
}

Authorizations

Authorization
string
header
required

(Optional) Enter your API key in the format: Bearer <api_key>. Providing an API key may grant higher rate limits or access to additional features. The API will function without an API key for basic access.

Path Parameters

collection_address
string
required

The NFT collection contract address.

Example:

1.074999140385143e+48

chain_name
enum<string>
required

The name or ID of the blockchain.

Available options:
ethereum,
base,
tron
Example:

"ethereum"

Response

200
application/json

Successfully retrieved NFT collection traits.

The response is of type object.