Reference
API reference
Base URL https://api.trenchnode.fun. Authenticate with a bearer token issued to your verified fomo handle.
Authentication
After Discord verification, mint a token from the console. Send it as Authorization: Bearer tn_….
Tokens are scoped read-only. They cannot trade, sign or move funds. Rotate them from the account panel; revoked keys 401 immediately.
Endpoints
/v1/status
Component health, median latency and incident rollup. Same payload that drives /status.
/v1/pairs
Live trenches. Query by chain, min mcap, min volume, age. Returns sparkline, holders, 24h delta.
/v1/calls
First-caller stream. Deduped posts with conviction, follower count and related ticker.
/v1/wallets/:address
Cluster membership, labelled sniper/bundler/insider flags, recent fills.
/v1/sentiment/:ticker
Aggregate score plus per-source breakdown (X, Telegram, Discord, on-chain flow).
wss://stream.trenchnode.fun/v1
Subscribe to pair, call, cluster and alert channels. Heartbeat every 15s.
Example
curl -s https://api.trenchnode.fun/v1/pairs?chain=sol \
-H "Authorization: Bearer tn_live_…"
{
"pair": "RETARDIO",
"chain": "SOL",
"mcap": 48200000,
"change_24h": 2.124,
"latency_ms": 38
}Rate limit is 60 req/s on REST and 1 websocket session per token. Stream lag is published on latency status.
