Documentation

API Response Schema

Shared response structure for Integritas API v2 endpoints, including stamp file, file check, and verify file responses.

Top-Level Envelope

All v2 endpoints return a consistent top-level structure:

{
  "service": "CORE_API",
  "apiVersion": 2,
  "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 (2).
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.

Stamp File Response

/v2/timestamp/post

When a hash is anchored successfully, the data field contains the Minima node send command and parameters.

Example payload (data field):

{
  "service": "MINIMA_NODE",
  "command": "send",
  "params": {
    "amount": "1e-22",
    "address": "0x29f774d99ae3e3494ee4a69f3a11a8248362506a9b9bc526f8c98ab6deca68f5",
    "state": {
      "99": "0xa1b2c3d4e5f67890abcdef5234567890abcdef1234567890abcdef1234567891"
    }
  },
  "status": true
}
FieldTypeDescription
servicestringName of the service MINIMA_NODE.
commandstringCommand sent to the Minima node (e.g., send).
paramsobjectParameters for the send command.
params.amountstringAmount sent.
params.addressstringDestination address.
params.stateobjectState data; key 99 holds the anchored hash.
statusbooleanIndicates whether the anchor request was successful.

File Check Response

/v2/file/check

The data field contains the search result indicating whether the hash was found.

Example payload (data field):

{
  "service": "SEARCH_API",
  "apiVersion": 2,
  "requestId": "POSTMAN",
  "responseTime": "11.89 ms",
  "hash": "a1b2c3d4e5f67890abcdef1234567890abcdef1234567890abcdef1234567890",
  "data": "Hash found."
}
FieldTypeDescription
servicestringName of the service SEARCH_API.
apiVersionnumberAPI version of the search service.
requestIdstringRequest identifier.
responseTimestringTime taken for the search (e.g., "11.89 ms").
hashstringThe hash that was checked.
datastringResult message (e.g., "Hash found." or not found).

Verify File Response

/v2/verify/file

The top-level data field wraps a SEARCH_API response. When x-report-required is set, data may also include a file object with the PDF report download details.

Example (data field):

{
  "service": "SEARCH_API",
  "apiVersion": 2,
  "requestId": "POSTMAN",
  "responseTime": "3346.43 ms",
  "data": {
    "fileHash": "106F1589B5818A400679A87A19214C43605DEC3EBFDD61E45A776A81C120DD9B",
    "fileName": "",
    "fileSize": 0,
    "result": "full match",
    "nftCoinId": "0xB2E182C1AA0635BDD1154EEB9C6512CA73568D09B59DE3E1831517241ABC5A96",
    "nftTxnId": "0x00000370B400925F2B5F196D212ACCCF6A8E993A28F90AACAC2520A5C3CCFCF4",
    "method": "file",
    "uniqueHashes": 1,
    "blockchainData": [
      {
        "blockNumber": 1906787,
        "blockDate": "2026-01-21T09:55:48.726Z",
        "txpowId": "0x00000019299334C6E083683292728F7F1459FCF14A16623F3CE2A77BA343E57F",
        "transactionId": "0x000011381DB9843340378BE44167704EC286BC2A7B63693CD945E619781AF48E",
        "matchedHash": "106F1589B5818A400679A87A19214C43605DEC3EBFDD61E45A776A81C120DD9B"
      }
    ],
    "fileSegments": [
      {
        "matchedHash": "106F1589B5818A400679A87A19214C43605DEC3EBFDD61E45A776A81C120DD9B",
        "offset": 0,
        "packetSize": 0
      }
    ]
  },
  "file": {
    "fileName": "verification-report-2026-01-29T13-54-50-415Z.pdf",
    "downloadUrl": "https://...",
    "fileSize": 78082,
    "expiresIn": "1 hour",
    "bucket": "reports"
  }
}

Verification data.data Fields

FieldTypeDescription
fileHashstringHash of the file that was verified.
fileNamestringFile name (optional; from request body when provided).
fileSizenumberFile size in bytes (optional; from request body when provided).
resultstringVerification result (e.g., full match, no match).
nftCoinIdstringNFT coin ID on the blockchain (when report has been requested).
nftTxnIdstringNFT transaction ID (when report has been requested).
methodstringMethod used for verification file.
uniqueHashesnumberNumber of unique hashes found on-chain.
blockchainDataarrayList of on-chain records. See Breakdown of blockchainData.
fileSegmentsarrayMatched segments. See Breakdown of fileSegments.

Optional data.file (PDF Report)

When x-report-required is set, data.file is present with the report download details:

FieldTypeDescription
fileNamestringName of the generated PDF report file.
downloadUrlstringURL to download the report.
fileSizenumberSize of the report file in bytes.
expiresInstringHow long the download URL is valid (e.g., "1 hour").
bucketstringStorage bucket "reports".

Breakdown of blockchainData

FieldTypeDescription
blockNumbernumberBlock number where the hash was found.
blockDatestringISO-8601 timestamp when the hash was recorded.
txpowIdstringTxPoW ID of the block.
transactionIdstringTransaction ID.
matchedHashstringThe matched hash value found in the block.

Breakdown of fileSegments

FieldTypeDescription
matchedHashstringHash value of the matched segment.
offsetnumberOffset of the segment in the file (position in original file).
packetSizenumberLength in bytes of the matching segment.

On this page