Statistics Endpoints
Access comprehensive analytics and statistics about votes through the API. These endpoints provide aggregated data including dashboard summaries, vote trends over time, leaderboards of top voters, statistics grouped by provider, and detailed voter analytics. Use these endpoints to build custom analytics dashboards, track voting performance, identify trends, and gain insights into your community's voting behavior. The public stats endpoint allows you to embed vote statistics on external websites without authentication.
Available Endpoints
GET /v1/stats/public
Public aggregate statistics. No authentication required
GET /v1/stats/dashboard
Dashboard statistics including summary counts, provider breakdown, and daily trends
GET /v1/stats/leaderboard
Get top voters leaderboard
GET /v1/stats/trend
Get trend data with customizable date range
GET /v1/stats/by-provider
Get vote statistics grouped by provider
GET /v1/stats/voter/:voter_name
Get detailed statistics and vote history for a specific voter
Analytics Endpoints
Dive deeper into your vote analytics with these specialized endpoints: