Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.0

Get NFT transfers by token(s)

GEThttps://mainnet-aptos-api.moralis.io/nfts/transfers

Get NFT transfers for one or many NFT token ID hashes. Learn more about token ID hashes here.

QUERY PARAMS
limitnumberrequired
The number of tokens to return
offsetnumber
The number of results to skip
cursorstring
The cursor to use for getting the next page
wallet_blacklistarray
The addresses of the wallets to blacklist
No items in the array
wallet_whitelistarray
The addresses of the wallets to whitelist
No items in the array
token_idsarrayrequired
The identifiers of the tokens to get
No items in the array
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.AptosApi.nfts.getNFTTransfersByIds({
"limit": 5
});

console.log(response);
} catch (e) {
console.error(e);
}
Response Example
""