# X-Kom Product Detail API Documentation

<p><strong>X-Kom Product Detail API Documentation</strong> Get one X-Kom product by its numeric id from search or categories. Returns PLN price, old price and discount, stock and delivery text, full specification groups, full-size image URLs, EANs and the product description. The rating uses a 1 to 5 scale. Ids pass unchanged from the search route. Cost: 1 credit per successful request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/xkom-api/xkom_product](https://scrappa.co/docs/xkom-api/xkom_product)
- **API group:** X-Kom API
- **Endpoint:** `GET https://scrappa.co/api/xkom/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` | integer | Yes | Numeric product id from the search or categories route. Example: 1175277. |

## Example response

```json
{
    "data": {
        "product": {
            "id": 1175277,
            "eans": [
                "5901234123457"
            ],
            "name": "Laptop",
            "price": 649,
            "specs": [
                {
                    "name": "Procesor",
                    "features": [
                        {
                            "name": "Model",
                            "value": "M3"
                        }
                    ]
                }
            ],
            "images": [
                "https://cdn.x-kom.pl/i/produkt/product-large.jpg"
            ],
            "rating": 4.79,
            "currency": "PLN",
            "discount": 50,
            "old_price": 699,
            "description": "Opis produktu",
            "availability": {
                "text": "Dost\u0119pny",
                "available": true,
                "delivery_date": "2026-11-23T00:00:00.000Z"
            },
            "rating_scale": "1-5",
            "review_count": 389
        },
        "currency": "PLN"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The product id is missing or invalid. Not billed. |
| 502 | Upstream Unavailable | X-Kom could not be reached. Retry. Not billed. |

## 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)
