Build a Profile Page

This guide will enable you to build a user profile page using the NFTGo API.

What is the profile?

The profile page shows your users' on-chain info, including the NFTs list, activity record, and profit analysis. The profile is the fundamental part of the marketplace, you can customize your profile page from basic details to advanced analysis by our API.

Pre-requisites

  • Kindly take some time to grasp the core concepts of business, it's vital to the integration.
  • Your API Key is prepared, make sure you have access to the endpoints. Get your API key here.

Best Practice

Display metrics

Using this API [Get metrics by address] to retrieve the user's metrics, such as portfolio value, NFT mint, buy, sell, transfer number, total gas, total spent, etc.

NFT list

  • Display NFT list

    Using this API [Get NFTs by owner] to retrieve the NFT list that the user holds.

  • Display the received offers

    • Use this API Get received offers of an address to retrieve the NFT list that received offers of an address, including the best offer, floor difference, estimated profit, etc.
    • If you only need the offer order data, Use this API [Get Received Best Offers By Wallet] to retrieve the highest offer price of this NFT across the marketplaces and the order details . The best offers can be displayed on your users' profiles, allowing easy access to the best prices for all their NFTs, providing convenience and promoting sales.
    • To initiate the filter, use the API Get related info of received offers to retrieve the lists of collections and marketplaces related to the received offers. This can be used to filter the received offer list.
  • Display the created offers

    • Use this API Get created offers of an address to retrieve the offers created by an address, including the NFT data, offer price, floor difference, to address, offer order details, etc.
    • If you only need the offer order data, use this API [Get Orders By Maker] to retrieve the offer orders that made by the wallet address. Query offer orders by the 'order type' query parameter. it returns the info including order info, fee, price, marketplace info, etc.
    • To initiate the filter, use the API Get related info of created offers to retrieve the lists of collections and marketplaces related to the made offers. This can be used to filter the made offer list.
  • Display the created listings

    • Use this API Get created listings of an address to retrieve created listings of a wallet address, including the listing data, marketplace data, etc.
    • If you only need the listing order data, use this API [Get Orders By Maker] to retrieve the orders that made by the wallet address. Query offer orders by the 'order type' query parameter. it returns the info including order info, fee, price, marketplace info, etc.
    • To initiate the filter, use the API Get related info of created listings to retrieve the lists of collections and marketplaces related to the listing order. This can be used to filter the listing.
  • Display transaction history

    Using this API [Get address transaction history] to retrieve the transaction history of the wallet address.

Enable list NFT for sale, instant sell, batch sell NFT

Advanced analysis of the wallet

  • Portfolio value trend

    Using this API [Get portfolio chart by address] to retrieve the total values of the wallet address during a selected time range.
  • Related address

    Using this API [Get related addresses] to get a list of addresses that have made transfers with the wallet.