API & Docs
Talk to Unicorn.
All endpoints live on the same server that rendered this page. Everything is JSON. Auth where required is capability token (CBAT) — issued per action.
| Method | Path | Purpose |
|---|---|---|
GET | /health | Liveness |
GET | /snapshot | Full snapshot of modules/verticals/telemetry |
GET | /stream | SSE stream of snapshots (5s) |
GET | /api/services | Live service catalogue (marketplace + verticals) |
GET | /api/services/:id | Service detail |
POST | /api/checkout/btc | Create BTC invoice + signed receipt |
POST | /api/checkout/paypal | Create PayPal link + signed receipt |
POST | /api/activate | Activate a purchased service |
GET | /api/autonomy/verify | Verify Merkle chain integrity |
GET | /api/autonomy/did | List registered module DIDs |
POST | /api/revenue/route | Route a revenue event (signed) |
POST | /api/outcome/record | Record proven outcome → auto‑invoice |
Example: create BTC invoice
curl -s -X POST https://zeusai.pro/api/checkout/btc \
-H 'Content-Type: application/json' \
-d '{"amount":49,"currency":"USD","plan":"starter","email":"you@company.com"}'