TruthCam Developer API

Integrate blockchain-verified image authenticity into your applications

Get API Key

Blockchain Verified

Every image proof is cryptographically secured on Solana blockchain with Merkle tree verification

Fast & Reliable

RESTful API with sub-second response times and 99.9% uptime guarantee

Simple Authentication

OAuth-based login with GitHub/Google and secure API key management

Quick Start

1

Sign Up

Create an account using GitHub or Google OAuth. No credit card required.

Sign Up Now
2

Get Your API Key

Navigate to your dashboard and create a new API key. Free tier includes 1,000 credits.

tc_live_aBcDeFgHiJkLmNoPqRsTuVwXyZ123456
3

Make Your First Request

Verify an image by hash using a simple POST request:

curl -X POST https://truthcam.net/api/v1/public/verify/hash \
  -H "X-API-Key: tc_live_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "image_hash": "abc123..."
  }'

API Endpoints

POST/api/v1/public/verify/hash

Verify image authenticity by SHA-256 hash

View Example Response
{
  "verified": true,
  "image_hash": "abc123...",
  "batch_id": "batch-uuid",
  "merkle_root": "root-hash",
  "solana_txid": "tx-id",
  "solana_network": "mainnet",
  "timestamp": "2024-01-01T00:00:00",
  "message": "Image verified successfully"
}
POST/api/v1/public/verify/upload

Verify image authenticity by uploading file (multipart/form-data)

View cURL Example
curl -X POST https://truthcam.net/api/v1/public/verify/upload \
  -H "X-API-Key: tc_live_YOUR_KEY_HERE" \
  -F "file=@/path/to/image.jpg"
GET/api/v1/developer/keys/usage/current

Check your current month's API usage statistics

View Example Response
{
  "usage": 234,
  "quota": 1000,
  "tier": "free",
  "remaining": 766,
  "percentage": 23.4,
  "period": "monthly"
}

Credit Packages

Purchase API credits with no expiration. Use them anytime, at your own pace.

Free

$0
  • 1,000 API credits
  • No expiration
  • Community support
Get Started
POPULAR

Pro Pack

$29
  • 60,000 API credits
  • +10K bonus (20%)
  • No expiration
  • Priority support
Buy Credits

Business Pack

$99
  • 250,000 API credits
  • +50K bonus (25%)
  • No expiration
  • Premium support
Buy Credits

Need Help?

Download our bulk verification app or reach out to our support team

Contact Support