> For the complete documentation index, see [llms.txt](https://docs.matrica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.matrica.io/api-reference/user.md).

# User

## Get user

Returns a Matrica user by their username.

{% openapi src="/files/yZk0HZM5zgDLwFFZROhK" path="/user/{username}" method="get" %}
[openapi-api.json](https://2946875910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLywT3slSQ4GoAk6k17dV%2Fuploads%2F4JjlUa9i1SXbANP2Isfu%2Fopenapi-api.json?alt=media\&token=cff2c0a1-ca66-494f-bfaf-5b31ffc8a3e2)
{% endopenapi %}

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.

{% openapi src="/files/mBxh2t1IBkSwZlnuxWCq" path="/v1/user/{userId}/nft-collections" method="get" %}
[collection2.json](https://2946875910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLywT3slSQ4GoAk6k17dV%2Fuploads%2F0raKGxrvpK02vLQcXVsf%2Fcollection2.json?alt=media\&token=1a9f3c0c-2bed-483f-bfd0-35043bbefc3f)
{% endopenapi %}

{% openapi src="/files/2wNgLn9u2YEmYTYWGH5z" path="<https://api.matrica.io/v1/user/{userId}/pfp>" method="get" %}
[pfp.json](https://2946875910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLywT3slSQ4GoAk6k17dV%2Fuploads%2FqXSgTNkqhw8pwg2WOdbK%2Fpfp.json?alt=media\&token=1e1bad3e-fc6b-42d3-b3c4-eef8c540957e)
{% endopenapi %}
