v1

latestOpenAPI 3.0.02026-07-26268286602.5 KB
tokens

Fetch media type for a specific NFT instance

Determines and returns the media type categories (image/video/html) for the image and animation URLs of a specific NFT instance. Fetches via HTTP HEAD if not yet determined and stores the result.

get/{chain_id}/api/v2/tokens/{address_hash_param}/instances/{token_id_param}/media-type

Path parameters

address_hash_paramstring required

Address hash in the path

token_id_paramstring nullable required

Token ID for ERC-721/1155/404 tokens

chain_idstring required

The ID of the blockchain

Response

Media type categories for the NFT instance.

animation_media_type'image' | 'video' | 'html' nullable
image_media_type'image' | 'video' | 'html' nullable