Analyticslive sample
GET/prediction-market/analytics
Trends, top markets, momentum distribution, and per-market momentum signals for prediction markets.
Query parameters
- categoryCategory to analyze. Omit to get platform-wide totals across all categories.
- platformFilter to one platform
- time_rangeWindow for category trends: `7d`, `30d`, `90d`, `180d`, or `1y`. Bucket size is fixed at 1 day — this endpoint uses `time_range` only and does NOT accept `interval`.
- top_nNumber of top markets to include
- sort_bySort field for momentum markets
- orderSort direction
- limitLimit for momentum markets list
- offsetPagination offset for momentum markets
Request
path
/prediction-market/analytics
copy-curl
curl "https://api.asksurf.ai/gateway/v1/prediction-market/analytics" -H "Authorization: Bearer $SURF_API_KEY"
Live sample