NYYU Logo
APIStatistics

Statistics & Analytics Overview

Comprehensive guide to round performance metrics, statistical analysis, and success rate tracking API endpoints

📊 STATISTICS API

Statistics & Analytics

Real-time performance metrics, statistical analysis, and success rate tracking for auction rounds with comprehensive data visualization support.

Overview

The Statistics API provides essential analytics and metrics for auction round performance. Access token pricing data, statistical distributions, and success rates to build powerful dashboards, charts, and data-driven insights.


Key Features

💰

Price Metrics

Track token prices and sold amounts across all auction rounds

📈

Statistical Analysis

Min, max, and standard deviation metrics for round performance

🎯

Success Rates

Win rates and failure rates for comprehensive success tracking


Available Operations


Data Types

Core Statistics Types

💰

RoundPerform1

Performance Metrics
roundNumberThe round identifier (integer)
tokenPriceToken price during the round (float)
soldAmountTotal tokens sold in round (float)
📈

RoundPerform2

Statistical Metrics
roundNumberThe round identifier (integer)
minMinimum value metric (float)
maxMaximum value metric (float)
stdStandard deviation (float)
🎯

RoundChance

Success Rate Metrics
roundNumberThe round identifier (integer)
winRatePercentage of successful outcomes (float)
failedRatePercentage of failed outcomes (float)

Common Use Cases

📊

Analytics Dashboard

Build comprehensive dashboards showing round performance, token pricing trends, and statistical distributions

📈

Data Visualization

Create charts and graphs using Chart.js, Recharts, or D3.js to visualize auction performance over time

🎯

Performance Tracking

Monitor success rates and identify trends in round outcomes for strategic decision making

💡

Predictive Analysis

Use historical statistics and standard deviation data to forecast future round performance


Integration Flow

Typical Analytics Integration

📡

Fetch Statistics
Query all metrics

🔄

Process Data
Transform & analyze

📊

Visualize
Render charts

Real-time Updates
Polling/webhooks

Best Practices

⚡ Efficient Polling

Implement smart polling intervals (30-60 seconds) to keep statistics fresh without overwhelming the API

💾 Caching Strategy

Cache statistics data locally and only refresh when necessary to improve performance and reduce API calls

📊 Data Aggregation

Combine multiple statistic queries to build comprehensive analytics views with complete round performance data

🎯 Filtering & Sorting

Process and filter statistics client-side to show specific round ranges or highlight performance anomalies

📈 Visualization Libraries

Use Chart.js, Recharts, or Victory for responsive, accessible charts that work across devices

🔔 Change Detection

Implement diff checking to detect when statistics change and trigger UI updates only when needed


Chart Integration Examples

Popular Charting Libraries

📊
Chart.js

Simple, flexible charts with canvas rendering

react-chartjs-2
📈
Recharts

Composable React charts with SVG

recharts
🎨
Victory

Modular, React Native compatible

victory