Verify Data (Using Source Data)
Verify data by sending the source file and optionally a proof file. Returns verification results with blockchain validation details.
| Attribute | Details |
|---|---|
| Method | POST |
| Description | This endpoint is used to submit one or two files for data verification against the blockchain. It processes the provided data and proof (if provided) and returns the verification results. |
| Endpoint | https://integritas.technology/core/v1/verify/post |
NFT Proof Trace (Optional Feature)
The NFT Proof Trace is an optional feature in the API that allows you to request an NFT trace of the verification process.
When enabled:
- It provides an immutable, on-chain record of the validation.
- The verification is linked to a unique NFT, ensuring transparency and traceability.
Request Headers
| Header | Value | Description |
|---|---|---|
| Content-Type | multipart/form-data | Specifies the content type as multipart form data |
| x-api-key | your-api-key | Add your API-key from your profile at https://integritas.technology/ |
| x-report-required | true / false | Request NFT trace from the verification process |
| x-request-id | your-choice | Add a request id to trace every step of the process |
Request Body (Choose one)
| Request Type | Content-Type | Body Type | Keys | Description |
|---|---|---|---|---|
| File upload | multipart/form-data | form-data | file | Validate a source file. |
| File upload | multipart/form-data | form-data | file | Validate a .tar file. The .tar file should contain the source file and a JSON proof file. |
| File upload | multipart/form-data | form-data | file, jsonproof | Validate a source file with a JSON proof file. |
Note: Uploading Hash to Blockchain
When verifying with only a source file (without a proof file), the file's hash must already exist on the blockchain to receive a match result.
To upload a hash to the blockchain, you can send it directly from your own Minima node using this terminal command:
Replace [YOUR_HASH] with your actual file hash. This sends the transaction from your own node directly to the blockchain.
Request Examples
API Demo
Try the endpoint with your own API key, source file, and optional proof file. The request is sent directly to the API, and the response is displayed below.
Your API key is only used for this request and is not stored.
API Response
The response from the API contains information about a file and its results from on-chain verification.
Example Response (No Match)
Example Response (Full Match)
Response Fields
For a complete description of the shared verification response schema
used by this endpoint, including blockchain_data and fileSegments,
see
API Response Schema — Verification Response.
Get Proof
Retrieve proof of stamped data by sending the UID from the previous response. This is the third step in the stamping process.
Verify Hashed Data (Using Only Proof File)
Verify data using only a proof file. This endpoint requires NFT trace and returns verification results with blockchain validation details.