{
  "x402Version": 2,
  "id": 48,
  "slug": "48",
  "resource": "https://api.onesource.io/api/chain/erc721-tokens",
  "description": "List every ERC721 NFT token_id a wallet owns in a collection via tokenOfOwnerByIndex (eth_call)",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "8000",
      "maxTimeoutSeconds": 3600
    },
    {
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "8000",
      "maxTimeoutSeconds": 3600
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
            "contract": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
            "network": "ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "balance": "3",
              "contract_address": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
              "is_enumerable": true,
              "owner": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
              "token_ids": [
                "1",
                "42",
                "100"
              ]
            },
            "meta": {
              "cost_usdc": "0.001",
              "endpoint": "/api/chain/erc721-tokens",
              "payment_chain": "base",
              "payment_token": "USDC",
              "request_id": "00000000abcdef01"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "address": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "contract": {
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "max": {
                    "maximum": 1000,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "network": {
                    "default": "ethereum",
                    "enum": [
                      "ethereum",
                      "sepolia",
                      "robinhood"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "contract",
                  "address"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "description": "Endpoint-specific response payload",
                    "properties": {
                      "balance": {
                        "type": "string"
                      },
                      "contract_address": {
                        "type": "string"
                      },
                      "is_enumerable": {
                        "type": "boolean"
                      },
                      "owner": {
                        "type": "string"
                      },
                      "token_ids": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "error": {
                    "properties": {
                      "code": {
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "meta": {
                    "properties": {
                      "cost_usdc": {
                        "type": "string"
                      },
                      "endpoint": {
                        "type": "string"
                      },
                      "payment_chain": {
                        "type": "string"
                      },
                      "payment_token": {
                        "type": "string"
                      },
                      "request_id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "endpoint",
                      "request_id"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.onesource.io",
  "lastUpdated": "2026-09-18T18:53:51.742Z",
  "quality": {
    "calls30d": 624,
    "uniquePayers30d": 622,
    "lastCalledAt": "2026-09-18T18:53:51.619Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.onesource.io",
    "manifest_name": "api.onesource.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}