Data & APIRetailed product graph scraper
Price History API
BetaDaily lowest prices for a product across shops, by size, as JSON.
GET
/v2/products/history- Auth
- x-api-key header
- Parameters
- id, days, country, size
- Returns
- JSON · 2 fields
What does the Price History API return?
Send a Retailed product ID and get back its daily lowest price across shops as JSON, by size if you ask for one.
- You send
- id
- Plus days, country, size
- You get back
- RawResult
- The shop’s own fields, under raw
- Cached answer
- 1 credit
- Read from our cache, with its age
- Live answer
- 1 credit
- When the answer is read now
Parameters
| Name | Type | Description |
|---|---|---|
| id | string | Required. The product’s ID on the shop. |
| days | integer | How many days back, up to 30. |
| country | string | ISO country code of the shop to read, such as FR or US. |
| size | string | Only this size, as the shop labels it. |
Send your key in the x-api-key header. Every answer ends with source (shop, fetchedAt, ageS, cached, stale, credits); money is { amountMinor, currency }. The example response shows the shape, not a read of the shop.
What you get back
- raw
- source
Field names as the API returns them. The full example response is in the code panel.
Retailed product graph API vs scraping
| Topic | Your own scraper | Retailed API |
|---|---|---|
| Setup | Write and host the scraper, buy proxies, handle block pages | One GET call with an API key |
| Page changes | Your parser breaks until you fix it | We fix the parser; field names stay the same |
| Output | Whatever the page shows, in its own format | The same JSON shape on every shop |
| Freshness | Every call is a live fetch | Cached (1 credit) or fresh=live (2 credits, 3 on the hardest shops), with the age of every answer |
| Failed calls | You pay for proxy traffic either way | Errors, block pages, empty results and 404s are not billed |
Scraping it yourself makes sense for a one-off pull of a few pages. For regular calls, or the same data from several shops, the API saves the upkeep.
Next
Product data from the sites resellers use
Prices, products and sizes from StockX, GOAT, Chrono24 and more, through one API.