Getting Started with CodexHash

Start creating and verifying hash events in minutes. CodexHash provides a REST API for cryptographic hashing with chain integrity verification.

Quick Start Steps

1

Create an Account

Sign up for a free developer account to get access to the CodexHash API.

Create Account
2

Get API Access

Access the REST API directly or use the official TypeScript SDK.

View SDK & API
3

Make Your First Request

Create your first hash event using the API.

See Example
4

Verify & Build

Verify hash chain integrity and integrate into your application.

API Reference

Your First Hash

Installation
# No installation required - use cURL or any HTTP client
Example Code
# Create a new hash event
curl -X POST https://codexhash.web3connected.com/api/hash/ \
  -H "Content-Type: application/json" \
  -d '{
    "data": "Hello, World!",
    "mode": "quick",
    "algo": "sha256"
  }'

# Response:
# {
#   "id": "a8d1ddee-79e9-4ca0-8156-ac0413d10583",
#   "created_at": "2026-03-13T12:00:00",
#   "payload_hash": "c9ababd6c6a2f2b...",
#   "prev_event_hash": "b5a82e40d77a...",
#   "event_hash": "9c22057440f21...",
#   "mode": "quick",
#   "algo": "sha256"
# }

# Verify hash chain integrity
curl -X POST https://codexhash.web3connected.com/api/hash/verify/{event_id}

# List hash events
curl https://codexhash.web3connected.com/api/hash/?limit=10

# Get a specific hash event
curl https://codexhash.web3connected.com/api/hash/{event_id}

Key Concepts

Hash Modes

Quick: Fast hashing for high throughput.
Standard: Balanced security (recommended).
Secure: Maximum security with additional entropy.

Hash Chain

Each hash event links to the previous one via prev_event_hash. This creates an immutable chain that can be verified for integrity.

Chain Verification

Use the /verify/{id} endpoint to verify any hash event and confirm the entire chain remains intact.