/pcpartpicker/products/history

POST /api/pcpartpicker/products/history

Price: 5 credits

Return the recorded price history of one PCPartPicker component as one dated series per merchant, with the lowest, highest and latest price each merchant charged over the chosen window.

How to use it

One result per merchant, not one per product, so a part sold by five shops comes back as five series and a part nobody has ever stocked comes back empty under a 200. Points are irregular — PCPartPicker records a point when a price moves, not on a fixed schedule — and a point with a null `price` marks the merchant dropping the part rather than a price of zero, so filter those out before averaging. `latest_price` is the last non-null point in the window, not necessarily the current price — if a merchant dropped the part after that point, `points[-1].price` is null while `latest_price` still shows what they last charged; check the last `points` entry to tell the two apart. `timestamp` is milliseconds since the epoch. PCPartPicker does not record Amazon in these graphs, so an Amazon offer visible on /pcpartpicker/products has no series here. `region` selects which country's merchants are tracked.

Parameters

Request body

Response

Errors

Response headers