# X-Kom Current Deal API Documentation

<p><strong>X-Kom Current Deal API Documentation</strong> 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.</p>

- **Documentation:** [https://scrappa.co/docs/xkom-api/xkom_deals](https://scrappa.co/docs/xkom-api/xkom_deals)
- **API group:** X-Kom API
- **Endpoint:** `GET https://scrappa.co/api/xkom/deals`

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

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 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)
