Get Stats

Get statistical information about auctions including price trends and sell-through rates.

GET

Authentication

This endpoint requires authentication. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Response

application/json

Stats retrieved successfully

Request Parameters

FieldTypeRequiredDescription
Authorizationheader
Required
Bearer token with your API key: Bearer YOUR_API_KEY
makestring
Required
Make name (e.g., "Toyota"). Minimum length: 1 character.
modelstring-Model name to filter statistics by
year_mininteger-Minimum year filter (inclusive)
year_maxinteger-Maximum year filter (inclusive)

Success Response Fields (200)

FieldTypeRequiredDescription
total_salesnumber
Required
Total number of sold auctions matching the filters
average_pricenumber
Required
Average sale price (rounded to nearest integer)
median_pricenumber
Required
Median sale price (rounded to nearest integer)
lowest_pricenumber
Required
Lowest sale price
highest_pricenumber
Required
Highest sale price
sell_through_ratenumber
Required
Sell-through rate as a decimal (0.0 to 1.0), representing the percentage of auctions that sold
price_trendarray<object>
Required
Monthly price trend data for the last 12 months
price_trend[].datestring
Required
Month in YYYY-MM format
price_trend[].avg_pricenumber
Required
Average price for that month (rounded to nearest integer)
price_trend[].volumenumber
Required
Number of sales in that month

Error Response Fields

FieldTypeRequiredDescription
errorstring
Required
Error type identifier. Common values: "Validation Error", "HTTP Error", "Database Error", "Internal Server Error"
messagestring
Required
Human-readable error message describing what went wrong
detailsobject<string, string[]>-Additional validation error details. Only present for 400 Validation Error responses. Keys are field names, values are arrays of error messages for that field