User

/v1/user

Get user

Returns a Matrica user by their username.

Find a user by username.

get
Path parameters
usernamestring · min: 1Required
Query parameters
apiKeystring · min: 4Required
Responses
chevron-right
200

Returns the user.

No content

get
/user/{username}

No content

Returns a Matrica user's profile.

Get NFT Collection Counts for a User

Returns the count of NFTs a user owns in specific collections. This route is Enterprise only.

Get NFT collection counts for a user.

get
Path parameters
userIdstringRequired

The ID of the user whose NFT collections are to be retrieved.

Query parameters
collectionIdstringOptional

Optional filter to retrieve NFTs for a specific collection.

Responses
chevron-right
200

Returns the NFT collection counts for the user.

application/json
collectionIdstringOptional

The ID of the NFT collection.

collectionNamestringOptional

The name of the NFT collection.

countintegerOptional

The number of NFTs in this collection.

get
/v1/user/{userId}/nft-collections

Get user PFP.

get
Path parameters
userIdstringRequired

The ID of the user

Responses
chevron-right
200

Returns the user PFP.

application/json
collectionNamestring · nullableOptional

Name of the NFT collection

collectionPfpstring · nullableOptional

Profile picture of the collection

pfpNFTIdstring · nullableOptional

ID of the NFT used as profile picture

pfpNFTUrlstring · nullableOptional

URL or image of the NFT profile picture

get
https://api.matrica.io/v1/user/{userId}/pfp
200

Returns the user PFP.

Last updated