# Alchemy — NFT Metadata By Token ID

Get Alchemy NFT Metadata via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Alchemy, pass parameters such as contractAddress, tokenId, and retrieve structured data including NFT contract address, NFT token identifier, NFT name, image resource metadata, and source token metadata to build nft detail pages, and inspect source metadata.

Documentation: https://openany.si/market/apis/alchemy/alchemy-nft-metadata-by-token-id/?offering=63313603-0214-4ab9-93dd-45612667e9eb
API ID: 63313603-0214-4ab9-93dd-45612667e9eb
Provider: alchemy
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/alchemy/nft/v3/getNFTMetadata
Page update time: 2026-12-03T02:44:17.400Z
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:15.974Z. 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 — NFT Metadata By Token ID 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)."
        },
        "tokenId": {
          "type": "string",
          "description": "String - The ID of the token. Can be in hex or decimal format."
        },
        "tokenType": {
          "type": "string",
          "description": "String - 'ERC721' or 'ERC1155'; specifies type of token to query for. API requests will perform faster if this is specified."
        },
        "tokenUriTimeoutInMs": {
          "type": "integer",
          "description": "No set timeout by default - When metadata is requested, this parameter is the timeout (in milliseconds) for the website hosting the metadata to respond. If you want to _only_ access the cache and not live fetch any metadata for cache misses then set this value to 0."
        },
        "refreshCache": {
          "type": "boolean",
          "description": "Defaults to false for faster response times.  If true will refresh metadata for given token. If false will check the cache and use it or refresh if cache doesn't exist."
        }
      },
      "required": [
        "contractAddress",
        "tokenId"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "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/getNFTMetadata?contractAddress=0xe785E82358879F061BC3dcAC6f0444462D4b5330&tokenId=44' \
  -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
{
  "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.

## Available implementations
- alchemy: https://openany.si/market/apis/alchemy/alchemy-nft-metadata-by-token-id/?offering=63313603-0214-4ab9-93dd-45612667e9eb

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