List NFTs (ERC-721/ERC-1155/ENS/POAP) owned by a wallet
Returns the NFTs owned by a wallet across one or more supported chains, with collection metadata, token IDs, image URLs, traits, and pagination cursors. Supports ERC-721, ERC-1155, ENS, and POAP.
Pass walletAddress (hex address, or ENS name on Ethereum). Scope to specific chains with the blockchain array, or omit it for all supported chains. Narrow results with the filter argument: each entry maps a contract address to an array of token IDs (empty array = all NFTs from that contract).
Pagination via pageSize (max 50, default 10) and pageToken. Part of the NFT API product (700 compute units per call, $0.00007 at base rate).
Request
- Base URLhttps://rpc.ankr.com/multichain/569ca1f392f7d3d0bb1073a1173ecb649af1d9249231fe59fa95db19d5ae41fe
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"id": 1,
"jsonrpc": "2.0",
"method": "ankr_getNFTsByOwner",
"params": {
"walletAddress": "vitalik.eth"
}
}Response
Success. JSON-RPC result envelope contains the NFT asset list, the queried owner, and a pagination cursor. JSON-RPC errors are returned with HTTP 200; check the response body for an error key.
Changes
No recorded changes to this operation across all 1 revision of this API.