{"name":"Trade History API","version":"2.0.0","description":"REST API for Hyperliquid trading data with authentication","documentation":{"swagger":"/api-docs","openapi":"/swagger.json"},"authentication":{"type":"Privy JWT","description":"Authenticate via Privy SDK on the frontend, then pass the Privy access token as a Bearer token","headers":{"authorization":"Bearer <privy-access-token>"}},"endpoints":{"trades":"GET /api/trades","stats":"GET /api/stats","export":"GET /api/export/csv","markets":"GET /api/markets","health":"GET /health (public)","leaderboardXp":"GET /api/leaderboard/xp","leaderboardVolume":"GET /api/leaderboard/volume","promotePolling":"POST /api/polling/promote","intercomJwt":"POST /api/intercom/jwt"},"usage":{"authentication":{"step1":"Login via Privy SDK on the frontend","step2":"Use Authorization: Bearer <privy-token> header for API requests"},"trades":"GET /api/trades?markets=BTC,ETH&venues=SPOT,PERP&timeRange=1w&limit=100","stats":"GET /api/stats?timeRange=1w","markets":"GET /api/markets","export":"GET /api/export/csv?venues=SPOT"}}