Get backtesting metrics
GET/backtesting/metrics
Retrieve overall backtesting accuracy metrics for a season.
Use Cases:
- Evaluate model accuracy and performance
- Compare accuracy across scoring systems
- Track improvement over time
- Build trust with users by showing historical accuracy
Metrics include:
- Overall accuracy percentage
- Mean absolute error (MAE)
- Root mean square error (RMSE)
- Accuracy by position (QB, RB, WR, TE)
- Accuracy by player tier (elite, great, good, etc.)
Default Behavior:
- If no season specified, returns most recent season with data
- Defaults to PPR scoring system
Request
Responses
- 200
- 400
- 401
- 404
- 429
- 500
Successful response
Response Headers
X-RateLimit-Limit
Total requests allowed per hour
X-RateLimit-Remaining
Requests remaining in current window
X-RateLimit-Reset
Unix timestamp when limit resets
Bad Request - Invalid parameters
Unauthorized - Invalid or missing API key
Not Found - Resource does not exist
Rate Limit Exceeded
Internal Server Error