NFT Metadata
Update an NFT's Metadata
Update custom metadata for ERC-721 and ERC-1155 NFTs
PUT
/
api
/
v1
/
nft
/
tokenMetadata
Authorization
Body
curl 'https://groupos.xyz/api/v1/nft/tokenMetadata' \
--request PUT \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"chainId": 5,
"contractAddress": "0x67F4732266C7300cca593C814d46bee72e40659F",
"tokenId": "10",
"metadata": {
"name": "Zed Run",
"description": "Horses run free in the metaverse.",
"mediaUrl": "https://hosted.station.express/abc123"
}
}'
{
"success": true
}
How token metadata works
Both ERC-721 and ERC-1155 NFTs can have individual tokens’ metadata updated. This enables differentiation between NFTs of the same collection and dynamic or evolving use cases.
When edits are made to the NFT’s metadata, updates are propagated automatically to Opensea and other platforms.
Body
chainId
number
requiredThe id of the chain supporting the NFT. This cannot be changed after creation.
contractAddress
string
requiredThe NFT smart contract address to edit.
tokenId
string
requiredThe individual token ID edit.
metadata
object
requiredIndividual metadata to associate with this NFT, which overrides any defaults set at the collection-level
Response
success
boolean
Indicates whether the call was successful.
curl 'https://groupos.xyz/api/v1/nft/tokenMetadata' \
--request PUT \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"chainId": 5,
"contractAddress": "0x67F4732266C7300cca593C814d46bee72e40659F",
"tokenId": "10",
"metadata": {
"name": "Zed Run",
"description": "Horses run free in the metaverse.",
"mediaUrl": "https://hosted.station.express/abc123"
}
}'
{
"success": true
}