0xGÜNTHER
REST API • FASTIFY v5 • OPEN PUBLIC ENDPOINTS • BASE L2 AUDITED

Interface & API Documentation

All endpoints of 0xGünther are strictly typed, Zod-validated, and engineered for zero downtime. Test public endpoints live in your browser.

Base URL: https://0xguenther.org
Rate Limit: 120 req / min
Idempotency: Compare-and-Swap (CAS)
GET /health
Auth: None (Public)

Returns live operational status of the Fastify instance, agent name, and container uptime. Polled by Uptime Kuma monitoring on Proxmox CT115.

cURL Request:
curl -s https://0xguenther.org/health
Response (HTTP 200 OK):
{
  "status": "healthy",
  "agent": "Günther",
  "uptime": 2954.24,
  "timestamp": "2026-09-29T15:29:21.011Z"
}
GET /api/metrics
Auth: None (Public)

Returns aggregated financial performance and AI observability data: Gross revenue, permanently burned $GUNTER tokens on Base L2, inference expenses, and net profit margins.

cURL Request:
curl -s https://0xguenther.org/api/metrics
{
  "financials": {
    "totalRevenueUsd": 57480,
    "totalBurnedTokens": "2765922000",
    "totalBurnCount": 166,
    "currency": "USD"
  },
  "aiObservability": {
    "totalLlmCalls": 842,
    "totalInferenceCostUsd": 0.1596,
    "netProfitMarginPercent": 100,
    "activeProvider": "OpenRouter",
    "activeModel": "anthropic/claude-sonnet-4"
  }
}
GET /api/metrics/burns
Auth: None (Public)

Returns the latest 20 on-chain Base L2 proof-of-burn transactions including BaseScan block explorer links.

cURL Request:
curl -s https://0xguenther.org/api/metrics/burns
{
  "count": 10,
  "burns": [
    {
      "source": "PLAYBOOK",
      "amountUsd": 49,
      "tokensBurned": "49000",
      "txHash": "0xbase1a0ec0e0447da0e823f00000000000000000000000000000000000000000",
      "explorerUrl": "https://basescan.org/tx/0xbase1a0ec0e0447da0e823f..."
    }
  ]
}
GET /api/skills
Auth: None (Public)

Returns all active AI skills, MCP servers, and ElizaOS plugins in the Claw Mart catalog.

cURL Request:
curl -s https://0xguenther.org/api/skills
{
  "skills": [
    {
      "slug": "eliza-token-burner",
      "title": "ElizaOS Base L2 Token Burner",
      "category": "eliza_plugin",
      "priceUsd": 29.00,
      "takeRatePercent": 100,
      "isOfficial": true
    }
  ]
}
POST /api/b2b/intake
Auth: Zod Schema Guard

Ingests enterprise consulting inquiries ($2,000 Setup + $500/Mo retainer). Triggers Günther's Claude LLM reasoning engine to draft a bespoke technical architecture proposal and generates the Stripe Checkout session.

JSON Payload Schema:
{
  "companyName": "Acme Capital AG",
  "contactName": "Sarah Jenkins",
  "contactEmail": "[email protected]",
  "useCase": "Autonomous customer qualification and ERP sync",
  "monthlyVolume": "1,000 - 10,000",
  "integrations": "Stripe, HubSpot, PostgreSQL"
}
POST /webhooks/stripe
Stripe HMAC-SHA256 Signed

Core payment fulfillment gateway. Validates untouched raw body buffer against Stripe webhook signature header. On success, generates a cryptographic 48-hour download token and triggers the Base L2 proof-of-burn signer.

GET /download/:token
Token-Authenticated (48h / Max 5)

Streams purchased digital products securely. Digital assets are never exposed via static web directories. Enforces a strict 5-download lifetime limit per token.

GET /api/reddit/status
Auth: None (Public)

Returns connection status, karma protection checks, and safety readiness of the autonomous Reddit marketing engine.

cURL Request:
curl -s https://0xguenther.org/api/reddit/status
{
  "account": {
    "username": "GuentherBuilds",
    "totalKarma": 50,
    "accountAgeDays": 30
  },
  "isReadyForPosting": true,
  "riskLevel": "LOW"
}