# Komplett Product Details API Documentation

`GET /api/komplett/product` returns one product. Pass the `id` from a search result unchanged.

## What you get

`product` holds `name`, `brand`, `mpn`, numeric `price` and `currency` (NOK), `in_stock`, `availability_text`, `rating`, `review_count`, full-size `images`, a `specs` table and the canonical `url`. Values that are not published stay `null`.

## Credits

A successful request costs **1 credit**. Errors and challenges cost nothing. The response shows the charge in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/komplett-api/komplett_product](https://scrappa.co/docs/komplett-api/komplett_product)
- **API group:** Komplett API
- **Endpoint:** `GET https://scrappa.co/api/komplett/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Material number from a search result. |
| `store` | string | No | Storefront. Currently no. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/komplett/product?id=1328693"
```

## Example response

```json
{
    "success": true,
    "data": {
        "product": {
            "id": "1328693",
            "material_number": "1328693",
            "name": "iPhone 17 128 GB",
            "brand": "Apple",
            "mpn": "MG7F3_no",
            "sku": "1328693",
            "description": "A smartphone.",
            "url": "https://www.komplett.no/product/1328693",
            "price": 12990,
            "currency": "NOK",
            "in_stock": true,
            "availability_status": "InStock",
            "availability_text": "P\u00e5 lager",
            "rating": 4.5,
            "review_count": 39,
            "images": [
                "https://www.komplett.no/product-media/b2c/en-us/1200/1328693.jpg"
            ],
            "specs": [
                {
                    "name": "Skjerm",
                    "value": "6,3 tommer"
                }
            ],
            "breadcrumb": "Mobiler / Smartphones"
        }
    },
    "meta": {
        "endpoint_family": "komplett-product",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1,
        "unavailable_reason": []
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The storefront has no product with that id (`not_found`). Non-billable. |
| 422 | Validation Error | A parameter is missing, unknown or unsupported. Price and sort filters and later result pages are rejected instead of silently returning page one. Non-billable. |
| 503 | Upstream Unavailable | The storefront could not be reached or changed its page shape (`upstream_blocked`, `upstream_unavailable`, `parser_drift`). Retryable and never billed. Clients are never rate limited. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
