Get Multiple NFT Metadata 🔎 - /nft/metadata/multiple/

🧭 Path Parameters

NameTypeRequiredDescription

uris

List[str]

True

A list of NFT URIs to retrieve metadata for

📈 Return Type

{
    "request": <class 'starlette.requests.Request'>,
    "uris": list[str]
}

📝 Description

This endpoint allows you to retrieve metadata for multiple NFTs in a single request, using a list of NFT URIs as input. The returned data will include metadata such as the NFT's name, description, and image. The data is returned as a list of dictionaries, with each dictionary representing the metadata for a single NFT.

🔨 Usage Example

import requests

url = "https://api.example.com/nft/metadata/multiple/"

headers = {
    "Content-Type": "application/json"
}

data = {
    "uris": [
        "https://arweave.net/EK-i8p7tN5v5NnDzIgHNxWfzgA1b-9YQ2-LgLWmG4i4",
        "https://arweave.net/BvSvU9X9d-z6U8W6-AfzsZsT7FQ1iZxWlTghOvxtyX0"
    ]
}

response = requests.post(url, headers=headers, json=data)

print(response.json())

Last updated