📘
DG Live
  • Introduction
    • 📗Introduction
  • Getting Started
    • 📗Getting Started
  • Marketplace
    • ⛏️Create a New NFT Collection
    • ⛏️Mint an Item in the Collection
    • 👮Metadata Standards
    • 💲Royalty Management
    • 🛍️Buying an item
    • 🛒Selling an item
  • Business Manager
    • 📗Getting Started
    • ⚙️Overview
    • 👱‍♂️Profile
    • 🏠Scenes
      • Scene implementation code
      • Scene Panorama
      • Scene Marketplace
        • Slots
        • Market panorama
      • Scene Scheduling
      • Scene Groups
      • Sharing a Scene
      • Deleting a Scene
    • 📈Market Analytics
    • 🔌API Auth
    • 📘API Reference
  • Developer Resources
    • 📊Marketplace Plugin
    • 🛒Marketplace SDK
      • ⚙️Installation
      • 📪Basic usage
    • 🌐Metaverse SDK
      • Basic Usage
      • Advanced Usage
    • 🔌API Reference
      • Marketplace Methods
      • Business Manager API
    • 📔Smart Contract Reference
      • Methods
        • Buy
        • Sell
        • Cancel
        • BuyForGift
        • isActive
        • getPrice
      • Events
        • Buy
        • Sell
        • Cancel
        • BuyForGift
  • Tutorials & Resources
    • 🏪Creating a metaverse store
      • Creating a Decentraland Scene
      • Create an account on the business manager
      • Place an item for sale
    • 🙌Sample Scene
  • Use Cases
    • ⏯️Exploring Use Cases
    • 🎨Digital Art Gallery in the Metaverse and Web
    • 🖥️NFT Gaming Platform
    • 🎮Virtual Concert Experience
    • 👔Fashion Industry and Virtual Avatars
Powered by GitBook
On this page
  1. Developer Resources
  2. API Reference

Marketplace Methods

Methods for querying the marketplace.

Use https://api.dglive.org/v1 as a base url for all of your API requests

Analytics

Method
Parameters
Response
Description

It obtains the profit per day for a wallet within a range of dates. If no dates are passed, the current month is taken by default.

It obtains the NFTs sold per day for a wallet within a range of dates. If no dates are passed, the current month is taken by default.

It obtains the total profit for a wallet within a range of dates. If no dates are passed, the current month is taken by default.

Get the total NFT sales for a wallet within a date range. If no dates are provided, the current month is used by default..

Get the top 10 best-selling NFTs for a wallet within a date range. If no dates are provided, the current month is used by default.

Get the most recent sales for a wallet within a date range. If no dates are provided, the current month is used by default.

Get the number of marketplace sales per day within a date range. If no dates are provided, the current month is used by default.

Get the number of NFTs sold in the marketplace per day within a date range. If no dates are provided, the current month is used by default.

Get the number of marketplace sales within a date range. If no dates are provided, the current month is used by default.

Get the number of NFTs sold in the marketplace within a date range. If no dates are provided, the current month is used by default.

Get the top 10 best-selling NFTs in the marketplace within a date range. If no dates are provided, the current month is used by default.

Get the top 10 most recent sales in the marketplace within a date range. If no dates are provided, the current month is used by default.

Get the top 10 most recent activities in the marketplace within a date range. If no dates are provided, the current month is used by default.

Get the activity for a specific collection and tokenId.

Get the activity for a specific collection.

Get the activity for a specific wallet.

PreviousAPI ReferenceNextSmart Contract Reference

Last updated 2 years ago

🔌
@Get("/wallet-revenue-per-day")
@Query() walletAddress: string
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "date": "2023-03-01T17:21:23.923Z",
      "sales": 0
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/wallet-nft-sold-per-day")
@Query() walletAddress: string
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "date": "2023-03-01T17:27:46.177Z",
      "sales": 0
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/wallet-total-revenue")
@Query() walletAddress: string
@Query() from?: string
@Query() to?: string
{
  "data": {
    "totalRevenue": 0
  },
  "status": 200 | 500,
  "message": "string"
}
@Get("/wallet-total-nft-sold")
@Query() walletAddress: string
@Query() from?: string
@Query() to?: string
{
  "data": {
    "sales": 0
  },
  "status": 200 | 500,
  "message": "string"
}
@Get("/wallet-nft-sold-ranking")
@Query() walletAddress: string
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "nftAddress": "string",
      "name": "string",
      "revenue": 0,
      "amount": 0
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/wallet-recent-sales")
@Query() walletAddress: string
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "name": "string",
      "price": 0,
      "nftAddress": "string",
      "date": "2023-03-01T17:34:16.814Z"
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/marketplace-sales-per-day")
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "date": "2023-03-01T17:36:04.240Z",
      "sales": 0
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/marketplace-nft-sold-per-day")
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "date": "2023-03-01T17:48:25.198Z",
      "sales": 0
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/marketplace-total-sales")
@Query() from?: string
@Query() to?: string
{
  "data": {
    "sales": 0
  },
  "status": 200 | 500,
  "message": "string"
}
@Get("/marketplace-total-nft-sold")
@Query() from?: string
@Query() to?: string
{
  "data": {
    "sales": 0
  },
  "status": 200 | 500,
  "message": "string"
}
@Get("/marketplace-nft-sold-ranking")
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "nftAddress": "string",
      "name": "string",
      "revenue": 0,
      "amount": 0
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/marketplace-recent-sales")
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "name": "string",
      "price": 0,
      "nftAddress": "string",
      "date": "2023-03-01T17:55:55.347Z"
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/marketplace-general-activity")
@Query() from?: string
@Query() to?: string
{
  "data": [
    {
      "createdAt": "2023-03-01T17:58:13.098Z",
      "date": "2023-03-01T17:58:13.098Z",
      "fromWallet": "string",
      "price": 0,
      "toWallet": "string",
      "type": "string",
      "name": "string",
      "nftAddress": "string"
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/token-activity")
@Query() nftAddress: string
@Query() tokenId: string
{
  "data": [
    {
      "createdAt": "2023-03-01T18:00:03.423Z",
      "date": "2023-03-01T18:00:03.423Z",
      "fromWallet": "string",
      "price": 0,
      "toWallet": "string",
      "type": "string",
      "transactionHash": "string"
    }
  ],
  "status": 200 | 500,
  "message": "string"
}
@Get("/nft-collection-traded-volume")
@Query() nftAddress: string
{
  "data": {
    "volme": 0
  },
  "status": 200 | 500,
  "message": "string"
}
@Get("/wallet-recent-activity")
@Query() sellerAddress: string
{
  "data": [
    {
      "createdAt": "2023-03-01T18:02:55.177Z",
      "date": "2023-03-01T18:02:55.177Z",
      "fromWallet": "string",
      "price": 0,
      "toWallet": "string",
      "type": "string",
      "transactionHash": "string",
      "status": "string"
    }
  ],
  "status": 200 | 500,
  "message": "string"
}