X-Kom Product Detail API Documentation 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.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
integer
Required
Numeric product id from the search or categories route. Example: 1175277.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"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
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
The product id is missing or invalid. Not billed.
{
"errors": {
"id": [
"Send the numeric product id from a search or categories result."
]
},
"message": "The request validation failed"
}Upstream Unavailable
X-Kom could not be reached. Retry. Not billed.
{
"meta": {
"billable": false
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "X-Kom is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.