Get the number of collection holdings by address
API Deprecation Notice
This API endpoint will be deprecated by the end of Q1 2025 as part of Skynet sunsetting. Please migrate to the Moralis alternative: Get NFT collections by wallet
GET/collections/:contractAddress/owners/:address
Get the number of collection holdings by address
Request
Path Parameters
contractAddress stringrequired
ContractAddress address. Example: 0x32950db2a7164ae833121501c797d79e7b79d74c
address stringrequired
Account address. Example: 0xf6fd5fca4bd769ba495b29b98dba5f2ecf4ceed3
Query Parameters
limit integer
Paging limit
cursor string
Paging cursor
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
result
object
address string
balance string
tokenCount integer
{
"result": {
"address": "string",
"balance": "string",
"tokenCount": 0
}
}
internal error
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Loading...