Klarna

Get Klarna product

Get a Klarna product with its lowest price, variants, specifications, ratings, rank and images, in any Klarna country.

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

API key (`sfk_...`)

Parameters
3
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.

languagestringoptionalquery

Two-letter language code for the product text, e.g. `en` or `de`. Default: the site's own language.

pattern: ^[a-z]{2}$

Response fields
70

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when Klarna has no product with this id in this country.

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/`.

Null when not found.

dataproductid
string

Product id.

dataproductname
string

Product name.

dataproducturl
stringnullable

Product page URL.

dataproductdescription
stringnullable

Short description.

dataproductarticle
stringnullable

Longer write-up about the product, as Markdown.

dataproductlabel
stringnullable

Ribbon the site shows, e.g. `TOP_RATED_CATEGORY`.

The brand.

dataproductbrandid
string

Brand id; pass it as `brandId`.

dataproductbrandname
stringnullable

Brand name.

dataproductbrandlogoUrl
stringnullable

Brand logo URL.

Its category.

dataproductcategoryid
string

Category id, e.g. `cl52`.

dataproductcategoryname
stringnullable

Category name.

dataproductcategoryurl
stringnullable

Category page URL.

Category path, top level first.

dataproductbreadcrumbs[]id
string

Category id, e.g. `cl52`.

dataproductbreadcrumbs[]name
stringnullable

Category name.

dataproductbreadcrumbs[]url
stringnullable

Category page URL.

dataproductcategoryRank
integernullable

Popularity rank in its category, 1 is the most popular.

dataproductrating
numbernullable

Average rating out of 5.

dataproductreviewCount
integernullable

Ratings behind the average.

dataproductstoreCount
integernullable

Stores selling it in this country.

Lowest price across the stores.

dataproductlowestPriceamount
number

Amount, e.g. `775.99`.

dataproductlowestPricecurrency
string

ISO 4217 currency code, e.g. `USD`.

The cheapest way to pay in instalments, when offered.

Amount per instalment.

dataproductinstallmentpriceamount
number

Amount, e.g. `775.99`.

dataproductinstallmentpricecurrency
string

ISO 4217 currency code, e.g. `USD`.

dataproductinstallmenttermLength
integernullable

Number of instalments, e.g. `12`.

dataproductinstallmentinterval
stringnullable

How often one is paid, e.g. `MONTHLY`.

dataproductinstallmentinterestRate
numbernullable

Yearly interest rate in percent, e.g. `13.99`.

dataproductinstallmentpaymentMethod
stringnullable

Klarna payment method, e.g. `FINANCING` or `PAY_IN_4`.

Product images.

dataproductimages[]url
string

Image URL.

dataproductimages[]description
stringnullable

Alt text.

dataproductvariantAttribute
stringnullable

What the variants differ by, e.g. `Manufacturer Color`.

Variants, this product included.

dataproductvariants[]id
string

Product id of the variant.

dataproductvariants[]name
stringnullable

Variant name.

dataproductvariants[]url
stringnullable

Product page URL.

dataproductvariants[]imageUrl
stringnullable

Image URL.

Lowest price.

dataproductvariants[]priceamount
number

Amount, e.g. `775.99`.

dataproductvariants[]pricecurrency
string

ISO 4217 currency code, e.g. `USD`.

What sets it apart, e.g. `["Black"]`.

dataproductvariants[]values[]
stringoptional
dataproductvariants[]inStock
booleannullable

Whether any store has it.

Specifications, by group.

dataproductspecifications[]name
string

Group name, e.g. `Camera`.

Attributes in the group.

dataproductspecifications[]attributes[]name
string

Attribute, e.g. `Screen Size`.

dataproductspecifications[]attributes[]value
stringnullable

Value, e.g. `6.9 "`.

dataproductspecifications[]attributes[]description
stringnullable

What the attribute means, when Klarna explains it.

Questions and answers the page shows.

dataproductfaq[]question
string

Question.

dataproductfaq[]answer
stringnullable

Answer.

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

Responses

A Klarna product.