Product graph Price history
BetaDaily price history for one product from our product graph.
GET
/v2/products/history- Auth
- x-api-key
- Cost
- 1 credit
- Cache window
- 5 min
Example
curl --request GET \
'https://api.retailed.io/v2/products/history?id=<id>' \
--header 'x-api-key: <token>'{
"raw": {
"id": "string",
"days": 0,
"series": [
{
"shop": "string",
"country": "string",
"size": "string",
"currency": "string",
"points": [
{
"day": "string",
"min": 0,
"max": 0,
"last": 0,
"inStock": false
}
]
}
]
},
"source": {
"shop": "string",
"fetchedAt": "2026-01-01T00:00:00Z",
"ageS": 0,
"cached": false,
"stale": false,
"credits": 0
}
}Shape of the answer, with placeholder values.
Query parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string (uuid) | Retailed product id (required). |
| days | integer | Days of daily history, 1 to 365. Default 30. Default 30. |
| country | string | Only offers in this country, e.g. US, FR. |
| size | string | Unset: the whole product. A size: that size only. *: one series per size. |
Response
200 answers a GraphHistoryResult object.
| Field | Type | Description |
|---|---|---|
| raw | GraphHistory | – |
| raw.id | string (uuid) | – |
| raw.days | integer | – |
| raw.series | object[] | – |
| raw.series[].shop | string | – |
| raw.series[].country | string | – |
| raw.series[].size | string | "" for the whole product. |
| raw.series[].currency | string | – |
| raw.series[].points | object[] | – |
| raw.series[].points[].day | string (date) | – |
| raw.series[].points[].min | integer | null | Lowest price that day, minor units. |
| raw.series[].points[].max | integer | null | – |
| raw.series[].points[].last | integer | null | – |
| raw.series[].points[].inStock | boolean | null | – |
| source | Source | – |
| source.shop | string | Shop id, e.g. "stockx". |
| source.fetchedAt | string (date-time) | When the data was fetched from the shop. |
| source.ageS | integer | Age of the data in seconds when it was served. |
| source.cached | boolean | True when served from the cache. |
| source.stale | boolean | True when served past its freshness window (circuit open). |
| source.credits | integer | Credits charged for this call. |
Errors
| Status | When |
|---|---|
| 401 | Missing or invalid API key |
| 402 | Out of credits. Never debits credits. |
| 403 | This key may not call this endpoint |
| 404 | Unknown endpoint or product not found. |
| 422 | Invalid parameters, or the page is not a product. |
| 429 | Too many requests |
| 502 | We couldn't fetch this page right now; may include last good data marked stale. |
| 503 | Circuit open for this site; may include last good data marked stale. |