Our NFT API lets you find any NFT, verify ownership, and pull transaction history and key collection information, without sorting through individual smart contracts.
Grabbing NFT metadata before required developers to parse individual smart contracts, sort through irregular data sets, and go through the time-consuming task of cleansing and stitching (often requiring custom code and the build out of monitoring infrastructure) to pull insights around an NFT’s current owner, transaction history, and collection insights. QuickNode’s NFT API Add-On normalizes this data and makes it searchable and accessible, letting anyone now query across different projects in a simple call, saving time and money.
import { useState, useEffect } from 'react'; import axios from 'axios'; const Avatar = () => { const [url, setUrl] = useState(null); useEffect(() => { const provider = 'https://quick-infra-structure.quiknode.pro/2f568e4df78544629ce9af64bbe3cef91494766f5/'; axios.post(provider).then(({ assets }) => { setUrl(assets[0].imageUrl); }); }); return; }; export default Avatar;
The NFT API is an add-on feature that can be accessed through any QuickNode-powered API node plan for the following blockchains:
Ethereum is the community-run technology powering the cryptocurrency ether (ETH) and thousands of decentralized applications.
Learn more →Solana is a decentralized blockchain built to enable scalable, user-friendly apps for the world.
Learn more →NFTs are constantly changing hands, and projects using NFTs need up-to-date data to verify ownership in real-time. Tracking this is critical for any NFT project. Webhooks built into QuickNode’s NFT API Add-On allow applications to receive updates and transfer events automatically.
Networks supported
const ethers = require("ethers"); (async () => { const url = "https://quick-infra-structure.quiknode.pro/2f568e4df78544629ce9af64bbe3cef91494766f5/"; const provider = new ethers.providers.JsonRpcProvider(url); const heads = await provider.send( "qn_verifyNFTsOwner", [ "0x8ae6422631292c31aeeb2efe154d6326f703f46b", [ "0x60e4d786628fea6478f785a6d7e704777c86a7c6:1090", ] ] ); console.log(heads); })();
As the number of NFT projects and collections grows, finding details verifying the project a given NFT belongs to, past transaction history, and other valuable details is a critical tool to determine an item’s value. NFT-focused projects need to be able to pull this information across a breadth of collections across chains, which is complex. QuickNode makes this easy.
Networks supported
const ethers = require("ethers"); (async () => { const url = "https://quick-infra-structure.quiknode.pro/2f568e4df78544629ce9af64bbe3cef91494766f5/"; const provider = new ethers.providers.JsonRpcProvider(url); const heads = await provider.send("qn_fetchNFTs", [ "0x63a63d7b0a4da84e095bac389845615a09e05546", [ "0xba30e5f9bb24caa003e9f2f0497ad287fdf95623", ], ]); console.log(heads); })();
Some notable creators have multiple collections, and keeping track of these collections can be important for NFT projects to monitor and track automatically. With QuickNode’s NFT API Add-On, someone can pull the individual token Addresses tied to a given creator automatically, along with elements like description of collections and how many assets are available in a collection at a given time.
Networks supported
// not currently supported by solanaJS const axios = require("axios"); (() => { const url = "https://quick-infra-structure.solana-mainnet.quiknode.pro/4456aaba19e98f28c900e9d5f997d6f39728f551/"; const config = { headers: { "Content-Type": "application/json", }, }; const data = { jsonrpc: "2.0", id: 1, method: "qn_fetchNFTsByCreator", params: [{ creator: "5GUrnehPCrVeAeo29sgH3KbPhTvEDaH8HJqonYUceVM", page: 1, perPage: 3 }] }; axios .post(url, data, config) .then(function (response) { // handle success console.log(response.data); }) .catch((err) => { // handle error console.log(err); }); })();
Ready to get your QuickNode