Skip to navigation

Item History

View as Markdown

Chart-ready price history: the series, our own price, stock gaps and the statistics.

Distinct from /snapshots, which returns rows. This returns a reading of those rows — what it usually costs, whether today is cheap by its own standards, when it was unavailable — because that is the question a chart gets opened to answer, and computing it in the browser would mean every client reimplementing the held-reading rule and getting it subtly wrong.

Authentication

X-API-Keystring

Your Outprice API key (starts with pw_).

Path parameters

item_idintegerRequired

Query parameters

daysintegerOptional1-730Defaults to 90

Response

Successful Response
item_idinteger
daysinteger
titlestring or nullOptional
currencystring or nullOptional
pointslist of objectsOptional
ownlist of objectsOptional
out_of_stocklist of objectsOptional
statsobjectOptional
downsampledbooleanOptionalDefaults to false

Errors

422
Unprocessable Entity Error