Cointime

Download App
iOS & Android

NFTScan Officially Launches ERC-404 NFT API Data Service

Validated Project

Recently, the NFTScan team officially launched the ERC404 NFT API data service, dedicated to providing concise and efficient NFT data search and query services for NFT developers and users in the Web3 ecosystem. ERC-404 is currently one of the Ethereum standards that has attracted widespread market attention.

ERC-404 is a protocol standard that combines ERC-20 and ERC-721, meaning NFTs and tokens can be converted between each other, providing native liquidity and fragmentation of protocol. In simpler terms, this protocol allows NFTs to be divided and traded like tokens, similar to splitting a picture into multiple parts, enabling multiple people to collectively own a part of that picture. The introduction of ERC-404 is a significant improvement for NFT projects that originally lacked liquidity.

NFTScan’s ERC404 NFT API is an interface service designed for ERC404 data search and query. It helps developers quickly and accurately retrieve NFT data, significantly improving the development efficiency of Web3 applications.

  • Powerful search and filtering features: Developers can search and filter NFTs based on various criteria such as token address, owner address, etc., to quickly find the desired data.
  • Real-time NFT data synchronization: The API synchronizes on-chain NFT data changes in real time, ensuring developers get the latest, accurate data.
  • Scalable API call limits: Depending on the subscription plan, developers can get multiple API call quotas per second, meeting the needs of different application scenarios.
  • Documentation and SDK support: Detailed API documentation and SDKs for mainstream programming languages are provided, making it easy for developers to integrate.

By providing a one-stop NFT data solution for developers, NFTScan simplifies the process of acquiring and processing NFT data, improving development efficiency.

Before using the NFTScan API, you need to visit the developer website and create an account. Visit the NFTScan official website and click on the “Sign Up” button for NFTScan API registration.

https://developer.nftscan.com/user/signup

Sign up

Once logged in, find your unique API KEY on the Dashboard. Visit the API documentation, enter your API KEY in the appropriate place as instructed in the documentation, and you can start using the API service. In the API documentation, developers can find various interface modes to choose from based on their needs.

In the Dashboard, developers can also view statistics on their API usage, helping to track historical usage data. Additionally, NFTScan provides each registered developer with 1M CU of API call services for requesting all NFT API interfaces, and the CU never expires until used up!

After successfully registering a developer account and obtaining an API Key, you need to view the NFTScan API documentation. The API documentation includes all available API endpoints, parameters, and detailed information on how to build requests and handle responses. Read the API documentation carefully and make sure you understand how to use the API to retrieve the data you need. NFTScan API services aim to help developers improve their NFT data analysis experience.

NFTScan currently has the largest and most comprehensive NFT Collection library, supporting full NFT data from 23 blockchains such as Ethereum, Solana, BNBChain, Bitcoin, Mint, etc. The included NFT data covers a wide range of categories, providing a complete set of interfaces to obtain ERC721, ERC1155, ERC404, and ERC6551 assets, as well as transaction, project, and market statistics. It now supports over 60 public interfaces for EVM-compatible chains, as well as a batch of interfaces for Solana, Aptos, Bitcoin, TON, and others using similar models, effectively meeting developers’ needs for indexing various types of NFT data.

  1. Get transactions by token

API Path: /v2/erc404/transactions/token/{token_address}

This API is used to retrieve transaction information for a specified token address. By calling this API, developers can fetch all transaction records related to a specific token address. Here, we are retrieving the full transaction information for the token address: 0x00000000004366d625e61e504f9243ac245a3ca4.

By clicking on “Try it”, a total of 983 transaction records are returned, including NFTScan tx ID, Token contract address, sender and receiver addresses, transaction amount, block number, transaction hash value, and transaction timestamp. These data provide developers with rich transaction information, enabling them to conduct more in-depth data analysis and application development.

nftscan_tx_id: “1937373900260245” uniquely identifies each transaction.

token: “0x00000000004366d625e61e504f9243ac245a3ca4” is the address of the Token contract.

send: “0x0000000000000000000000000000000000000000” is the sender’s address, the account address initiating the transaction. When the value is 0x0000000000000000000000000000000000000000, it indicates a mint transaction, meaning the creation of new Tokens.

receive: “0xffcbb529313182cc53b430202343933d9fac66b4” is the receiver’s address, the account address receiving the Tokens.

amount: “1” is the number of Tokens transferred in the transaction.

block_number: 19373739 is the block number in the blockchain where the transaction is located.

tx_hash: “0x7f0d762081d8068b2c5e8ccebffca53473f88932fdfddac81fdbd528a6d8b3af” uniquely identifies the transaction with the transaction hash value.

