This endpoint is used to check the metadata URL on a given NFT.

If you're having issues getting your items to show up properly on OpenSea (perhaps they're missing an image or attributes), you can debug your metadata using the /validate API endpoint.

https://api.opensea.io/asset/<your_contract_address>/<your_token_id>/validate/

Simply hit the URL with your contract address and token ID to see if there are any errors with your metadata URL.

📘

Requests to this endpoint require an API key. If you don't have an API key, please request one.

The endpoint will return the following fields:

Field Name

Description

valid

Returns true if there are not issues with your metadata. Or returns false allows you to see the errors with your metadata URL.

token_uri

Returns link with metadata information

errors

Displays any errors the metadata URL has

Language
Authentication
Header
Click Try It! to start a request and see the response here!