Xerial
  • Intro
    • ⚡Introduction
    • 🏁Getting Started
    • â„šī¸Before We Start: Important
  • 👷Build
    • Build Your Account
    • Create Your Assets
    • Inventory
    • Marketplace
    • User Flow
    • Best Practices
      • Attribute Guide
        • Attribute Use Cases
  • â˜„ī¸Xerial APIs
    • đŸ—ī¸API Authorization
    • 🛅Wallet API
      • Getting Started
      • Custodial Wallets
        • Create User
        • Create Wallet
        • Get Wallets
      • Wallet Management
        • Get Chain Native Currency Balance
        • Get Supported ERC20 Tokens Balances
        • Get Project Inventory
      • Transaction Proccessing
        • Transfer Xerial NFT
        • Transfer Chain Native Currency
        • Transfer ERC20 Token
        • Primary Purchase Xerial NFT
        • Secondary Purchase
        • List Xerial NFT
        • Delist Xerial NFT
        • Execute Custom Transaction
      • Errors Handling
        • Authentication Errors
        • Wallet Management Errors
        • Transaction Proccessing Errors
    • 🛒Marketplace API
      • Get Listed NFTs
      • Get Community Listed Items
      • Get Collections
      • Get Project Data
    • đŸ–ŧī¸NFT API
      • NFT Drop
    • 🌐Xerial Global Wallets
      • Get User Wallet Info
      • Get Global Inventory
      • User Authorization
      • Logout
  • đŸ› ī¸Xerial SDK
    • Wallet SDK
  • đŸŽī¸Gaming Toolkit
    • đŸ•šī¸Xerial Unity SDK Guide
      • âŦ‡ī¸Installation
      • âš™ī¸Configuration
      • Xerial Services
        • Set Up Xerial Services
        • Service Managers
          • Session Manager
          • Wallet Manager
            • UserData Class
              • Account Class
              • Wallet Class
              • Creating UserData Class
          • Inventory Manager
            • NFTs
              • Metadata
              • Attributes
            • NFTInventory Class
            • Creating NFT Inventory
          • MarketPlace Manager
    • Unreal Engine SDKs
Powered by GitBook
On this page
  • Overview
  • Responses
  • Usage
  1. Xerial APIs
  2. Marketplace API

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.

PreviousMarketplace APINextGet Community Listed Items

Last updated 1 year ago

â˜„ī¸
🛒