timestamp: 1709699243000 is the specific timestamp when the transaction occurred.

2. Get owners by token

API Path: /v2/erc404/owners/token/{token_address}

This API is used to retrieve the owner information for a specified ERC404 token contract address. By calling this API, developers can fetch all current owners related to a specific token address. Here, we are retrieving the owner information for the address 0x00000000004366d625e61e504f9243ac245a3ca4. Clicking "Try it" returns 982 records. Each record primarily contains:

  • Owner Address: The account address currently holding the token.
  • Holding Amount: The number of tokens held by each owner.

3. Get tokens by owner

API Path: /v2/erc404/tokens/account/{account_address}

This API is used to retrieve all ERC404 token information held by a specified account address. By calling this API, developers can fetch all ERC404 token data related to a specific account address.

Here, we are retrieving the ERC404 token information for the wallet address 0x634ec0777185c68b931e567389dd3cb6d2ec30f6, including the token contract address, token type, NFT contract address (nft_contract), token icon, token name, token symbol, holding amount, and total supply of the token.

It can be seen that this account holds a total of 2 DN404 tokens, with addresses as follows:

  • 0x00000000004366d625e61e504f9243ac245a3ca4
  • 0x000000000503be77a5ed27bef2c19943a8b5ae73

4. Get transactions by owner

API Path: /v2/erc404/transactions/account/{account_address}

This API is used to retrieve all transaction information related to the ERC404 protocol for a specified account address. This API primarily returns all transaction records associated with the specified account address and ERC404 tokens, including sender and receiver addresses, transaction amounts, block numbers, transaction hash values, and timestamps.

Here, we are primarily retrieving the transaction information for the account address 0x634ec0777185c68b931e567389dd3cb6d2ec30f6.

5. Get all tokens

API Path: /v2/erc404/tokens

This API is used to retrieve data information for all ERC404 tokens on the blockchain. Specifically, this API provides details for each token, including its contract address, type, NFT contract address, logo URL, name, symbol, number of holders, total supply, and transaction volume.

Building NFT data requests with NFTScan is very simple and convenient. Developers just need to find the required API endpoint in the documentation and review the endpoint URL, request method, request parameters, and other details. Then, they can choose their preferred programming language according to their needs and quickly integrate the API to obtain the necessary ERC404 NFT data.

For example, to request detailed information on all transaction records for the ERC404 token address 0x00000000004366d625e61e504f9243ac245a3ca4 using Python, you can use the endpoint: /v2/erc404/transactions/token/{token_address}. Here is how you can construct the request:

import requestsAPI_KEY = 'your_api_key_here'token_address = '0x00000000004366d625e61e504f9243ac245a3ca4'url = f'https://api.nftscan.com/v2/erc404/transactions/token/{token_address}'headers = { 'Authorization': f'Bearer {API_KEY}'}response = requests.get(url, headers=headers)if response.status_code == 200: data = response.json() for transaction in data: print(transaction)else:print(f'Failed to fetch transactions: {response.status_code}, {response.text}')

In this code snippet, replace your_api_key_here with your actual API key. Then, use the requests.get method to send an HTTP GET request to the NFTScan API endpoint, including the API key in the request headers. If the request is successful, it will print the returned transaction details; otherwise, it will print an error message.

In summary, the ERC404 API helps developers quickly and accurately obtain comprehensive ERC404-related data covering major blockchains. It provides powerful search and filtering functions, real-time data synchronization, scalable API call limits, and comprehensive documentation and SDK support. This one-stop NFT data solution significantly improves development efficiency. We invite you to make use of it!

NFTScan is the world’s largest NFT data infrastructure, including a professional NFT explorer and NFT developer platform, supporting the complete amount of NFT data for 20+ blockchains including Ethereum, Solana, BNBChain, Arbitrum, Optimism, and other major networks, providing NFT API for developers on various blockchains.

Official Links:

NFTScan: https://nftscan.com

Developer: https://developer.nftscan.com

Twitter: https://twitter.com/nftscan_com

Discord: https://discord.gg/nftscan

Join the NFTScan Connect Program

Comments

All Comments

