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 \
  --header 'Authorization: Bearer <token>'
{
  "traits": [
    {
      "trait_type": "<string>",
      "values": [
        {
          "count": 123,
          "percentage": 12.3,
          "value": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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:

"0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"

chain_name
enum<string>
required

The name or ID of the blockchain.

Available options:
ethereum,
apechain
Example:

"ethereum"

Response

Successfully retrieved NFT collection traits.

traits
object[]
required