Back to LiveQuery Integrations

    NFTScan API

    NFTScan API from NFTScanNFTScan
    Log in to Manage

    NFTScan is the largest NFT data infrastructure, supporting the complete amount of NFT data for 16+ blockchains, and providing multi-chain NFT data API to over 4000 developers.

    • NFTScan Explorer: https://nftscan.com
    • NFTScan Developer Platform: https://developer.nftscan.com
    • API Doc: https://docs.nftscan.com
    • Support: [email protected]
    SELECT nftscan.get(
      'https://restapi.nftscan.com/api/v2/account/own/0xca1257ade6f4fa6c6834fdc42e030be6c0f5a813', 
      {'erc_type': 'erc721'}
    ) as resp;
    
    Getting Started

    To get started building with NFTScan, you'll need to create an account and generate an API key.

    • Before using the NFTScan API, visit the NFTScan developer platform and create an account. Register by clicking the “Sign Up” button on the NFTScan API page. Create a free account with NFTScan developer platform
    • After logging in, find your unique API KEY on the Dashboard. Access the API documentation and enter your API KEY where required. NFTScan API Doc
    • The API documentation contains all available API endpoints, parameters, and detailed information on building requests and handling responses. Carefully read the API documentation and ensure you understand how to use the API to retrieve the required data.
    Overview

    NFTScan provides Web3 developers with the most professional, comprehensive and authoritative NFT data services and solutions. Through establishing the full NFT data information of multiple blockchain networks with standardized indexing methods, the NFTScan APIs help developers build new experiences retrieving NFTs. We provide a set of endpoints that enable you to fetch ERC721 and ERC1155 NFT assets as well as transactions, collections, marketplace statistics and more.

    Use Cases

    NFTScan API indexes all core aspects of NFTs on multiple blockchains and provides quick access to this through a suite of data-focused API endpoints. No matter what you are building, NFTScan API will support the data you will need.

    Retrieve Assets

    • Get NFTs by account: This endpoint returns a set of NFTs owned by an account address.
    • Get all NFTs by account: This endpoint returns all NFTs owned by an account address. And the NFTs are grouped according to contract address. Note: If the account address owns more than 2000 NFTs in total, the NFTs returned will be restricted to less than 2000. In this case, you can request Get NFTs by account for all NFTs the account address owns by paging query.
    • Get minted NFTs by account: This endpoint returns a set of NFTs minted by an account address.
    • Get NFTs by contract: This endpoint returns a set of NFTs that belong to an NFT contract address. The NFTs are sorted by token_id with ascending direction.
    • Get single NFT: This endpoint returns a single NFT.
    • Get multiple NFTs: This endpoint returns a set of NFTs according to the search list in the request body.
    • Search NFTs: This endpoint returns a list of NFT assets by applying search filters in the request body. The assets are sorted by nftscan_id with ascending direction.
    • Get NFTs by attributes: This endpoint returns a set of NFTs that belong to an NFT contract address with attributes. The NFTs are sorted by token_id with ascending direction.
    • Get all multi-chain NFTs by account: This endpoint returns all multi-chain NFTs owned by an account address. And the NFTs are grouped according to contract address.

    Retrieve Transactions

    • Get transactions by account: This endpoint returns a list of NFT transactions for an account address. The transactions are sorted by timestamp with descending direction.
    • Get transactions by contract: This endpoint returns a list of NFT transactions for an NFT contract address. The transactions are sorted by timestamp with descending direction.
    • Get transactions by NFTSearch transactions: This endpoint returns a list of NFT transactions for a single NFT. The transactions are sorted by timestamp with descending direction.
    • Get transactions by to address: This endpoint returns a list of NFT transactions filtered by the param to of the transaction. The transactions are sorted by timestamp with descending direction.

    Retrieve Collections

    • Get an NFT collectionSearch NFT collections: This endpoint returns information for a collection with the given NFT contract address.
    • Get NFT collections by account: This endpoint returns information for a list of collections with the given account address. The collections are sorted by floor_price with descending direction.
    • Get NFT collections by ranking: This endpoint returns information for a list of collections with the given ranking field. The collections are sorted by the given ranking field with the given sort direction.

    Account Statistics

    • Account Overview Statistics: This endpoint returns overview statistics for an account address referring to NFTScan Overview
    • Account Holding Distribution: This endpoint returns NFT holding distribution statistics for an account address referring to NFTScan Portfolio.
    • Refresh Metadata
    • Refresh NFT metadata: This endpoint enables you to submit a background task. The task will refresh the metadata of a specified NFT asset.
    • Refresh NFT metadata by contract: This endpoint enables you to submit a background task. The task will refresh the metadata of the entire contract after review.

    Other

    • Get NFT owners by contract: This endpoint returns information for ERC721 and ERC1155 NFT amount owned by an account address according to the search list in the request body.
    • Get owners by an NFT: This endpoint returns a list of owners for an ERC1155 NFT. The NFTs are sorted by account_address with ascending direction.