Recommended for you

  • Putin: Russia "supports" Harris, calls her smile "contagious"

    According to foreign media such as TASS and Russia's Sputnik News, Jinse Finance reported that on the afternoon of September 5th local time, Russian President Putin said at the plenary session of the Eastern Economic Forum 2024 that Russia will "support" the US Democratic Party presidential candidate and vice president Harris as recommended by the US President Biden in the upcoming US presidential election. When asked how he viewed the 2024 US election, Putin said it was the choice of the American people. The new US president will be elected by the American people, and Russia will respect the choice of the American people. Putin also said that just as Biden suggested his supporters to support Harris, "we will do the same, we will support her." The report said that Putin also joked that Harris' laughter is "expressive and infectious," which shows that "she is doing everything well." He added that this may mean that she will avoid further sanctions against Russia.

  • An ETH whale repurchased 5,153 ETH with 12.23 million USDT 20 minutes ago

    A certain high-frequency trading ETH whale monitored by on-chain analyst Yu Jin bought 5,153 ETH with 12.23 million USDT 20 minutes ago.

  • CFTC: Uniswap Labs has actively cooperated with the investigation and only needs to pay a fine of US$175,000

    The CFTC has filed a lawsuit against Uniswap Labs and reached a settlement. It was found that Uniswap Labs illegally provided leveraged or margined retail commodity transactions of digital assets through a decentralized digital asset trading protocol. Uniswap Labs was required to pay a civil penalty of $175,000 and cease violations of the Commodity Exchange Act (CEA). The CFTC acknowledged that Uniswap Labs actively cooperated with law enforcement agencies in the investigation and reduced the civil penalty.

  • Federal Reserve Beige Book: Respondents generally expect economic activity to remain stable or improve

    The Federal Reserve's Beige Book pointed out that economic activity in three regions has slightly increased, while the number of regions reporting flat or declining economic activity has increased from five in the previous quarter to nine in this quarter. Overall employment levels remain stable, although some reports indicate that companies are only filling necessary positions, reducing working hours and shifts, or reducing overall employment levels through natural attrition. However, reports of layoffs are still rare. Generally speaking, wage growth is moderate, and the growth rate of labor input costs and sales prices ranges from slight to moderate. Consumer spending has declined in most regions, while in the previous reporting period, consumer spending remained stable overall.

  • Puffpaw Completes $6 Million Seed Round with Lemniscap Ventures as Participant

    Puffpaw has announced the completion of a $6 million seed round of financing, with participation from Lemniscap Ventures. The Puffpaw project plans to launch a blockchain-enabled electronic cigarette aimed at helping users reduce nicotine intake through token incentives. The project encourages users to quit smoking by recording their smoking habits and rewarding them with tokens. Puffpaw's token economics aims to cover 30% of the cost of users' first month of using their product and provide social rewards. The project also considers possible system abuse, but the issue of users potentially reporting smoking habits dishonestly is not yet clear.

  • Affected by Ethervista and others, Ethereum Gas temporarily rose to 33gwei

    According to Etherscan, due to the influence of contracts such as Ethervista, Ethereum Gas has temporarily risen to 33gwei, with the top three being EthervistaRouter, UniswapRouter, and BananaGun.

  • The probability of the Fed cutting interest rates by 25 basis points in September is 55%.

    The probability of the Federal Reserve cutting interest rates by 25 basis points in September is 55.0%, while the probability of a 50 basis point cut is 45.0%. The probability of the Federal Reserve cutting interest rates by a cumulative 50 basis points by November is 32.1%, by 75 basis points is 49.2%, and by 100 basis points is 18.8%.

  • Nvidia: No subpoena received from the US Department of Justice

    Nvidia (NVDA.O) stated that it has not received a subpoena from the US Department of Justice.

  • US SEC again postpones decision on environmentally friendly Bitcoin ETF listing application

    The US Securities and Exchange Commission (SEC) has once again postponed its final decision on the New York Stock Exchange (NYSE) Arca's application for a carbon offset Bitcoin ETF. According to a document dated September 4th, the decision has been extended to November 21st. The ETF aims to provide a Bitcoin investment exposure in an environmentally friendly way by offsetting carbon emissions, tracking an investment portfolio composed of 80% Bitcoin and 20% carbon credit futures. Tidal Investments submitted the fund registration application in December 2023, while NYSE Arca submitted the initial application in March. Concerns have been raised about the environmental impact of Bitcoin mining, with the International Monetary Fund (IMF) reporting that cryptocurrency mining accounts for 1% of global greenhouse gas emissions. The delay in this decision also includes the postponement of approval for the Nasdaq One-Stop Cryptocurrency Investment Portfolio ETF.

  • Pudgy Penguins CEO:何为消费级加密货币应用

    加密货币行业中的一些 builder 努力地重复造轮。如今,一些突破性的消费级产品,若是能基于区块链打造并利用好加密货币的激励机制,其规模可能是现在的 10 倍。与其试图重新创建一种模式,不如利用现有的模式进行加密化改造。我认为,许多尚未面世的消费级加密货币应用在 Web2 中都有对应的产品,它们正等待着通过加密货币释放巨大的增长潜力。