API reference
Klarna Product API
One product page: description and article, brand, category and breadcrumbs, rating, rank in its category, retailer count, cheapest instalment and the full specification table.
Endpoint
/v1/klarna/productlive · proven3 creditsParameters
Query parameters
| Name | Required | Description | Example |
|---|---|---|---|
id | yes | Product id, as returned by search | 3216399795 |
category | yes | The product's category id, as returned by search | cl94 |
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?id=3216399795&category=cl94" \ -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?id=3216399795&category=cl94",
{ 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?id=3216399795&category=cl94",
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",
"data": {
"article": "example",
"brand": {
"id": "example",
"logo_url": "https://example.com/example",
"name": "example"
},
"breadcrumbs": [
{
"id": "example",
"name": "example",
"url": "https://example.com/example"
}
],
"category": {
"id": "example",
"name": "example",
"url": "https://example.com/example"
},
"description": "example",
"id": "example",
"images": [],
"installment": {
"currency": "example",
"interest_rate": 0,
"interval": "example",
"price": 0,
"term_length": 0
},
"platform": "example",
"rank": {
"category": "example",
"rank": 0
},
"rating": {
"max": 0,
"value": 0,
"votes": 0
},
"retailers_count": 0,
"specifications": [
{
"description": "example",
"group": "example",
"name": "example",
"value": "example"
}
],
"title": "example",
"type": "example",
"url": "https://example.com/example"
},
"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 |
|---|---|---|
article | string | null | Optional article supplied by this operation. Null means unknown. |
brand | object | null | Optional brand supplied by this operation. Null means unknown. |
brand.id | string | null | Source identifier. Preserve the supplied type and exact value. |
brand.logo_url | string | null | Optional logo url supplied by this operation. Null means unknown. |
brand.name | string | null | Optional name supplied by this operation. Null means unknown. |
breadcrumbs | array | null | Optional breadcrumbs supplied by this operation. Null means unknown. |
breadcrumbs[].id | string | null | Source identifier. Preserve the supplied type and exact value. |
breadcrumbs[].name | string | null | Optional name supplied by this operation. Null means unknown. |
breadcrumbs[].url | string | null | Original source URL when supplied. |
category | object | null | Optional category supplied by this operation. Null means unknown. |
category.id | string | null | Source identifier. Preserve the supplied type and exact value. |
category.name | string | null | Optional name supplied by this operation. Null means unknown. |
category.url | string | null | Original source URL when supplied. |
description | string | null | Source description; null or absent means not supplied. |
id | string | null | Source identifier. Preserve the supplied type and exact value. |
images | array | null | Source array was empty in the reviewed captures; item fields remain unspecified. |
installment | object | null | Optional installment supplied by this operation. Null means unknown. |
installment.currency | string | null | Optional currency supplied by this operation. Null means unknown. |
installment.interest_rate | number | null | Optional interest rate supplied by this operation. Null means unknown. |
installment.interval | string | null | Optional interval supplied by this operation. Null means unknown. |
installment.price | number | null | Source price. Currency, taxes and availability depend on the listing. |
installment.term_length | number | null | Optional term length supplied by this operation. Null means unknown. |
platform | string | null | Optional platform supplied by this operation. Null means unknown. |
rank | object | null | Optional rank supplied by this operation. Null means unknown. |
rank.category | string | null | Optional category supplied by this operation. Null means unknown. |
rank.rank | number | null | Optional rank supplied by this operation. Null means unknown. |
rating | object | null | Source rating; read its accompanying scale and vote count. |
rating.max | number | null | Optional max supplied by this operation. Null means unknown. |
rating.value | number | null | Optional value supplied by this operation. Null means unknown. |
rating.votes | number | null | Optional votes supplied by this operation. Null means unknown. |
retailers_count | number | null | Optional retailers count supplied by this operation. Null means unknown. |
specifications | array | null | Optional specifications supplied by this operation. Null means unknown. |
specifications[].description | string | null | Source description; null or absent means not supplied. |
specifications[].group | string | null | Optional group supplied by this operation. Null means unknown. |
specifications[].name | string | null | Optional name supplied by this operation. Null means unknown. |
specifications[].value | string | null | Optional value supplied by this operation. Null means unknown. |
title | string | null | Source title when supplied. |
type | string | null | Optional type supplied by this operation. Null means unknown. |
url | string | null | Original source URL when supplied. |
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