# Base ERC-721 Token IDs by Owner

> Base ERC-721 Token IDs by Owner is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-18).

Returns the list of ERC-721 token IDs owned by a wallet in a specified Base mainnet collection, using tokenOfOwnerByIndex enumeration (up to 100 IDs).

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/base-erc721-tokens?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-erc-721-token-ids-by-owner-cb0b7dcc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_POj_DxgQoDxZKDZAH_5Hn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability base-erc-721-token-ids-by-owner-cb0b7dcc -d '<json body>'
```

Example prompt: Can you list all the ERC-721 token IDs that wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 owns in the Base NFT collection at contract 0x1111111111111111111111111111111111111111?

## When to prefer this

Use this endpoint when you need to enumerate ERC-721 token IDs held by a specific wallet in a Base mainnet collection and the contract supports the ERC-721 Enumerable extension (tokenOfOwnerByIndex). It is fast, cheap at $0.005 USDC, and avoids slow log scanning. Prefer the free sandbox endpoint /v1/sandbox/base-erc721-tokens for development and testing. Do not use this for ERC-1155 tokens, non-Base chains, or contracts without enumeration support.

## Known failure modes

- Contract does not implement ERC-721 enumerable interface — returns unsupported enumeration error, not billed
- Invalid or non-checksummed contract address — request rejected
- Invalid or non-checksummed owner address — request rejected
- Contract address not on Base mainnet — returns error
- Wallet owns more than 100 tokens — only the first 100 are returned, results may be truncated
- Payment not included or insufficient — HTTP 402 response, use /v1/sandbox/base-erc721-tokens for free testing

## How this service works

Call when an agent needs the ERC-721 token ids one wallet owns in a Base collection, via tokenOfOwnerByIndex when enumerable (at most 100). Unsupported enumeration errors and is not billed. No log scan. Send JSON {"contract":"0x1111111111111111111111111111111111111111","owner":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/base-erc721-tokens first.

## Output

A list of up to 100 ERC-721 token IDs owned by the specified wallet in the given Base mainnet collection, retrieved via the tokenOfOwnerByIndex enumeration interface. If the contract does not support enumeration, an unsupported enumeration error is returned (and the call is not billed).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "owner": {
   "type": "string",
   "examples": [
    "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
   ],
   "description": "Wallet whose token ids are listed. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045. At most 100 ids are returned."
  },
  "contract": {
   "type": "string",
   "examples": [
    "0x1111111111111111111111111111111111111111"
   ],
   "description": "ERC-721 collection on Base mainnet. Example: 0x1111111111111111111111111111111111111111. Enumeration uses tokenOfOwnerByIndex only."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-erc-721-token-ids-by-owner-cb0b7dcc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
