Giter Club home page Giter Club logo

nft-api's Introduction

Moralis NFT API

Unlock the potential of your NFT app with Moralis' NFT API. Our cross-chain NFT API solution simplifies the process of launching, verifying, analyzing, trading, and showcasing NFTs. Designed by developers for developers, our API empowers you to build remarkable NFT experiences effortlessly.

Join Moralis and revolutionize your NFT app development, creating meaningful shared experiences for your users across the web3 ecosystem. Explore our NFT API to access the top features and unlock cross-chain NFT compatibility, making your NFT app development faster and more efficient than ever.

Quick Start to NFT API

  1. Get an API key
  2. Explore the documentation guides
  3. Explore the full list of endpoints
  4. Explore API reference

Boost Your dApp with the NFT API

The Moralis NFT API is your ultimate ally for creating a top-tier NFT dApp. Whether you are venturing into the world of NFT gaming, building a secure NFT wallet, launching a bustling NFT marketplace, crafting insightful NFT analytics tools, developing a dazzling NFT dashboard, or exploring any NFT-based endeavor, you need the robust Moralis NFT API in your toolkit!

unnamed

Explore the Power of the NFT API

In the NFT ecosystem, data reigns supreme, and the Moralis NFT API is your gateway to success. Unlock a world of features to take your dApp to the next level:

  1. NFT Metadata: Access stunning NFT metadata effortlessly to showcase your digital art, collectibles, and assets.
  2. NFT Ownership Data: Dive into ownership records to personalize the NFT experience and engage your users.
  3. NFT Transfer Data: Seamlessly track NFT transfers and transactions, ensuring a smooth user journey.
  4. NFT Price Insights: Stay ahead of the curve with real-time NFT price data and market trends, providing users with valuable financial information.
  5. Cross-Chain Compatibility: Seamlessly access NFT data across Ethereum, Polygon, and other blockchains. No more tedious and time-consuming data retrieval – it's all at your fingertips.
  6. Universal Accessibility: Find, verify ownership, and access transfer history and collection information for any NFT, without navigating complex smart contracts. We make NFTs universally accessible.
  7. Developer-Centric: Our NFT Metadata API provides instant access to metadata, traits, and collection details, saving you countless hours of development work and supercharging your project.
  8. Fetch and Filter NFTs: Easily retrieve comprehensive data for Ethereum, Polygon, and Solana NFT projects.
  9. Transaction History: Effortlessly access all NFT transactions associated with a specific address through a simple request.
  10. Collection Insights: Instantly gather real-time data about NFT collections, including traits, ownership, and transfer history, using just one API call.
  11. Ownership Verification: With NFT ownership constantly changing, our API ensures accurate and up-to-date ownership verification to prevent misrepresentations and unauthorized access.

If these powerful features are essential for your dApp's success (and they definitely are!), read on to embark on a remarkable NFT journey with Moralis!

Enhance NFT Security with Spam Detection

Our cutting-edge spam detection feature is a game-changer for NFT enthusiasts. Designed to fortify your NFT journey, this feature introduces a possible_spam field that promptly identifies potential spam, phishing, or suspicious contracts. By categorizing contracts as spam, we ensure they undergo meticulous evaluation, encompassing compliance with industry standards, scrutinizing minting and transfer activities (including honeypot detection), and examining potential copycat behavior.

But that's not all - you can actively participate in enhancing NFT security. Head over to our comprehensive tutorial on reporting NFT spam at https://docs.moralis.io/web3-data-api/evm/report-nft-spam.

This functionality is available on all Ethereum Virtual Machines (EVMs), but our initial classification specifically covers contracts on the Ethereum mainnet, Polygon mainnet, and Binance mainnet.

To identify which endpoints support spam detection, you can refer to the next section.

List of NFT API Endpoints

The following table contains a list of all NFT API endpoints:

