Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key

Resync NFT metadata

GEThttps://deep-index.moralis.io/api/v2.2/nft/:address/:token_id/metadata/resync

Update an NFT’s metadata, either from its current token URI or a new one. Choose sync for immediate results or async for background processing.

PATH PARAMS
addressstringrequired
The address of the NFT contract
token_idstringrequired
The ID of the token
QUERY PARAMS
chainstring
The chain to query
flagstring
The type of resync to operate
modestring
To define the behaviour of the endpoint
Responses
200(In sync mode) Resync request executed.
202The resync request was received and will be executed.
404(In sync mode) Resync request executed and metadata could not be updated.
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://deep-index.moralis.io/api/v2.2/nft/0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB/1/metadata/resync?chain=eth&flag=uri&mode=sync' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
{
"status": ""
}