# Alchemy — NFT Metadata By Token ID [Batch]

Get Alchemy NFT Batch Metadata via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Alchemy, pass parameters such as refreshCache, tokenUriTimeoutInMs, tokens, and retrieve structured data including NFT contract address, NFT token identifier, NFT name, image resource metadata, and source token metadata to enrich chosen token records, and apply shared cache settings.

Documentation: https://openany.si/alchemy/alchemy-nft-metadata-by-token-id-batch/e58c2fbb-6310-4a61-9290-8aee07094f4d/
API ID: e58c2fbb-6310-4a61-9290-8aee07094f4d
Provider: alchemy
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/alchemy/nft/v3/getNFTMetadataBatch
Page update time: 2026-12-03T02:44:17.423Z
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: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:16.028Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Alchemy NFT Batch Metadata API

POST a JSON object with tokens\[\] selectors. The documented operation supports batches up to 100 specified NFT selectors; it does not enumerate an entire contract.

## What You Can Build

- **Enrich chosen token records**: Match by contract and tokenId.
- **Apply shared cache settings**: Keep refreshCache and tokenUriTimeoutInMs intentional.

## Returned Data

| Field | Meaning |
| --- | --- |
| `[].contract.address` | NFT contract address |
| `[].tokenId` | NFT token identifier |
| `[].name` | NFT name |
| `[].image` | Image resource metadata |
| `[].raw.metadata` | Source token metadata |
| `[].timeLastUpdated` | Metadata update field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Alchemy — NFT Metadata By Token ID [Batch] 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": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "properties": {
        "refreshCache": {
          "default": false,
          "type": "boolean"
        },
        "tokenUriTimeoutInMs": {
          "type": "integer"
        },
        "tokens": {
          "description": "List of token objects to batch request NFT metadata for. Maximum 100.",
          "items": {
            "properties": {
              "contractAddress": {
                "default": "0xe785E82358879F061BC3dcAC6f0444462D4b5330",
                "type": "string"
              },
              "tokenId": {
                "default": "44",
                "type": "string"
              },
              "tokenType": {
                "type": "string"
              }
            },
            "required": [
              "contractAddress",
              "tokenId"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "tokens"
      ],
      "type": "object",
      "description": "getNFTMetadataBatch - Retrieves metadata for up to 100 specified NFT contracts in a single request. This endpoint is supported on Ethereum and many L2s, including Polygon, Arbitrum, Optimism, Base, World Chain and more. See the full list of supported networks [here](https://dashboard.alchemy.com/chains). Uses the shared Alchemy Free quota; not unlimited. Documentation prepared only, not runtime-verified."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "acquiredAt": {
        "type": "object",
        "properties": {
          "blockNumber": {
            "type": "string"
          },
          "blockTimestamp": {
            "type": "string"
          }
        }
      },
      "animation": {
        "type": "object",
        "properties": {
          "cachedUrl": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "orginalUrl": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          }
        }
      },
      "collection": {
        "type": "object",
        "properties": {
          "bannerImageUrl": {
            "type": "string"
          },
          "externalUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      },
      "contract": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "contractDeployer": {
            "type": "string"
          },
          "deployedBlockNumber": {
            "type": "integer"
          },
          "isSpam": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "openseaMetadata": {
            "type": "object",
            "properties": {
              "bannerImageUrl": {
                "type": "string"
              },
              "collectionName": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "discordUrl": {
                "type": "string"
              },
              "externalUrl": {
                "type": "string"
              },
              "floorPrice": {
                "type": "integer"
              },
              "imageUrl": {
                "type": "string"
              },
              "lastIngestedAt": {
                "type": "string"
              },
              "safelistRequestStatus": {
                "type": "string"
              },
              "twitterUsername": {
                "type": "string"
              }
            }
          },
          "spamClassifications": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "symbol": {
            "type": "string"
          },
          "tokenType": {
            "type": "string"
          },
          "totalSupply": {
            "type": "string"
          }
        }
      },
      "description": {
        "type": "string"
      },
      "image": {
        "type": "object",
        "properties": {
          "cachedUrl": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "originalUrl": {
            "type": "string"
          },
          "pngUrl": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          },
          "thumbnailUrl": {
            "type": "string"
          }
        }
      },
      "mint": {
        "type": "object",
        "properties": {
          "blockNumber": {
            "type": "integer"
          },
          "mintAddress": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          },
          "transactionHash": {
            "type": "string"
          }
        }
      },
      "name": {
        "type": "string"
      },
      "owners": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "raw": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "properties": {
              "attributes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "trait_type": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  }
                }
              },
              "description": {
                "type": "string"
              },
              "image": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "tokenUri": {
            "type": "string"
          }
        }
      },
      "timeLastUpdated": {
        "type": "string"
      },
      "tokenId": {
        "type": "string"
      },
      "tokenType": {
        "type": "string"
      },
      "tokenUri": {
        "type": "string"
      }
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/alchemy/nft/v3/getNFTMetadataBatch' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "refreshCache": false,
  "tokenUriTimeoutInMs": 1,
  "tokens": [
    {
      "contractAddress": "0xe785E82358879F061BC3dcAC6f0444462D4b5330",
      "tokenId": "44"
    }
  ]
}'
```

## 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
[
  {
    "acquiredAt": {
      "blockNumber": "<blockNumber>",
      "blockTimestamp": "<blockTimestamp>"
    },
    "animation": {
      "cachedUrl": "<cachedUrl>",
      "contentType": "<contentType>",
      "orginalUrl": "<orginalUrl>",
      "size": 0
    },
    "collection": {
      "bannerImageUrl": "<bannerImageUrl>",
      "externalUrl": "<externalUrl>",
      "name": "<name>",
      "slug": "<slug>"
    },
    "contract": {
      "address": "<address>",
      "contractDeployer": "<contractDeployer>",
      "deployedBlockNumber": 0,
      "isSpam": "<isSpam>",
      "name": "<name>",
      "openseaMetadata": {
        "bannerImageUrl": "<bannerImageUrl>",
        "collectionName": "<collectionName>",
        "description": "<description>",
        "discordUrl": "<discordUrl>",
        "externalUrl": "<externalUrl>",
        "floorPrice": 0,
        "imageUrl": "<imageUrl>",
        "lastIngestedAt": "<lastIngestedAt>",
        "safelistRequestStatus": "<safelistRequestStatus>",
        "twitterUsername": "<twitterUsername>"
      },
      "spamClassifications": [
        "<0>"
      ],
      "symbol": "<symbol>",
      "tokenType": "ERC721",
      "totalSupply": "<totalSupply>"
    },
    "description": "<description>",
    "image": {
      "cachedUrl": "<cachedUrl>",
      "contentType": "<contentType>",
      "originalUrl": "<originalUrl>",
      "pngUrl": "<pngUrl>",
      "size": 0,
      "thumbnailUrl": "<thumbnailUrl>"
    },
    "mint": {
      "blockNumber": 0,
      "mintAddress": "<mintAddress>",
      "timestamp": "<timestamp>",
      "transactionHash": "<transactionHash>"
    },
    "name": "<name>",
    "owners": [
      "<0>"
    ],
    "raw": {
      "error": "<error>",
      "metadata": {
        "attributes": [
          {
            "trait_type": "<trait_type>",
            "value": "<value>"
          }
        ],
        "description": "<description>",
        "image": "<image>",
        "name": "<name>"
      },
      "tokenUri": "<tokenUri>"
    },
    "timeLastUpdated": "<timeLastUpdated>",
    "tokenId": "44",
    "tokenType": "<tokenType>",
    "tokenUri": "<tokenUri>"
  }
]
```

## 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.

## Common questions
### What goes in tokens?
Objects identifying an NFT by contractAddress and tokenId.

### What batch size is documented?
Up to 100 specified NFT selectors.

### Is this a collection enumeration endpoint?
No. Use NFTs by Contract for enumeration.

### Can I assume one contract address identifies one NFT?
No. Include tokenId and the selected network context.

### Can I select a network with an extra chain parameter?
Use only the inputs exposed by this exact implementation. NFT network context belongs to the selected route; this endpoint does not expose an arbitrary network selector.

### Does this mint, transfer or sign an NFT transaction?
No. It is a data lookup; token ownership and transaction execution are separate operations.

## Available implementations
- alchemy: https://openany.si/alchemy/alchemy-nft-metadata-by-token-id-batch/e58c2fbb-6310-4a61-9290-8aee07094f4d/

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