Klarna

Get Klarna product review summary

Get a Klarna product's average rating, review counts and score distributions for shoppers and professionals.

GET/v1/klarna/product/reviews/summary
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
productIdstringrequiredquery

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

countrystringoptionalquery

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.

Response fields
22

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when Klarna has no product with this id in this country; a product with no reviews is `found` with zero counts.

one of: found, not_found

dataproductId
string

The product id asked for.

The Klarna shopping site the answer is from.

datamarketcountry
string

Two-letter country code, e.g. `US`.

datamarketsiteUrl
string

The country's Klarna shopping site, e.g. `https://www.klarna.com/us/shopping/`.

datarating
numbernullable

Average rating out of 5; null with no ratings.

dataratingCount
integer

Ratings behind the average, every type.

datauserReviewCount
integer

Shoppers' reviews.

dataproReviewCount
integer

Professional reviews.

Reviews per star rating, 5 stars first.

datauserRatingDistribution[]rating
integer

Stars, 1 to 5.

datauserRatingDistribution[]count
integer

Reviews with that many stars.

Reviews per star rating, 5 stars first.

dataproRatingDistribution[]rating
integer

Stars, 1 to 5.

dataproRatingDistribution[]count
integer

Reviews with that many stars.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metastale
booleanoptional

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

metafetchedAt
stringoptional

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/reviews/summary?productId=3211644574" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Klarna review totals for a product.