{"uid":"cap_K5uQUtLsFeZ-shZH_zYhW","slug":"erc-721-tokens-owned-by-address-f0474b48","name":"ERC-721 Tokens Owned by Address","description":"Returns the token IDs owned by a given address for an ERC-721 Enumerable contract. Inputs: token (ERC-721 contract address, 0x + 40 hex), owner (owner address, 0x + 40 hex). Output: array of token IDs as decimal strings. Query: token (ERC-721 contract (Enumerable), 0x + 40 hex), owner (0x + 40 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/erc721_tokensof?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token","owner"],"properties":{"owner":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"0x + 40 hex"},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"ERC-721 contract (Enumerable), 0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"},"maxItems":50},"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"balance":{"type":"integer"},"truncated":{"type":"boolean"}}},"service":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uHTQ14qtIYSQcrvlO5KPV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns all token IDs owned by a specific address for a given ERC-721 Enumerable contract on Ethereum mainnet","exampleAgentPrompt":"What token IDs does the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 own in the NFT collection at contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13d?","exampleUseCases":[{"title":"NFT portfolio audit for a wallet","prompt":"Show me all the Bored Ape token IDs that wallet 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B holds — the BAYC contract is 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13d."},{"title":"Verify NFT ownership before gating access","prompt":"Does 0x1234567890123456789012345678901234567890 actually own any tokens in the NFT contract 0xa7d8d9ef8D8Ce8992Df33D8b8CF4Aebabd5bD270? List the token IDs."},{"title":"Track NFT holdings for an airdrop eligibility check","prompt":"I need to know every token ID that 0xdEAD000000000000000042069420694206942069 holds in ERC-721 collection 0x60E4d786628Fea6478F785A6d7e704777c86a7c6 — please enumerate them all."}],"resultDescription":"An array of up to 50 token ID strings owned by the specified address in the given ERC-721 contract, along with the owner address, token contract address, total balance count, and a truncated flag indicating whether more than 50 tokens exist. Returns ok:false with an error message if the contract is not Enumerable, the address is invalid, or the call fails.","failureModes":["Contract is not ERC-721 Enumerable — returns ok:false with an error","Invalid contract or owner address format (not 0x + 40 hex) — schema validation error","Contract address is an EOA or non-NFT contract — call reverts","Owner holds more than 50 tokens — result is truncated and truncated flag is true","Network timeout or RPC node unavailability — service error response"],"whenToPreferThis":"Use this endpoint when you need to enumerate the specific token IDs held by a wallet in a known ERC-721 Enumerable contract on Ethereum mainnet. It is the right choice when you need the full list of owned token IDs, not just a balance count. Prefer this over a raw balanceOf call when you need actionable token IDs for downstream operations like metadata fetching, transfer checks, or airdrop eligibility. Not suitable for ERC-1155 tokens or contracts that do not implement the Enumerable extension.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:42:06.776Z","isFirstParty":false,"canonicalSlug":"erc-721-tokens-owned-by-address-f0474b48"}