Skip to main content

/api/v1/accounts/{idOrAliasOrEvmAddress}/nfts REST API Endpoint

Get nfts for an account info

Updated on
Aug 23, 2024

/api/v1/accounts/{idOrAliasOrEvmAddress}/nfts REST API Endpoint

Please note that this method is currently available only on the testnet and will be accessible on the mainnet soon.

Path Parameters

idOrAliasOrEvmAddress
string
REQUIRED
The account alias or account id or evm address

Query Parameters

limit
integer
The maximum number of items to return
order
string
The order in which items are listed (asc or desc)
serialnumber
string
The nft serial number (64 bit type). Requires a tokenId value also be populated
spender.id
string
The ID of the spender to return information for
token.id
string
The ID of the token to return information for

Returns

nfts
array
An array of objects, each representing an NFT associated with the account
account_id
string
The ID of the account holding the NFT
created_timestamp
string
The timestamp when the NFT was created
delegating_spender
string
The account ID of the delegating spender
deleted
boolean
A boolean indicating whether the NFT has been deleted
metadata
string
The metadata associated with the NFT, typically encoded in Base64
modified_timestamp
string
The timestamp when the NFT was last modified
serial_number
integer
The serial number of the NFT
spender_id
string
The account ID of the spender
token_id
string
The unique identifier of the token
links
object
An object containing pagination links
next
string
A URL to fetch the next set of result, if available
Request
1
curl 'https://docs-demo.hedera-mainnet.quiknode.pro/api/v1/accounts/0.0.6294/nfts'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free