Commerce and retail
Klarna data API
Read products, offers and price history from Klarna with one key and one response shape.
Klarna shopping is a price-comparison catalogue across thirteen regions. Search a keyword, open a product, then walk merchant offers, user and professional reviews, and price history. Category and store lists are the other two ways in.
Products are keyed on the product id, the number in a shopping URL: klarna.com/us/shopping/pl/cl94/3331931731/... is product id 3331931731. Product ids come back on every search and category row. Endpoints that take product_id also accept the full shopping url.
Your first call
curl "https://www.socialcrawl.dev/v1/klarna/search?query=wireless%20earbuds" \
-H "x-api-key: sc_your_key_here"const url = new URL("https://www.socialcrawl.dev/v1/klarna/search");
url.searchParams.set("query", "wireless earbuds");
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALCRAWL_API_KEY! },
});
const data = await res.json();
console.log(data.data.items[0]);import os
import requests
res = requests.get(
"https://www.socialcrawl.dev/v1/klarna/search",
headers={"x-api-key": os.environ["SOCIALCRAWL_API_KEY"]},
params={
"query": "wireless earbuds",
},
)
data = res.json()
print(data["data"]["items"][0])Each row carries the product id, title, lowest price, rating and image. Measured on 22/11/2026: this call returned 20 products for 5 credits in under a second.
Then read one product and the merchants selling it:
curl "https://www.socialcrawl.dev/v1/klarna/product?product_id=3331931731&category_id=cl94" \
-H "x-api-key: sc_your_key_here"
curl "https://www.socialcrawl.dev/v1/klarna/product/offers?product_id=3331931731" \
-H "x-api-key: sc_your_key_here"product returns the description, brand, rating and specifications but no price, so call product/offers for merchant prices.
What it covers
| What you want | Call |
|---|---|
| Products for a keyword | GET /v1/klarna/search |
| Search-box suggestions | GET /v1/klarna/search/suggestions |
| One product's description and specs | GET /v1/klarna/product |
| Every merchant's price for one product | GET /v1/klarna/product/offers |
| Price history | GET /v1/klarna/product/price-history |
| Two products side by side | GET /v1/klarna/product/compare |
| User reviews | GET /v1/klarna/reviews |
| Professional and expert reviews | GET /v1/klarna/reviews/pro |
| The review summary and star distribution | GET /v1/klarna/reviews/overview |
| Products in a category | GET /v1/klarna/category |
| The category tree and its children | GET /v1/klarna/categories, GET /v1/klarna/categories/children |
| A category's filters, keywords and buying guide | GET /v1/klarna/category/filters, GET /v1/klarna/category/keywords, GET /v1/klarna/category/guide |
| Klarna's retailer directory and one retailer's products | GET /v1/klarna/stores, GET /v1/klarna/store/products, GET /v1/klarna/store/filters |
What it does not cover
- A list price on
product. The product payload carries none, so read merchant prices fromproduct/offers. - Search pagination. Klarna ignores page parameters on
search, so narrow the query or walk acategoryinstead. - Purchases, Klarna accounts or anything behind a Klarna login.
Regions
region defaults to usa. Other values are uk, germany, sweden, france, italy, spain, netherlands, austria, ireland, norway, finland and denmark. The region changes the currency, the language and the merchant set, so a product id from one region is read in the same region.
All endpoints
18 endpoints available.
| Endpoint | Path | Credit Tier |
|---|---|---|
| List Klarna root categories | /v1/klarna/categories | standard (1cr) |
| Get Klarna sub-categories | /v1/klarna/categories/children | standard (1cr) |
| Get Klarna filters for a category | /v1/klarna/category/filters | standard (1cr) |
| Get Klarna buying-guide content for a category | /v1/klarna/category/guide | standard (1cr) |
| Get popular Klarna search keywords for a category | /v1/klarna/category/keywords | standard (1cr) |
| Get Klarna search suggestions | /v1/klarna/search/suggestions | standard (1cr) |
| Get Klarna filters for a store page | /v1/klarna/store/filters | standard (1cr) |
| List Klarna shopping stores | /v1/klarna/stores | standard (1cr) |
| Browse Klarna products in a category | /v1/klarna/category | advanced (5cr) |
| Get a Klarna product by id or URL | /v1/klarna/product | advanced (5cr) |
| Compare two Klarna products | /v1/klarna/product/compare | advanced (5cr) |
| List merchant offers for a Klarna product | /v1/klarna/product/offers | advanced (5cr) |
| Get Klarna price history for a product | /v1/klarna/product/price-history | advanced (5cr) |
| Get Klarna user reviews for a product | /v1/klarna/reviews | advanced (5-9cr)metered |
| Get Klarna review totals and score distributions | /v1/klarna/reviews/overview | advanced (5cr) |
| Get Klarna professional reviews for a product | /v1/klarna/reviews/pro | advanced (5-9cr)metered |
| Search Klarna products by keyword | /v1/klarna/search | advanced (5cr) |
| List products from a Klarna store | /v1/klarna/store/products | advanced (5cr) |
How far back and how deep
Each list returns one page at a time. Send cursor for the next page, or max_items or max_pages to collect several pages in one call. A page size appears only where it has been verified. How paging works
| Path | Rows per page | Date window | One call collects |
|---|---|---|---|
/v1/klarna/category | about 48 | none | up to 5,000 rows or 50 pages |
/v1/klarna/reviews | varies | since and until, applied to each page fetched | up to 5,000 rows or 50 pages; limit up to 50 |
/v1/klarna/reviews/pro | varies | since and until, applied to each page fetched | up to 5,000 rows or 50 pages; limit up to 50 |
/v1/klarna/store/products | about 25 | none | up to 5,000 rows or 50 pages |
/v1/klarna/stores | about 24 | none | up to 5,000 rows or 50 pages |
Country and region
country and region do different jobs on different endpoints. Each line below says what the parameter does there. How they differ
regionon/v1/klarna/categories,/v1/klarna/categories/children,/v1/klarna/category,/v1/klarna/category/filters,/v1/klarna/category/guide,/v1/klarna/category/keywords,/v1/klarna/product,/v1/klarna/product/compare,/v1/klarna/product/offers,/v1/klarna/product/price-history,/v1/klarna/reviews,/v1/klarna/reviews/overview,/v1/klarna/reviews/pro,/v1/klarna/search,/v1/klarna/search/suggestions,/v1/klarna/store/filters,/v1/klarna/store/products,/v1/klarna/stores: Shopping region: usa (default), uk, germany, sweden, france, italy, spain, netherlands, austria, ireland, norway, finland, denmark. Changes currency, language, and the merchant set.
Labels
/v1/klarna/reviews and /v1/klarna/reviews/pro label each review by default, at no extra credit. The labels are sentiment (read from the words, never the stars, with rating_mismatch when the two clearly disagree) and issue (the main problem the review reports) on computed.labels. Send judgments=off for the page without them. See Labels for the field shapes and the labels you can add with label=, such as label=reports&reports=the battery drains quickly.
Platform notes
Reviews paginate by cursor. Pass the returned cursor back until has_more is false.
Price history takes an interval. interval is ONE_MONTH, THREE_MONTHS (default) or INFINITE_DAYS.
Unknown ids cost nothing. A search that matches nothing returns an empty page, and an unknown product id returns a not found. Neither is billed.
