# Alchemy — Owners By Contract

Get Alchemy NFT Contract Owners data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Alchemy, pass parameters such as contractAddress, and retrieve structured data including holder address, per-token balances when included, held token identifier, and reported token balance to inspect holder references, and read token-level balances.

Documentation: https://openany.si/market/apis/alchemy/alchemy-owners-by-contract/?offering=0df34ede-d660-4e6e-b303-d31e25d3fa2d
API ID: 0df34ede-d660-4e6e-b303-d31e25d3fa2d
Provider: alchemy
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/alchemy/nft/v3/getOwnersForContract
Page update time: 2026-12-03T02:44:17.476Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:44:16.196Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Alchemy — Owners By Contract request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "contractAddress": {
          "type": "string",
          "description": "String - Contract address for the NFT contract (ERC721 and ERC1155 supported)."
        },
        "withTokenBalances": {
          "type": "boolean",
          "description": "Boolean - If set to `true` the query will include the token balances per token id for each owner. `false` by default."
        },
        "pageKey": {
          "type": "string",
          "description": "String - used for contracts with >50,000 owners. `pageKey` field can be passed back as request parameter to get the next page of results."
        }
      },
      "required": [
        "contractAddress"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "owners": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ownerAddress": {
            "type": "string"
          },
          "tokenBalances": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "balance": {
                  "type": "integer"
                },
                "tokenId": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/alchemy/nft/v3/getOwnersForContract?contractAddress=0x495f947276749ce646f68ac8c248420045cb7b5e' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Documented HTTP 200
```json
{
  "owners": [
    {
      "ownerAddress": "0xe785E82358879F061BC3dcAC6f0444462D4b5330",
      "tokenBalances": [
        {
          "balance": 0,
          "tokenId": "<tokenId>"
        }
      ]
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- alchemy: https://openany.si/market/apis/alchemy/alchemy-owners-by-contract/?offering=0df34ede-d660-4e6e-b303-d31e25d3fa2d

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
