Skip to main content

qn_fetchNFTs (v2) RPC Method - Token and NFT API

Returns aggregated data on NFTs for a given wallet.

Updated on
Aug 09, 2026
Please note that this RPC method requires the Token and NFT API v2 bundle add-on enabled on your Quicknode endpoint. Additionally, for a contract to be fully indexed, it must be verified on Etherscan.

Parameters

object
object
REQUIRED

A custom object with the following fields:

wallet
string
REQUIRED

The wallet address or ENS name to check for NFTs

contracts
array

An array of strings with the list of NFT contract addresses you'd like to get ownership data from. The contract addresses may be optionally suffixed with :tokenId to specify a specific NFT id to filter on. For example, 0x2106c...7aeaa:1234will filter Loopy Donuts on the NFT token with id1234 only. You may include up to 20 contract addresses per request

page
integer

The page number you would like to get returned. The page numbers start at 1 and end at totalPages. If omitted, defaults to the first page (page 1). If the page number requested is less than 1 or higher than totalPages, an empty assets array will be returned

perPage
integer

The maximum amount of NFT assets to return on each page. You can request up to 40 items per page. If omitted, this will default to 20 items per page

omitFields
array

Optionally omit specific properties of objects from the assets array of the response. Any property of the asset object can be omitted. If omitFields is not included in the request, response will return all available fields by default

Returns

object
object

The custom response object, or null if no NFTs are found:

owner
string

The wallet address we checked for NFTs

ensName
string

The ENS name associated with the address we checked

assets
array

An array of objects representing NFTs with the following shape:

name
string

The name of this specific NFT

collectionTokenId
string

The token id of this NFT in its collection

collectionName
string

The name of this NFT's collection

traits
array

The traits refer to the different attributes of NFTs

value
string

The specific value associated with each trait of the NFT which can be present in the form of text, numbers, or even images, depending on the type of NFT

trait_type
string

The type of trait associated with each NFT. It includes attributes like the color, rarity, or any other defining characteristic that sets the NFT apart from others in its collection

imageUrl
string

The URL where the image for this NFT can be seen

collectionAddress
string

The contract address that this NFT lives in

chain
string

It states on which chain this aggregation happened on

network
string

It states on which network this aggregation happened on

description
string

The description of the asset

totalItems
integer

The total number of results

totalPages
integer

The total number of results pages available

pageNumber
integer

