Polygon Blockchain Queries
Get NFT Token URI
This Method returns the URI of an NFT token
get/api/v2/polygon/nfts/{contract_address}/uri/{token_id}
Request
- Base URLhttps://app.chaingateway.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Network'testnet' | 'mainnet'
Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.
Authorizationstring required
Bearer token for authorization. Required for authenticated endpoints.
Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'
The MIME type of the request body.
Response
NFT token URI fetched
Example response
{
"status": 200,
"ok": true,
"message": "NFT token URI fetched",
"data": {
"tokenURI": "https://api.opensea.io/api/v1/metadata/0x06012c8cf97bead5deae237070f9587f8e7a266d/1"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.