BetterOdds Docs
API
Reference for platform-facing endpoints used by the dashboard features.
The dashboard consumes internal API routes for markets, prices, orders, copy-trade, and leaderboard data.
Core read endpoints include markets, price history, orderbook snapshots, and trader metrics. These power list pages, charts, and ranking views.
Action endpoints include order placement and copy-trade configuration. Treat these as state-changing operations and enforce validation on every request.
For production integrations, implement retries with bounded backoff and surface clear error states to users when upstream data is delayed.
API integration guidelines
- Validate request parameters and handle non-200 responses explicitly.
- Cache read-heavy endpoints where freshness requirements permit.
- Log request ids and timing to support incident debugging.