# Westwing Product API Documentation

<p><strong>Westwing Product API</strong> returns one product by numeric id or product URL: title, brand, price in EUR, original price and numeric discount when Westwing publishes one, delivery time, colour variants, specifications, rating with review count, the first reviews and full-size image URLs. The id in the answer is stable and passes unchanged into the search and category routes.</p><p><strong>Rating:</strong> the rating and review count come from the product detail page. A rating on a listing is null until the detail route is called.</p><p><strong>Credits:</strong> 1 credit per successful request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/westwing-api/westwing_product](https://scrappa.co/docs/westwing-api/westwing_product)
- **API group:** Westwing API
- **Endpoint:** `GET https://scrappa.co/api/westwing/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 | No | Product handle returned by search or category, for example modulares-ecksofa-lennon-105582. A bare numeric id is not accepted. Send id or url. |
| `url` | string | No | Full product page URL of westwing.de. Send url or id. |
| `domain` | string | No | Storefront: de (default). |

## Example response

```json
{
    "data": {
        "id": "10275100524880",
        "sku": "DEQ24WES38033",
        "brand": "Westwing Collection",
        "price": {
            "amount": 799,
            "currency": "EUR"
        },
        "specs": {
            "color": "green",
            "material": "velvet"
        },
        "title": "Velvet sofa in green",
        "rating": {
            "count": 81,
            "average": 4.5
        },
        "source": "westwing",
        "currency": "EUR",
        "delivery": {
            "max_days": 7,
            "min_days": 3
        },
        "discount": 20,
        "variants": [],
        "image_urls": [
            "https://cdn.shopify.com/s/files/1/0000/0000/files/sofa.jpg"
        ],
        "original_price": {
            "amount": 999,
            "currency": "EUR"
        }
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. This response is not billable. |
| 404 | Not Found | The product does not exist on this storefront. This response is not billable. |
| 503 | Upstream Unavailable | Westwing could not be reached or returned data that does not match the request. This response is not billable and is retryable. |

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