NFT details retriever
[apis/nftport/v0/NFT details retriever]

Returns details for a given NFT, using the NFTPort API. Supports Ethereum & Polygon. Retrieve NFT details: https://docs.nftport.xyz/docs/nftport/?search=retrieve-nft-details
Keywords: web3, blockchain, crypto, nft, details, ethereum, polygon, rinkeby
Input ports
query:
{ "contract_address": string, "token_id": string, optional "refresh_metadata": boolean }
Receives search query. https://docs.nftport.xyz/docs/nftport/?search=retrieve-nft-details#Request Default refresh_metadata value is false.
params:
{"api_key": string, "chain": ("ethereum" or "polygon" or "rinkeby")}
https://docs.nftport.xyz/docs/nftport/?search=retrieve-nft-details#Request Default chain value: "ethereum"
Output ports
data:
{ "response": "OK", "nft": { "chain": ("ethereum" or "polygon" or "rinkeby"), "contract_address": string, "token_id": string, "metadata_url": string, "metadata": {string: any}, "file_information": {"height": number, "width": number, "file_size": number}, "file_url": string, "animation_url": string, "cached_file_url": string, "cached_animation_url": string, "mint_date": string, "updated_date": string }, "owner": string, "contract": {"name": string, "symbol": string, "type": ("ERC721" or "ERC1155")}, optional "status": string, optional "status_message": string }
Sends the query response. Reference: https://docs.nftport.xyz/docs/nftport/?search=retrieve-nft-details#Responses
response:
{"status": number, "headers": {string: any}, "body": string}
Sends the original response.
error:
{"error": string, "details": any}
Sends the error, if any
Last updated