Get Klarna product price history
Get a Klarna product's lowest price for each day of the last three months, with the store that had it.
Headers
Get your API keyAPI key (`sfk_...`)
Klarna product id (`3211644574`) or product page URL (`https://www.klarna.com/us/shopping/pl/cl52/3211644574/Game-Consoles/Sony-PlayStation-5-Slim-Digital-Edition-1TB/`). Ids are the same in every country. A URL's country is used when `country` is not given.
min 1 chars · max 500 chars
Two-letter country code of the Klarna shopping site, e.g. `US`, `GB`, `DE` or `SE`. Default: `US`. Prices are in that country's currency.
Endpoint-specific response payload.
`not_found` when Klarna has no product with this id in this country.
one of: found, not_found
The product id asked for.
The Klarna shopping site the answer is from.
Two-letter country code, e.g. `US`.
The country's Klarna shopping site, e.g. `https://www.klarna.com/us/shopping/`.
The window the history covers: the last three months, as the site shows it.
one of: 3_months
One point per day: that day's lowest price.
one of: day
ISO 4217 currency of every price; null with no history.
Lowest price in the period; null with no history.
Highest daily lowest price in the period.
Oldest day first.
The day, `YYYY-MM-DD`, in the site's own time zone.
When the price was read, ISO 8601.
Lowest price that day, in `currency`.
Store with that price.
Its name.
Stores that had the lowest price on some day.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/klarna/product/price-history?productId=3211644574" \
-H "x-api-key: YOUR_API_KEY"Responses
Klarna price history for a product.