/v1/user
Last updated 7 months ago
Returns a Matrica user by their username.
Returns a Matrica user's profile.
Returns the count of NFTs a user owns in specific collections. This route is Enterprise only.
GET /v1/user/{username} HTTP/1.1 Host: api.matrica.io Accept: */*
Returns the user.
No content
The ID of the user whose NFT collections are to be retrieved.
Optional filter to retrieve NFTs for a specific collection.
{"collectionId":"3469c345-04db-4d19-b207-7fa1138dd940","collectionName":"Matrica Pixels","count":5}
GET /v1/user/{userId}/nft-collections HTTP/1.1 Host: Accept: */*
Returns the NFT collection counts for the user.
[ { "collectionId": "3469c345-04db-4d19-b207-7fa1138dd940", "collectionName": "Matrica Pixels", "count": 5 }, { "collectionId": "e11bbb2a-a8e7-4a79-b9e4-32e8f34749dd", "collectionName": "Matrica Blocks", "count": 8 } ]
The ID of the user
GET /v1/user/{userId}/pfp HTTP/1.1 Host: api.matrica.io Accept: */*
Returns the user PFP.
{ "collectionName": "Bored Ape Yacht Club", "collectionPfp": "https://example.com/collection-pfp.jpg", "pfpNFTId": "123", "pfpNFTUrl": "https://example.com/nft-image.jpg" }