Skip to main content

Base URL

  • Local default: http://localhost:3001

Route groups

Integration path

1

Verify server health

Call GET /health and confirm status: "ok" before sending write requests.
2

Generate recipient keys

Call POST /api/v1/keys/generate and securely store secret fields.
3

Create and publish stealth announcement

Use POST /api/v1/stealth/create, then publish with POST /api/v1/registry/announcements.
4

Scan for discoveries

Use POST /api/v1/stealth/scan with your viewing/spending keys and optional filters.

Health check examples

curl -s http://localhost:3001/health | jq .

Health response schema

status
string
required
Server status string ("ok" when healthy).
version
string
required
Current backend package version.
uptime_seconds
integer
required
Elapsed process uptime in seconds.
announcements_count
integer
required
Current in-memory registry count.
use_testnet
boolean
required
true when backend is configured for Sepolia/testnet.

Operational boundaries

No HTTP auth middleware is implemented in current routes.
No API-level rate limiter is implemented in current server code.
CORS allows any origin, method, and header (CorsLayer::allow_origin(Any) etc.).
Run production traffic behind your own gateway controls for auth, rate limiting, and abuse protection.