Documentation

API Response Schema

Shared response structure for Integritas API endpoints, including stamping, proof, and verification responses.

Top-Level Envelope

Most endpoints return a consistent top-level structure:

{
  "service": "CORE_API",
  "apiVersion": 1,
  "requestId": "string",
  "status": "success",
  "statusCode": 200,
  "message": "string",
  "timestamp": "ISO-8601 timestamp",
  "data": {}
}
FieldTypeDescription
servicestringName of the service that processed the request.
apiVersionnumberAPI version number used for this response.
requestIdstringUnique identifier for tracking this specific API request.
statusstringStatus of the request (e.g., success, error).
statusCodenumberHTTP status code for the response.
messagestringHuman-readable message describing the result of the operation.
timestampstringISO-8601 date-time string.
dataobjectEndpoint-specific payload.

Send File and Get Hash Response

/v1/file/hash

Example payload (data field):

{
  "hash": "E630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F",
  "filename": "source_256kb.pdf",
  "mimeType": "application/pdf"
}
FieldTypeDescription
hashstringSHA-256 hash of the file content in hexadecimal format.
filenamestringOriginal name of the uploaded file.
mimeTypestringMIME type of the file (e.g., application/pdf, image/png).

Send Hash and Get UID Response

/v1/timestamp/post

Example payload (data field):

{
  "status": true,
  "data": "0xE630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F",
  "uid": "0x3B18508ABF8B0120CFEC"
}
FieldTypeDescription
statusbooleanIndicates whether the timestamp request was successful.
datastringThe hash value that was submitted for timestamping (hex).
uidstringUnique identifier assigned to this timestamp request.

Get Proof Response

/v1/timestamp/status

Example payload (data field, when completed):

// Pending
[
  {
    "status": true,
    "uid": "0x3B18508ABF8B0120CFEC",
    "data": "0xE630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F",
    "number": 4831,
    "datecreated": "2026-01-16 14:31:03",
    "onchain": false
  }
]

// Completed
[
  {
    "status": true,
    "uid": "0x3B18508ABF8B0120CFEC",
    "data": "0xE630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F",
    "number": 4831,
    "datecreated": "2026-01-16 14:31:03",
    "datestamped": "2026-01-16 14:32:03",
    "root": "0x1384FA6242E0D750FFA9366EFC7A0AC226E7EFD14EC5DF70DD50E36188AC0EA6",
    "proof": "0x000100000100",
    "address": "0xFFEEDD",
    "onchain": true
  }
]

Get Proof Item Fields

FieldTypeDescription
statusbooleanIndicates whether the proof was successfully retrieved.
uidstringUnique identifier for this timestamp request.
datastringThe hash value that was timestamped (hex).
numbernumberSequential batch number for this timestamp in the system.
datecreatedstringDate and time when the timestamp request was created (YYYY-MM-DD HH:mm:ss).
datestampedstringDate and time when the timestamp was recorded on-chain (YYYY-MM-DD HH:mm:ss).
rootstringMerkle root hash of the batch containing this timestamp.
proofstringMerkle proof path for verifying this timestamp against the root.
addressstringBlockchain address or transaction identifier for the on-chain record.
onchainbooleanIndicates whether the timestamp has been recorded on the blockchain.

Verification Response (verify-data / verify-hash)

/v1/verify/post and /v1/verify/post-lite

Both verification endpoints ultimately return the same verification result structure inside data.response.

Example (data.response):

// No Match
{
  "fileHash": "0xE630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F",
  "fileName": "source_256kb.pdf",
  "fileSize": 262144,
  "result": "no match",
  "nftcoinid": "0xDC080F44E554B85E5663D1F1BED2F83DB8F3BCD995ED22713198238096C713A3",
  "nfttxnid": "0x000009C453D5CD4E70A45099BD8958F8427E60B8DA3D9C10F2BDB754430ABA6E",
  "method": "all tested",
  "hash_instances_onchain": 0,
  "unique_hashes": 0,
  "blockchain_data": [],
  "fileSegments": []
}

// Full Match
{
  "fileHash": "0xE630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F",
  "fileName": "source_256kb.pdf",
  "fileSize": 262144,
  "result": "full match",
  "nftcoinid": "0xE037730318B921420FB757EFCD56544DF7AB4C49A078015221446950C0C57CD5",
  "nfttxnid": "0x000011F540D77A200E692D458421D434CF1D846D8E3491C897E99E08CC931377",
  "method": "timestamp",
  "hash_instances_onchain": 1,
  "unique_hashes": 1,
  "blockchain_data": [
    {
      "block_number": 1898484,
      "block_date": "2026-01-16 14:26:12",
      "txpow_id": "0x000000389FDEEAF4537124C1BE40A352065A7E945FDCF3261EBF328828934D81",
      "transactionid": "0x00002738DD716B9B89FECDDE97677CDC628B40542930269D18FEEEF245CBC689",
      "coin_id": "0x907671CF2F571DAAB8C720E1C89711E0568AE13638CAF307BDB7371D1DBAA5DD",
      "matched_hash": "0xE630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F"
    }
  ],
  "fileSegments": [
    {
      "matched_hash": "0xE630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F",
      "offset": 0,
      "packetSize": 262144
    }
  ]
}

Verification Response Fields

Below is an explanation of the key fields in the response:

FieldTypeDescription
fileHashstringThe unique hash value of the file that was submitted for verification. Used to identify it on-chain.
fileNamestringThe name of the file that was submitted for verification.
fileSizenumberThe size of the file in bytes.
resultstringThe result of the verification process. Possible values: exact match, partial match, or no match.
nftcoinidstringUnique id of the NFT on the blockchain.
nfttxnidstringUnique TxPoW id of the transaction that made the NFT.
methodstringThe method used to verify the file.
hash_instances_onchainnumberNumber of times this file’s hash appears on the blockchain.
unique_hashesnumberNumber of unique hashes related to this file found on the blockchain.
blockchain_dataarrayArray of found blocks related to the file. See Breakdown of blockchain_data for details.
fileSegmentsarrayArray of matched segments in the file. See Breakdown of fileSegments for details.

Breakdown of blockchain_data

FieldTypeDescription
block_numberstringBlock number where the hash was found.
block_datestringTimestamp in YYYY-MM-DD HH:mm:ss format when the hash was recorded.
txpow_idstringTransaction ID of the Proof-of-Work where the hash was included.
transactionidstringUnique ID of the specific transaction output.
coin_idstringUnique ID of the blockchain transaction that contains the root hash.
matched_hashstringThe matched hash value found in the block.

Breakdown of fileSegments

FieldTypeDescription
matched_hashstringHash value of a specific segment of the file (chunk).
offsetnumberOffset of the chunk in the file (position in original file).
packetSizenumberLength in bytes of the matching chunk.

Response Fields

For a complete description of the response envelope and proof item fields used by this endpoint, see API Response Schema — Get Proof.

On this page