{"name":"trencher-labs-api","docs":"/api/health","routes":["GET  /api/health","GET  /api/health/feeds","GET  /api/health/sources       (per-source aggregator health + optional ?mint= smoke probe)","GET  /api/health/gmgn","GET  /api/health/security","GET  /api/price/sol","GET  /api/wallet/:address/balance","GET  /api/wallet/:address/positions","GET  /api/wallet/:address/inspect   (Wallet Inspector overview — fast)","GET  /api/wallet/:address/holdings  (current SPL token holdings + USD)","GET  /api/wallet/:address/trades    (recent on-chain swaps + transfers)","GET  /api/wallet/:address/pnl       (realized + unrealized PnL, GMGN→Birdeye→FIFO)","GET  /api/wallet/:address/funding   (earliest SOL funder + CEX label)","GET  /api/wallet/:address/clusters  (cluster-analysis reverse lookup)","GET  /api/wallet/:address/full      (all 6 sections, one round trip)","GET  /api/discover/launches","GET  /api/token/trending","GET  /api/token/search?q=","GET  /api/token/:contract","GET  /api/token/:contract/score","GET  /api/token/:contract/risk","GET  /api/token/:contract/holders","GET  /api/token/:contract/candles?tf=5m","GET  /api/token/:contract/transactions","GET  /api/token/:contract/aggregate","GET  /api/token/:contract/top-traders?limit=25","GET  /api/token/:contract/kols","GET  /api/token/:contract/liquidity","GET  /api/token/:contract/boosts","GET  /api/token/:contract/first-buyers","GET  /api/token/:contract/deployer","GET  /api/token/:contract/social","GET  /api/token/:contract/aggregator","POST /api/chat/nonce","POST /api/chat/verify","GET  /api/chat/:contract/access?wallet=","GET  /api/chat/:contract/history?limit=","GET  /api/chat/rooms","GET  /api/chat/identity?wallet=","GET  /api/chat/x/start?token=&redirect=","GET  /api/chat/x/callback?code=&state=","POST /api/chat/email/request","POST /api/chat/email/verify","WS   /api/chat/ws?token=","POST /api/livestream/start","POST /api/livestream/end","GET  /api/livestream/:mint","GET  /api/registry","GET  /api/registry/:wallet","POST /api/registry/report","GET  /api/orders?owner=","POST /api/orders","DELETE /api/orders/:id","POST /api/ingest/helius","GET  /api/ingest/events?since=","GET  /api/ingest/stream  (SSE)","GET  /api/stream?mints=…  (SSE: sol+price)","GET  /api/pulse/launches  (SSE: pump.fun new tokens + safety screen)","GET  /api/pulse/status","POST /api/swap/build     (Jupiter v6 quote + swap; embeds Jito tip)","POST /api/swap/submit    (Helius Sender + Jito Bundle dual-submit)","GET  /api/launch-mode    (betaMode flag + comingSoon feature list)","POST /api/beta/waitlist  (email signup for full-launch invite)","GET  /api/beta/waitlist/status  (count only — never returns emails)","GET  /api/calls?status=pending|confirmed|cleared&limit=&offset=","GET  /api/calls/stats  (Trencher AI rug-call hit rate)","GET  /api/calls/:mint  (single call detail for badge tooltip)","GET  /api/referrals/me?wallet=  (per-wallet referral dashboard)","POST /api/referrals/click       (logs ?ref=<code> top-of-funnel click)","POST /api/referrals/attribute   (records first-touch attribution)","POST /api/referrals/signup      (issues a referral code — wallet sig + verified email required)","POST /api/referrals/record      (credits 10% of fee to referrer; no-op in BETA_MODE)","POST /api/referrals/claim       (queues a payout — sweep cron sends on-chain; 503 in BETA_MODE)","GET  /api/referrals/leaderboard (anonymized top 50 referrers)","GET  /api/referrals/config      (current bps + min-claim threshold)","POST /api/log/client-error             (capture a single client JS error — rate-limited 30/min/IP)","GET  /api/log/client-errors?limit=&since=&fingerprint=  (recent errors, DESC)","GET  /api/log/client-errors/stats      (top fingerprints + by-route counts)","GET  /api/log/client-errors/dashboard  (HTML admin viewer — dark/mono)"]}