X-Kom Current Deal API Documentation Get the current X-Kom hot shot. Returns the promotion name, numeric PLN price and old price, the discount, the sale count, a full-size image URL and the promotion end date in ISO 8601. Cost: 1 credit per successful request. Failed and empty responses are not billed.
Run this endpoint
Endpoint
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"deal": {
"id": 713550,
"name": "Promocja",
"image": "https://cdn.x-kom.pl/i/produkt/product-large.jpg",
"price": 519,
"currency": "PLN",
"discount": 60,
"old_price": 579,
"product_id": 713550,
"sale_count": 1200,
"promotion_end": "2026-11-30T00:00:00.000Z",
"discount_value": 60
},
"currency": "PLN"
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "deals"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
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.