GraphQL API
此内容尚不支持你的语言。
Endpoints
Section titled “Endpoints”- Hasura Console: API Explorer
- Mainnet Endpoint:
 https://api.mainnet.aptoslabs.com/nft-aggregator/v1/graphql
Schema
Section titled “Schema”The API follows standard GraphQL conventions.
You can explore all available queries and types using the API Explorer linked above.
Some key types:
- current_nft_marketplace_listings: Get active listings
- current_nft_marketplace_token_offers: See offers made on specific tokens
- current_nft_marketplace_collection_offers: Track offers made at the collection level
- nft_marketplace_activities: Monitor all marketplace activities
Example Queries
Section titled “Example Queries”Get Active Listings with Token Metadata
Section titled “Get Active Listings with Token Metadata”Retrieve active NFT listings enriched with token metadata.
No variables are required for this query by default, but you can adjust the where filter directly inside the editor.
Get Collection Offers with Collection Metadata
Section titled “Get Collection Offers with Collection Metadata”Retrieve active collection-level offers along with detailed collection metadata.
Get Token Offers with Token Metadata
Section titled “Get Token Offers with Token Metadata”Retrieve active token-specific offers along with detailed token metadata.