# Interdiscount Category API Documentation

<p><strong>Interdiscount Category API Documentation</strong> Browse a public Interdiscount Switzerland category by its code. Returns facets, sort options and rich product cards with numeric CHF prices, ratings and full-size image URLs. One request costs 1 credit. Empty and failed requests are not billed. Not affiliated with Interdiscount.</p>

- **Documentation:** [https://scrappa.co/docs/interdiscount-api/interdiscount_category](https://scrappa.co/docs/interdiscount-api/interdiscount_category)
- **API group:** Interdiscount API
- **Endpoint:** `GET https://scrappa.co/api/interdiscount/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 | Yes | Public category code from search facets. |
| `page` | integer | No | 1-based page. |
| `lang` | string | No | Locale: de, fr or it. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "code": "0014559723",
                "currentPrice": {
                    "amount": 1299,
                    "currency": "CHF"
                }
            }
        ],
        "facets": [],
        "pagination": {
            "currentPage": 0,
            "totalNumberOfResults": 8807
        },
        "categoryCode": "400"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "category"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Not billable. |

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