How to use Tokenview NFT API to Develop a NFT Marketplace platform like OpenSea?

What data do you need to create an NFT marketplace platform?

In WEB3, with the continuous expansion of NFT ecology, many brands and enterprises are building their own NFT platforms. However, from development to scene implementation, there is a long-term cost investment.

Take OpenSea as an example. As an NFT trading market platform, OpenSea provides NFT collection , NFTID transaction data on each collection, user transaction list display, and the NFT image, contract address, owner and other data under each Token ID.

Tokenview NFT API is a multi-chain, high-performance NFT API interface service, which can help enterprises obtain NFT data efficiently and stably for NFT platform construction while saving input costs.

What data can you use to build an NFT platform from the Tokenview NFT API?

Open https://services.tokenview.io#utm_source=M&utm_medium=D&utm_campaign=medium, using the registered email account, after the success of the registration system for you to create a project, and assign a NFT APIKEY.

Open the corresponding NFT API document and refer to the call interface link in the document to quickly obtain the basic NFT data information.

1. Obtain the collection of all NFTs on Ethereum

Tokenview API supports querying all ERC721 and ERC1155 contracts on Ethereum.

https://eth.tokenview.io/v2api/rctokens/rc721?uniqueId=eth&pageNum=1&pageSize=10&orderby=volume24hours&direction=desc

https://eth.tokenview.io/v2api/rctokens/rc1155?uniqueId=eth&pageNum=1&pageSize=10&orderby=volume24hours&direction=desc

2. NFT Collection information

Use the following interface link and entering the chain you want to query, the NFT contract address, and the Tokenview NFT APIKEY you get, you can get all the basic information about the NFT set.

https://services.tokenview.io/nft/{chain_abbreviation_lowercase}/blockdata/collection/info/{collection_address}?apikey={apikey}

  • {chain_abbreviation_lowercase}: such as eth
  • {collection_address}: the collection address you inquired(0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d)

3. NFTID transactions Lists

Use the following interface link and enter the chain you want to query, the NFT contract address, the NFTID of the query, the page number, the amount of data returned on a page, and the Tokenview NFT APIKEY you get, you can get a list of NFTID transactions on all collections.

https://services.tokenview.io/nft/{chain_abbreviation_lowercase}/blockdata/nfts/tokentrans/{collection_address}/{nft_id}/{page}/{page_size}?apikey={apikey}

  • {chain_abbreviation_lowercase}: such as eth
  • {collection_address}: the collection address you inquired (0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d)
  • {nft_id}: nft id(1818)
  • {page}: page number(1)
  • {page_size}: amount of data returned on one page(20)

4. User NFT Transactions List

Use the following interface link and enter the public link you want to query, the page number, the amount of data returned on a page, and the Tokenview NFT APIKEY obtained to get a list of the latest 1000 NFT transactions.

https://services.tokenview.io/nft/{chain_abbreviation_lowercase}/blockdata/transactions/rc721/{page}/{page_size}?apikey={apikey}

The call results are arranged in reverse chronological order, showing the information of the latest 1000 transactions of the wallet address.

  • {chain_abbreviation_lowercase}: such as eth
  • {page}: page number(1)
  • wallet address:0xf960a94f0b11b9c2742bc24421fc9ec43470ba76
  • {page_size}: amount of data returned on one page(20)

Finally, create and deploy your own trading contracts to build a complete NFT marketplace! More links to other interfaces can be found and used in the NFT API documentation.

Creating a NFT data platform is an enormous amount of work for businesses and project parties that want to build a WEB3 brand. This also poses challenges for developers.

The Tokenview NFT API provides data support for the development of NFT marketplace, including all NFT projects on Ethereum (Collections), transaction lists, and NFTIDs data. The Tokenview NFT APIs allow developers to quickly construct NFT application platforms without relying on native APIs, building nodes, etc.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tokenview.io

Tokenview.io is the Multi-crypto blockchain explorer & data platform. It covers 120+ public chains, it provides both data and nodes services for blockchains.