Mavis Market GraphQL API
Overview
The Mavis Market schema is used by Mavis Market to query collections on the marketplace. The schema supports all NFT collections that are live on the marketplace.
Endpoint
Mavis Market GraphQL endpoint
https://api-gateway.skymavis.com/graphql/mavis-marketplace
Prerequisites
- An API key for request authentication. To get an API key, create and set up an app in the Developer Console.
- Understanding of GraphQL basics.
Examples
This section contains an example GraphQL query that you can run in the GraphQL Playground. Make sure to select the Mavis Market schema from the list at the top of the page.
Get collection's data
This query returns information about a collection listed on Mavis Market, as well as the list of its owners.
Get collection's data
query MyQuery {
erc721List(from: 0, size: 10) {
tokenAddress
collectionMetadata
totalOwners
}
}
See also
Was this helpful?
Happy React is loading...