Get All Sales Trends (Daily/Weekly/Monthly)
Changed onReturn all indexed sales, including matched and unmatched sales, using the same calendar buckets and bucket fields as sales-stats-by-player, without a player or category filter. Each bucket includes transaction count, total_amount (USD), average_sale (USD), inclusive UTC start/end dates, and partial. Totals describe Card Hedge's indexed sales coverage; a transaction is one indexed sale record. Amounts are rounded to two decimals; indexed price precision can produce small differences from source totals.
interval is day, week, or month (default week); periods defaults to 12. Days use midnight-to-midnight UTC, ISO weeks run Monday–Sunday, and months follow calendar boundaries. Caps match player trends: day ≤ 90, week ≤ 52, month ≤ 24. Buckets run oldest to newest, with empty periods filled with zeros.
include_current defaults to false: the newest bucket ends yesterday UTC (T-1), last Sunday, or the last day of the previous month. Explicitly set true to include the in-progress period within the requested number of buckets.
Only completed buckets are cached, for 24 hours. Partial buckets bypass cache reads and writes. Late-arriving sales and corrections may take up to the cache TTL to appear after indexing. Category labels are not required.
Request
- Base URLhttps://api.cardhedger.com
- AuthAPI key in header X-API-Key
Request body
Response
Successful Response
Changes
- info
endpoint added
- info