# Westwing Category API Documentation

<p><strong>Westwing Category API</strong> lists the products of one category. Page with <code>page</code>, set the page size with <code>limit</code>, sort with <code>sort</code> and limit the price with <code>price_min</code> and <code>price_max</code>. Each product carries price, original price, numeric discount, delivery time, full-size image URL and a stable id for the product route.</p><p><strong>Rating:</strong> rating and review count are null on a listing. Call the product route with the returned id to get them; that is one extra request and one extra credit.</p><p>Filters are always honoured: a product outside the requested price range is never returned. A page is never labelled as another page. A request that cannot be honoured fails with 503 and is not billed.</p><p><strong>Credits:</strong> 1 credit per successful request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/westwing-api/westwing_category](https://scrappa.co/docs/westwing-api/westwing_category)
- **API group:** Westwing API
- **Endpoint:** `GET https://scrappa.co/api/westwing/category`

## 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 |
| --- | --- | --- | --- |
| `category` | string | No | Category facet display name, for example Alle Produkte. Use available_categories from a listing to discover valid values. Slugs are not accepted. |
| `url` | string | No | Full category page URL of westwing.de. Send url or category. |
| `page` | integer | No | One-based page number, 1 to 50. Default 1. |
| `sort` | string | No | relevance (default) or availability. Price and novelty sorts are not supported. |
| `domain` | string | No | Storefront: de (default). |

## Example response

```json
{
    "data": {
        "sort": "relevance",
        "category": "Alle Produkte",
        "products": [
            {
                "id": "10275100524880",
                "price": {
                    "amount": 799,
                    "currency": "EUR"
                },
                "source": "westwing"
            }
        ],
        "pagination": {
            "page": 2,
            "total": 11398,
            "per_page": 20,
            "total_pages": 570,
            "has_next_page": true
        }
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. This response is not billable. |
| 503 | Upstream Unavailable | Westwing could not be reached or did not honour 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)
