Get Listed NFTs

The endpoint "Get Listed NFTs" allows you to retrieve the items listed by the game studio in its Marketplace.

Overview

Endpoint

  • Method: GET

  • URL: /marketplace/{projectId}/{chain}/primary

Responses

Success (Code 200)

[
  {
    "id": "6585de99487f1429cb10bcc8",
    "typeId": 1,
    "supply": 3,
    "price": 1,
    "inSale": true,
    "metadata": {
      "name": "Tanjiro",
      "description": "NFT description",
      "image": "https://xerial-main-bucket.s3.us-east-1.amazonaws.com/287b86e8de6d472910015e048b04d08bc4a721aabb3e20651442c3a3c7946f94-anime%20armor.jpg",
      "externalUrl": "https://www.google.com",
      "animationUrls": [],
      "attributes": [
        {
          "type": "boost",
          "name": "magical damage",
          "value": "222"
        }
      ],
      "contract": {
        "address": "0x8a63860fF851bb1391a295dF717a3bD210eB2170",
        "name": "NFT description",
        "symbol": "NZH",
        "image": "https://xerial-main-bucket.s3.us-east-1.amazonaws.com/287b86e8de6d472910015e048b04d08bc4a721aabb3e20651442c3a3c7946f94-anime%20armor.jpg",
        "description": "Contract description",
        "externalUrl": "https://www.youtube.com/"
      },
      "maxSupply": "3",
      "edition": 1
    },
    "mintedTokens": 1
  },
]
  • Media Type: application/json

  • Example Value: An object containing the response for the listed NFTs.

Usage

  1. Send a GET request to the marketplace/{projectDomain}/{chain}/primary endpoint to obtain the items listed by the Market.

  2. Handle the response accordingly based on success, unauthorized access, forbidden access, not found, method not allowed, precondition failed, or internal server error.

Note: Ensure to get the projectId from your dashboard and you will receive the items for the selected chain.

Last updated