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
@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"
}

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.

@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"
}

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.

@Get("/wallet-total-revenue")
@Query() walletAddress: string
@Query() from?: string
@Query() to?: string
{
  "data": {
    "totalRevenue": 0
  },
  "status": 200 | 500,
  "message": "string"
}

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("/wallet-total-nft-sold")
@Query() walletAddress: string
@Query() from?: string
@Query() to?: string
{
  "data": {
    "sales": 0
  },
  "status": 200 | 500,
  "message": "string"
}

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("/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 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("/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 the most recent sales for a wallet within a date range. If no dates are provided, the current month is used by default.

@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 the number of marketplace sales per day within a date range. If no dates are provided, the current month is used by default.

@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 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("/marketplace-total-sales")
@Query() from?: string
@Query() to?: string
{
  "data": {
    "sales": 0
  },
  "status": 200 | 500,
  "message": "string"
}

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

@Get("/marketplace-total-nft-sold")
@Query() from?: string
@Query() to?: string
{
  "data": {
    "sales": 0
  },
  "status": 200 | 500,
  "message": "string"
}

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("/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 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("/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 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("/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 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("/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 the activity for a specific collection and tokenId.

@Get("/nft-collection-traded-volume")
@Query() nftAddress: string
{
  "data": {
    "volme": 0
  },
  "status": 200 | 500,
  "message": "string"
}

Get the activity for a specific collection.

@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"
}

Get the activity for a specific wallet.

Last updated