Klarna API
Klarna product offers
Every retailer's offer for one product: price, stock, shipping, instalment terms and the retailer's outbound link, plus the product's images.
Endpoint
/v1/klarna/product-offerslive · proven3 creditsParameters
Query parameters
| Name | Required | Description | Example |
|---|---|---|---|
id | yes | Product id | 3216399795 |
region | no | Catalogue region | usa |
dry_run | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. | 1 |
Examples
Make the request
curl "https://www.monocrawl.com/v1/klarna/product-offers?id=3216399795" \ -H "x-api-key: mn_your_key_here"
TypeScript
const key = process.env.MONOCRAWL_API_KEY;
if (!key) throw new Error('Set MONOCRAWL_API_KEY on your server.');
const res = await fetch(
"https://www.monocrawl.com/v1/klarna/product-offers?id=3216399795",
{ headers: { "x-api-key": key } },
);
const body = await res.json();
if (!body.success) {
// one error shape for every endpoint — see /docs/errors
throw new Error(`${body.error.type}: ${body.error.message}`);
}
console.log(body.data, "credits left:", body.credits_remaining);Python
import os
import requests
res = requests.get(
"https://www.monocrawl.com/v1/klarna/product-offers?id=3216399795",
headers={"x-api-key": os.environ["MONOCRAWL_API_KEY"]},
timeout=60,
)
body = res.json()
if not body["success"]:
# one error shape for every endpoint — see /docs/errors
raise RuntimeError(f"{body['error']['type']}: {body['error']['message']}")
print(body["data"], "credits left:", body["credits_remaining"])Response
Response fields and example
This example is illustrative, not a captured live response. Variable-cost operations may settle a charge different from the list price below. A successful response puts the platform payload in data and reports the exact credits used, remaining balance, request id and cache status beside it.
{
"success": true,
"platform": "klarna",
"endpoint": "/v1/klarna/product-offers",
"data": {
"count": 0,
"has_more": false,
"images": [
"example"
],
"items": [
{
"availability": "example",
"currency": "example",
"delivery_time": {
"maxDays": 0,
"minDays": 0
},
"id": "example",
"installment": {
"currency": "example",
"interval": "example",
"price": 0,
"term_length": 0
},
"labels": [
"example"
],
"merchant": "example",
"merchant_country": "example",
"merchant_id": "example",
"merchant_logo_url": "https://example.com/example",
"price": 0,
"shipping_cost": 0,
"stock_status": "example",
"title": "example",
"url": "https://example.com/example"
}
],
"product_id": "example",
"region": "example",
"summary": {
"internationalOffer": {
"condition": "example",
"count": 0,
"notInStock": false
},
"minPriceAcrossAllOffers": {
"amount": "example",
"currency": "example"
},
"minPriceInStock": {
"amount": "example",
"currency": "example"
},
"nationalOffer": {
"condition": "example",
"count": 0,
"maxPrice": {
"amount": "example",
"currency": "example"
},
"minPrice": {
"amount": "example",
"currency": "example"
},
"notInStock": false
}
}
},
"credits_used": 3,
"credits_remaining": 99,
"request_id": "req_…",
"cached": false
}The example is illustrative and shows a documented subset of data. The fields below are optional across supported sources; nullable fields can also be absent. Preserve unknown values and accept additional fields.
Schema basis: observed response shapes, not an exhaustive field specification. See schema coverage and validation limits.
Download the data JSON Schema. Validate response.data, not the whole envelope. A valid shape does not establish that every field or source record was returned.
| Field inside data | Type | Meaning |
|---|---|---|
count | number | null | Number of records in this response, not lifetime or total matches. |
has_more | boolean | null | Source continuation indicator; null means unknown. |
images | array | null | Optional images supplied by this operation. Null means unknown. |
items | array | null | Returned records. Source coverage and completeness vary. |
items[].availability | string | null | Optional availability supplied by this operation. Null means unknown. |
items[].currency | string | null | Optional currency supplied by this operation. Null means unknown. |
items[].delivery_time | object | null | Optional delivery time supplied by this operation. Null means unknown. |
items[].delivery_time.maxDays | number | null | Optional maxDays supplied by this operation. Null means unknown. |
items[].delivery_time.minDays | number | null | Optional minDays supplied by this operation. Null means unknown. |
items[].id | string | null | Source identifier. Preserve the supplied type and exact value. |
items[].installment | object | null | Optional installment supplied by this operation. Null means unknown. |
items[].installment.currency | string | null | Optional currency supplied by this operation. Null means unknown. |
items[].installment.interval | string | null | Optional interval supplied by this operation. Null means unknown. |
items[].installment.price | number | null | Source price. Currency, taxes and availability depend on the listing. |
items[].installment.term_length | number | null | Optional term length supplied by this operation. Null means unknown. |
items[].labels | array | null | Optional labels supplied by this operation. Null means unknown. |
items[].merchant | string | null | Optional merchant supplied by this operation. Null means unknown. |
items[].merchant_country | string | null | Optional merchant country supplied by this operation. Null means unknown. |
items[].merchant_id | string | null | Optional merchant id supplied by this operation. Null means unknown. |
items[].merchant_logo_url | string | null | Optional merchant logo url supplied by this operation. Null means unknown. |
items[].price | number | null | Source price. Currency, taxes and availability depend on the listing. |
items[].shipping_cost | number | null | Optional shipping cost supplied by this operation. Null means unknown. |
items[].stock_status | string | null | Optional stock status supplied by this operation. Null means unknown. |
items[].title | string | null | Source title when supplied. |
items[].url | string | null | Original source URL when supplied. |
product_id | string | null | Optional product id supplied by this operation. Null means unknown. |
region | string | null | Optional region supplied by this operation. Null means unknown. |
summary | object | null | Optional summary supplied by this operation. Null means unknown. |
summary.internationalOffer | object | null | Optional internationalOffer supplied by this operation. Null means unknown. |
summary.internationalOffer.condition | string | null | Optional condition supplied by this operation. Null means unknown. |
summary.internationalOffer.count | number | null | Number of records in this response, not lifetime or total matches. |
summary.internationalOffer.notInStock | boolean | null | Optional notInStock supplied by this operation. Null means unknown. |
summary.minPriceAcrossAllOffers | object | null | Optional minPriceAcrossAllOffers supplied by this operation. Null means unknown. |
summary.minPriceAcrossAllOffers.amount | string | null | Optional amount supplied by this operation. Null means unknown. |
summary.minPriceAcrossAllOffers.currency | string | null | Optional currency supplied by this operation. Null means unknown. |
summary.minPriceInStock | object | null | Optional minPriceInStock supplied by this operation. Null means unknown. |
summary.minPriceInStock.amount | string | null | Optional amount supplied by this operation. Null means unknown. |
summary.minPriceInStock.currency | string | null | Optional currency supplied by this operation. Null means unknown. |
summary.nationalOffer | object | null | Optional nationalOffer supplied by this operation. Null means unknown. |
summary.nationalOffer.condition | string | null | Optional condition supplied by this operation. Null means unknown. |
summary.nationalOffer.count | number | null | Number of records in this response, not lifetime or total matches. |
summary.nationalOffer.maxPrice | object | null | Optional maxPrice supplied by this operation. Null means unknown. |
summary.nationalOffer.maxPrice.amount | string | null | Optional amount supplied by this operation. Null means unknown. |
summary.nationalOffer.maxPrice.currency | string | null | Optional currency supplied by this operation. Null means unknown. |
summary.nationalOffer.minPrice | object | null | Optional minPrice supplied by this operation. Null means unknown. |
summary.nationalOffer.minPrice.amount | string | null | Optional amount supplied by this operation. Null means unknown. |
summary.nationalOffer.minPrice.currency | string | null | Optional currency supplied by this operation. Null means unknown. |
summary.nationalOffer.notInStock | boolean | null | Optional notInStock supplied by this operation. Null means unknown. |
Optional fields reviewed from preserved successful responses. Additive fields and source variations remain allowed; validate the fields your workflow requires.
The example is invented and illustrates types only; zero and empty values are not claims about a real result.
Failures use the typed error envelope. A confirmed uncharged or refunded failure reports zero; a pending reconciliation can report an unknown charge. Read credits_used and error.details.billing_status, and keep request_id for recovery. Response contract · Error reference