v2.0 API Available

Anchora VaaS Documentation

Build tamper-proof applications with blockchain-backed data integrity. Add immutability and cryptographic proof to any app with simple APIs.

Quick Example

Anchor your first piece of data with just a few lines of code:

curl -X POST https://api.anchora.co.in/v1/anchor/encrypted \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "data": {
      "name": "Alice Smith",
      "email": "alice@example.com",
      "ssn": "123-45-6789"
    },
    "encryptionKey": "your-strong-encryption-key-min-32-chars",
    "mutableFields": ["name", "email"],
    "immutableFields": ["ssn"]
  }'

Certificate API NEW

Every anchored record can generate a branded PDF certificate and JSON badge data. Certificates make blockchain proof tangible — a bank shows it to a regulator, a university gives it to a student, a company attaches it to a contract.

How It Works

Anchor Data Get Hash Download Certificate Share / Print

What's in the PDF: Anchora branding, data hash (SHA-256), block number, transaction hash, batch ID, Merkle root, timestamp, network, QR code (links to verify.anchora.co.in), unique Certificate ID, and "VERIFIED ON BLOCKCHAIN" badge.

Certificate ID format: CERT-{unix_timestamp}-{first_8_chars_of_hash} — e.g. CERT-1710345600-a1b2c3d4

GET /v1/certificate/{hash}

Download a branded PDF certificate for a blockchain-anchored record. Returns application/pdf.

cURL
curl -o certificate.pdf \
  -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.anchora.co.in/v1/certificate/{hash}
GET /v1/certificate/{hash}/json

Get certificate metadata as JSON for custom displays, embeddable badges, or verification portals.

JSON Response
{
  "success": true,
  "certificate": {
    "certificateId": "CERT-1710345600-a1b2c3d4",
    "hash": "a1b2c3d4e5f67890...64 chars",
    "blockNumber": 45678901,
    "transactionHash": "0xabc123...64 chars",
    "batchId": 1234,
    "merkleRoot": "0xdef789...64 chars",
    "anchoredAt": "2026-03-13T14:30:00.000Z",
    "network": "polygon-amoy",
    "verifyUrl": "https://verify.anchora.co.in/verify/a1b2c3d4...",
    "polygonscanUrl": "https://amoy.polygonscan.com/tx/0xabc123...",
    "generatedAt": "2026-03-13T15:00:00.000Z"
  }
}

Error Responses

Status Error Code When
400NOT_ANCHOREDRecord is still QUEUED or BATCHING
404HASH_NOT_FOUNDNo record found with this hash
401UNAUTHORIZEDMissing or invalid API key
429RATE_LIMIT_ERRORToo many requests
Important: Certificates are only available after a record reaches ANCHORED status. Records in QUEUED or BATCHING status will return a NOT_ANCHORED error.

Key Features

AES-256 Encryption

Military-grade encryption with PBKDF2 key derivation.

HIPAA Ready

Built-in compliance for healthcare and financial data.

Privacy Search

Hash-based search without exposing data.

GDPR Delete

Soft, hard, and complete deletion options.