REST API · 5-LAYER PROTOCOL

TruthSource API Reference

Welcome to the TruthSource API. Our RESTful architecture empowers enterprise teams to integrate 5-Layer Cryptographic Verification directly into their existing workflows.

01

Security & Authentication

🔒 Zero-Retention Policy

The API processes file hashes locally on your client or securely in-memory. We never store your original files.

🔑 Authentication

Authenticate your API requests via Bearer Tokens. Include your secret key in the header:

http
Authorization: Bearer tsk_live_YOUR_KEY
02

Core Endpoints

All endpoints accept JSON payloads and return standard HTTP response codes.

POST
/notarize

Registers and cryptographically certifies a new digital asset on the Polygon blockchain. Injects C2PA compliance metadata.

POST
/verify

Instantly verifies a file's hash against the immutable blockchain ledger.

POST
/status

Retrieves the real-time processing and AI-forensic status of a specific record by its ID.

POST
/list

Returns a paginated list of all notarized assets associated with your API key.

03

API Sandbox

Run a request without leaving the page. The sandbox hashes locally and returns an illustrative payload in the exact shape the live API responds with.

truthsource — api sandboxSIMULATION
bash
curl -X POST https://truthsource-pro.base44.app/api/functions/apiGateway \
  -H "Authorization: Bearer tsk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "endpoint": "notarize",
        "hash": "<sha256-of-your-asset>",
        "author": "reuters.com",
        "fileType": "image/jpeg" }'
Runs locally. No key needed, no quota consumed, no record created.
04

Webhooks & Asynchronous Processing

Blockchain anchoring requires confirmation time. Use our Webhooks to receive real-time POST alerts to your endpoint when an asset's certification is completed or if an AI-forensic anomaly is detected.

05

Rate Limits & SLA

Starter
100 requests/month

Ideal for testing

Professional
500 requests/month
Enterprise
Unlimited processing

Custom SLA, dedicated account manager, and on-premise deployment options.

Contact sales for provisioning.

Deepfake Detection & Zero-Knowledge Privacy: Your original files are securely deleted immediately after analysis.

TruthSource🍪 Cookie Consent

TruthSource uses cookies for essential functionality and, with your consent, for analytics and advertising. You can accept all, manage preferences, or reject non-essential cookies. Privacy Policy · Cookie Policy

Consent powered by TruthSource