Projects & Stats
Stats & Information about an NFT project
Last updated
Stats & Information about an NFT project
Last updated
Internally we interchangeably use the term collection and projects. For the longest time NFT marketplaces had to maintain their own collection id or grouping of a NFT project. We currently assign our own identifier to a nft project. It is identified as project_id.
NOTE: As of May 2022, acceptable project_id values can now be metaplex collection id, our project_id, and first creator public key.
This is the same identifier found in the url of our collections page.
ProjectStat is returned by the following APIs documented below. It contains information and stats about a single NFT collection that we collect every 5 minutes and show in our leaderboard. Project information is contained within the project object. This contains general information about project such as collection size, discord, and most importantly project_attributes.
is_verified
This flag means the collection has been verified by us. We use this flag to determine if we want to list the project on our marketplace.
project_attributes
We store attribute information in project_attributes. This is what we use to determine how to search for tokens that share the same attribute.
You can look up a project by name (we search against its display name). In addition you can pass in a tag to a collections rank based off the tag (e.g. PFP, Gaming, etc).
Function: searchProjectByName
Inputs:
[Optional] name
Type: String
Description: Display name to search against
[Optional] meSlug
Type: StringInputArg
Description: ME slug
[Optional] twitter
Type: StringInputArg
Description: Twitter url (e.g. https://twitter.com/hyperspacexyz)
[Optional] matchName
Type: StringInputArg
Description: To not break the existing name query, we now allow fuzzy/exact match on project name
[Optional] tag
Type: String
Description: Tag to rank against
Allowed Values (Case Sensitive):
To rank against "All" leave the tag input blank.
Response:
Type: SearchProjectByNameQuery
Reference Usage:
Example using the SDK:
Function: getProjects
Inputs:
orderBy
Type: OrderConfig
Allowed Values (Case Sensitive)
paginationInfo
Type: PaginationConfig
Response:
Type: GetProjectStatsQuery