BATENBASE
Causal Storage for Builders
A key-value database with built-in causal tracking, observer-relative visibility, audit-grade event log, and multi-tenancy. REST API. Zero config. Rust-fast.
Causal Model
Multi-tenant
WAL + Compaction
REST API
Written in Rust
Audit Log
Redis has no time, no causality, no audit
DynamoDB is expensive and vendor-locked
Postgres is overkill for structured blobs
Nobody tracks who saw what and when
BatenBase stores every block with its full causal history — who created it, when it was last modified, whether it's visible or hidden, and to whom. Not as metadata bolted on. As the schema itself.
f
Origin
Creation timestamp. Immutable. The causal anchor of every block.
l
Delta
Last-write timestamp. Tracked automatically on every update.
v
Access
Access scope. Controls which observers can read this block.
h
Redact
Redaction flag. Takes precedence over access. Used for soft deletes.
curl
# 1. Write a block
curl -X PUT https://api.batenbase.com/blocks/user:alice@corp.com \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"data": {"name": "Alice", "role": "admin"}}'

# → {"ok": true, "key": "user:alice@corp.com"}

# 2. Read it back
curl https://api.batenbase.com/blocks/user:alice@corp.com \
  -H "Authorization: Bearer YOUR_TOKEN"

# → {"key":"user:alice@corp.com","f":1737900000,"l":1737900000,"v":1,"h":0,
#    "data":{"name":"Alice","role":"admin"}}

# 3. Scan a prefix
curl "https://api.batenbase.com/blocks?prefix=user:&limit=50" \
  -H "Authorization: Bearer YOUR_TOKEN"

# 4. Append an audit event
curl -X POST https://api.batenbase.com/events \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{"kind":"user.login","details":{"email":"alice@corp.com"}}'
GET/blocks?prefix=&limit=List blocks (scoped to your tenant)
GET/blocks/{key}Read one block
PUT/blocks/{key}Upsert a block — auto F/L timestamps
DEL/blocks/{key}Delete a block
GET/events?since=24h&limit=50Scan audit events
POST/eventsAppend an audit event
GET/tenants/meYour quota & plan info
GET/healthLiveness — no auth required
Rust
Written in Rust. No GC pauses. Microsecond latency on local reads.
🔒
WAL
Write-ahead log + compaction. Durable by design. Survives crashes.
🏢
Multi-tenant
Full namespace isolation per tenant. Token-scoped. Quota-enforced.
Free
€0 / month
For side projects and experiments.
  • 10,000 blocks
  • All API routes
  • Audit event log
  • Causal model
  • Community support
Get started →
Unlimited
€99 / month
For platforms and resellers.
  • Unlimited blocks
  • All API routes
  • Dedicated instance
  • SLA + uptime
  • Direct support
Contact us →
Free plan. No credit card. API key available immediately.