No. Method Description API Reference URL Spam Detection
1 getMultipleNFTs Get multiple NFTs Method Documentation https://deep-index.moralis.io/api/v2.2/nft/getMultipleNFTs
2 getWalletNFTs Get NFTs by wallet Method Documentation https://deep-index.moralis.io/api/v2.2/:address/nft
3 getContractNFTs Get NFTs by contract Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address
4 reSyncMetadata Resync the metadata for an NFT Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/:token_id/metadata/resync
5 getNFTMetadata Get NFT data Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/:token_id
6 getWalletNFTTransfers Get NFT transfers by wallet Method Documentation https://deep-index.moralis.io/api/v2.2/:address/nft/transfers
7 getNFTContractTransfers Get NFT transfers by contract Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/transfers
8 getNFTTransfersFromToBlock Get transfers of NFTs from a block number to a block number Method Documentation https://deep-index.moralis.io/api/v2.2/nft/transfers
9 getNFTTransfersByBlock Get transfers of NFTs given a block number or block hash Method Documentation https://deep-index.moralis.io/api/v2.2/block/:block_number_or_hash/nft/transfers
10 getNFTTransfers Get transfers of an NFT given a contract address and token ID Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/:token_id/transfers
11 getWalletNFTCollections Get NFT collections owned by a given wallet address Method Documentation https://deep-index.moralis.io/api/v2.2/:address/nft/collections
12 getNFTContractMetadata Get the collection/contract level metadata for a given contract Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/metadata
13 syncNFTContract Initiates a sync of a previously non-synced contract Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/sync
14 getNFTOwners Get owners of NFTs for a given contract Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/owners
15 getNFTTokenIdOwners Get owners of a specific NFT given the contract address and token ID. Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/:token_id/owners
16 getNFTTrades Get trades of NFTs for a given contract and marketplace Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/trades
17 getNFTLowestPrice Get the lowest executed price for an NFT contract for the last x days Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/lowestprice
18 getNFTCollectionStats Get the stats for a NFT collection address Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/stats
19 getNFTTokenStats Get the stats for a NFT token Method Documentation https://deep-index.moralis.io/api/v2.2/nft/:address/:token_id/stats

List of Supported Chains

Please check the article Supported Chains Overview.

⭐️ Star us

If this NFT API helps you - please star this project, every star makes us very happy!

Moralis NFT API is the ultimate tool for building an NFT application. Looking to build an NFT project such as an NFT marketplace, a portfolio site, NFT-based authentication or an NFT auction site? If so, Moralis NFT API is the tool for you.

It’s never been so easy to fetch NFT metadata, NFT owners, NFT transfers, NFT collection metadata, and much more. This NFT API isn’t just blazing fast - it also features support for a long list of EVM chains, such as Ethereum, BNB Chain, Polygon, Arbitrum, Avalanche, Palm Network, and many more!

🤝 Need help?

If you need help with using the NFT API or have other questions - don't hesitate to write in our community forum and we will check asap. Forum link. We are answering questions 24/7

nft-api's People

Contributors

0xpr0f avatar coderoypihl avatar ivan-liljeqvist avatar nazeim avatar y0moo avatar yosephks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nft-api's Issues

Integration with DCL (Decentraland) contracts

I'm using to get metadata of DCL lands.
For the sake of test, I deployed all of them to Rinkeby and tried to fetch Metadata.
But It shows empty metadata.

I'm sure that it's not a bug of , but that I'm doing sth wrong with DCL integration.

Can anyone tell me how I can get metadata of DCL contracts?

image (2)

Increasing limit past 500?

Great work Moralis, Love the API and everything you guys have done for the community!

Instead of having to put through 1,000 API requests to gain 50,000 results (500 per page).
Would it be possible to just increase the "limit" parameter to the number of 'total' NFTs in an initial query!

This would reduce the number of API calls i need to do, although increasing the payload I guess! Currently I can reduce the limit, but the maximum size seems to be 500!

Just a thought I thought I'd put out there, especially when we have rate limits and rules to abide by!

multi-page queries, cursor, offset etc.

Hi,
new here. How should multipage queries work?
should I get the cursor and then feed it back to the next query? when do I know I got to the end?

How are offset and cursor related?
Please provide documentation of best practice to collect multi-page results.

GetNFTsForContract update is very slow and generate duplicated values

When account A transfers an NFT to account B using Moralis.transfer(options) and after receipt confirmation account A calls the function getNFTsForContract to check the balance, the result is not immediately updated and the NFT keeps being listed for account A for a duration around 30s~2min (on rinkeby, bsctestnet few faster). But despite this delay problem, during this time the NFT will also be listed for account B, so both accounts A and B will show the NFT in getNFTsForContract result. After this delay, account A balance is updated and both account balances finally are updated. Any idea how to show a faster and updated NFT balance?
I´m using Moralis Nitro server version 0.0.346, moralis and react-moralis 1.3.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.