The page number of results that were returned with this response

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 67,
4
"result": {
5
"owner": "0x91b51c173a4bdaa1a60e234fc3f705a16d228740",
6
"ensName": null,
7
"assets": [
8
{
9
"collectionName": "Loopy Donuts",
10
"collectionTokenId": "1747",
11
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
12
"name": "Loopy Donut #1747",
13
"description": "",
14
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/1747.png",
15
"chain": "ETH",
16
"network": "MAINNET"
17
},
18
{
19
"collectionName": "Loopy Donuts",
20
"collectionTokenId": "1971",
21
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
22
"name": "Loopy Donut #1971",
23
"description": "",
24
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/1971.png",
25
"chain": "ETH",
26
"network": "MAINNET"
27
},
28
{
29
"collectionName": "Loopy Donuts",
30
"collectionTokenId": "2979",
31
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
32
"name": "Loopy Donut #2979",
33
"description": "",
34
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/2979.png",
35
"chain": "ETH",
36
"network": "MAINNET"
37
},
38
{
39
"collectionName": "Loopy Donuts",
40
"collectionTokenId": "3432",
41
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
42
"name": "Loopy Donut #3432",
43
"description": "",
44
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/3432.png",
45
"chain": "ETH",
46
"network": "MAINNET"
47
},
48
{
49
"collectionName": "Loopy Donuts",
50
"collectionTokenId": "3643",
51
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
52
"name": "Loopy Donut #3643",
53
"description": "",
54
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/3643.png",
55
"chain": "ETH",
56
"network": "MAINNET"
57
},
58
{
59
"collectionName": "Loopy Donuts",
60
"collectionTokenId": "3854",
61
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
62
"name": "Loopy Donut #3854",
63
"description": "",
64
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/3854.png",
65
"chain": "ETH",
66
"network": "MAINNET"
67
},
68
{
69
"collectionName": "Loopy Donuts",
70
"collectionTokenId": "4592",
71
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
72
"name": "Loopy Donut #4592",
73
"description": "",
74
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/4592.png",
75
"chain": "ETH",
76
"network": "MAINNET"
77
},
78
{
79
"collectionName": "Loopy Donuts",
80
"collectionTokenId": "4878",
81
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
82
"name": "Loopy Donut #4878",
83
"description": "",
84
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/4878.png",
85
"chain": "ETH",
86
"network": "MAINNET"
87
},
88
{
89
"collectionName": "Loopy Donuts",
90
"collectionTokenId": "5585",
91
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
92
"name": "Loopy Donut #5585",
93
"description": "",
94
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/5585.png",
95
"chain": "ETH",
96
"network": "MAINNET"
97
},
98
{
99
"collectionName": "Loopy Donuts",
100
"collectionTokenId": "6652",
101
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
102
"name": "Loopy Donut #6652",
103
"description": "",
104
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/6652.png",
105
"chain": "ETH",
106
"network": "MAINNET"
107
}
108
],
109
"totalPages": 2,
110
"totalItems": 18,
111
"pageNumber": 1
112
}
113
}
1
{
2
"jsonrpc": "2.0",
3
"id": 67,
4
"result": {
5
"owner": "0x91b51c173a4bdaa1a60e234fc3f705a16d228740",
6
"ensName": null,
7
"assets": [
8
{
9
"collectionName": "Loopy Donuts",
10
"collectionTokenId": "1747",
11
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
12
"name": "Loopy Donut #1747",
13
"description": "",
14
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/1747.png",
15
"chain": "ETH",
16
"network": "MAINNET"
17
},
18
{
19
"collectionName": "Loopy Donuts",
20
"collectionTokenId": "1971",
21
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
22
"name": "Loopy Donut #1971",
23
"description": "",
24
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/1971.png",
25
"chain": "ETH",
26
"network": "MAINNET"
27
},
28
{
29
"collectionName": "Loopy Donuts",
30
"collectionTokenId": "2979",
31
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
32
"name": "Loopy Donut #2979",
33
"description": "",
34
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/2979.png",
35
"chain": "ETH",
36
"network": "MAINNET"
37
},
38
{
39
"collectionName": "Loopy Donuts",
40
"collectionTokenId": "3432",
41
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
42
"name": "Loopy Donut #3432",
43
"description": "",
44
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/3432.png",
45
"chain": "ETH",
46
"network": "MAINNET"
47
},
48
{
49
"collectionName": "Loopy Donuts",
50
"collectionTokenId": "3643",
51
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
52
"name": "Loopy Donut #3643",
53
"description": "",
54
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/3643.png",
55
"chain": "ETH",
56
"network": "MAINNET"
57
},
58
{
59
"collectionName": "Loopy Donuts",
60
"collectionTokenId": "3854",
61
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
62
"name": "Loopy Donut #3854",
63
"description": "",
64
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/3854.png",
65
"chain": "ETH",
66
"network": "MAINNET"
67
},
68
{
69
"collectionName": "Loopy Donuts",
70
"collectionTokenId": "4592",
71
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
72
"name": "Loopy Donut #4592",
73
"description": "",
74
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/4592.png",
75
"chain": "ETH",
76
"network": "MAINNET"
77
},
78
{
79
"collectionName": "Loopy Donuts",
80
"collectionTokenId": "4878",
81
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
82
"name": "Loopy Donut #4878",
83
"description": "",
84
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/4878.png",
85
"chain": "ETH",
86
"network": "MAINNET"
87
},
88
{
89
"collectionName": "Loopy Donuts",
90
"collectionTokenId": "5585",
91
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
92
"name": "Loopy Donut #5585",
93
"description": "",
94
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/5585.png",
95
"chain": "ETH",
96
"network": "MAINNET"
97
},
98
{
99
"collectionName": "Loopy Donuts",
100
"collectionTokenId": "6652",
101
"collectionAddress": "0x2106c00ac7da0a3430ae667879139e832307aeaa",
102
"name": "Loopy Donut #6652",
103
"description": "",
104
"imageUrl": "https://quicknode-content.quicknode-ipfs.com/ipfs/QmSNmVFTJv6cG9M8ZRU8T9F4Kz9HHxmV85ssGP5W8ZsTPa/6652.png",
105
"chain": "ETH",
106
"network": "MAINNET"
107
}
108
],
109
"totalPages": 2,
110
"totalItems": 18,
111
"pageNumber": 1
112
}
113
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free