Skip to main content

NFT - Token ID

Verify using the ERC721 Smart Contract Token ID of authenticated data.

API Endpoint

GET
https://api.ovcode.com/verification/api/v1/verify/token-id?token_id={val}

Request Headers

Ocp-Apim-Subscription-Key
Your Enterprise Subscription Key
Api-Key
Your Enterprise Project API Key

Request Parameter

Description
token_idUnique Token ID from ERC721 Smart Contract of Authenticated Data
blockchainBlockchain Network (EOS or POLYGON)

API Response

Success
{
"data": {
"owner": {
"business": {
"id": "<ID>",
"business_id": "<ID>",
"name": "<Business Name>",
"description": "<Business Description>",
"logo": "<Company Logo>",
"website": "<Website URL>",
"date_registered": "<Datetime Registered>"
},
"project_id": "<ID>",
"project": {
"id": "<ID>",
"project_id": "<ID>",
"name": "<Project Name>",
"description": "<Project Description>",
"logo": "<Project Logo>",
"privacy": "<PUBLIC or PRIVATE>",
"business_id": "<ID>"
},
"business_id": "<ID>"
},
"is_data_downloadable": "<true or false>",
"blockchain": {
"token_id": "<TOKEN ID>",
"blockchain_network": "<BLOCKCHAIN NETWORK>"
},
"ipfs": {
"ipfs_gateway_link": "<IPFS URI>",
"cid":"<IPFS CID (Content Identifier)>"
},
"privacy": "<PUBLIC or PRIVATE>",
"details": {
"reference": "<Reference>",
"pipeline": "<Pipeline>",
"created_time": "<Datetime Created>",
"updated_time": "<Datetime Updated>",
"mimetype": "<File mime-type>",
"encrypted_file": "<Encrypted URI>",
"hash": "<SHA-256>"
},
"status": "<ACTIVE, SUSPENDED or REVOKED>",
"misc": {
"is_email": "<true or false>",
"is_encrypted": "<true or false>",
"is_signed": "<true or false>",
"has_password": "<true or false>"
}
},
"success": "<true or false>"
}

Error
{
"success": false,
"data": "<Error Message>"
}

HTTP Status Codes

CodeDescription
200OK
201Created
204No Content
400Bad Request
401Unauthorized
404Not Found
415Unsupported Media Type
500Internal Server Error