NFT Blur Marketplace API: Comprehensive Guide to Blockchain Data Access (V2)

ยท

The NFT Blur Marketplace API offers extensive capabilities for accessing real-time and historical data from the BLUR NFT marketplace. This powerful tool enables developers, analysts, and traders to monitor trading activity, analyze market trends, and track loan transactions with precision.

Key Features of the Blur Marketplace API

๐Ÿ‘‰ Explore NFT Marketplace APIs

Understanding Blur Marketplace Transactions

Latest Trades on Blur Marketplace

The Blur Marketplace utilizes the Seaport protocol for NFT transactions. This query retrieves the 10 most recent trades:

query LatestBlurTrades {
  EVM {
    DEXTrades(
      limit: { offset: 0, count: 10 }
      orderBy: { descendingByField: "Block_Time" }
      where: {
        Trade: { Dex: { ProtocolName: { is: "seaport_v1.4" } } }
        Transaction: {
          To: { is: "0x39da41747a83aeE658334415666f3EF92DD0D541" }
        }
      }
    ) {
      Trade {
        Dex { ProtocolName }
        Buy {
          Price
          Seller
          Buyer
          Currency {
            HasURI
            Name
            Fungible
            SmartContract
          }
        }
        Sell {
          Price
          Amount
          Currency { Name }
          Buyer
          Seller
        }
      }
      Transaction { Hash }
      Block { Time }
    }
  }
}

Key Parameters:

Analyzing Market Activity

Top Traded NFTs on Blur

This query identifies the most actively traded NFT collections:

query TopTradedNFTs {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {
        Trade: {
          Dex: { ProtocolName: { in: "seaport_v1.4" } }
        }
        Transaction: {
          To: { is: "0x39da41747a83aeE658334415666f3EF92DD0D541" }
        }
      }
      orderBy: { descendingByField: "count" }
      limit: { count: 10 }
    ) {
      tradeVol: sum(of: Trade_Buy_Amount)
      count
      buyers: count(distinct: Trade_Buy_Buyer)
      seller: count(distinct: Trade_Buy_Seller)
      nfts: count(distinct: Trade_Buy_Ids)
      Trade {
        Buy {
          Currency {
            Name
            ProtocolName
            Symbol
            Fungible
            SmartContract
          }
        }
      }
    }
  }
}

๐Ÿ‘‰ Discover Advanced NFT Analytics

Loan Tracking and Analysis

NFT Loan Transactions

Blur utilizes the Blend protocol for NFT-backed loans. This query retrieves recent loan activity:

query RecentLoans {
  EVM(dataset: combined, network: eth) {
    Events(
      where: {
        LogHeader: {
          Address: { is: "0x29469395eaf6f95920e59f858042f0e28d98a20b" }
        }
        Log: { Signature: { Name: { is: "LoanOfferTaken" } } }
      }
      limit: { count: 10 }
      orderBy: { descending: Block_Time }
    ) {
      Block { Number }
      Transaction { Hash }
      Log {
        SmartContract
        Signature {
          Name
          Signature
        }
      }
      Arguments {
        Name
        Value {
          ... on EVM_ABI_Integer_Value_Arg { integer }
          ... on EVM_ABI_String_Value_Arg { string }
          ... on EVM_ABI_Address_Value_Arg { address }
          ... on EVM_ABI_BigInt_Value_Arg { bigInteger }
          ... on EVM_ABI_Bytes_Value_Arg { hex }
          ... on EVM_ABI_Boolean_Value_Arg { bool }
        }
      }
    }
  }
}

Frequently Asked Questions

What data can I access with the Blur Marketplace API?

The API provides comprehensive access to:

How do I filter for specific NFT collections?

Use the Arguments.includes parameter with the collection contract address to target specific NFT projects.

Can I track loan repayments?

Yes, the API supports querying repayment events filtered by LienID or borrower address.

What's the difference between V1 and V2 of this API?

V2 introduces enhanced filtering capabilities, support for additional event types, and improved query performance.

How frequently is the data updated?

The API provides near real-time data with updates occurring as transactions are confirmed on-chain.

Can I analyze trading patterns of specific wallets?

Yes, the API allows filtering by buyer/seller addresses to analyze individual trading activity.