# Tweakers Category Browse API Documentation

GET /api/tweakers/category lists products in a public Tweakers comparison category. Filter keys, labels and options come from the page descriptors in `filters`. Sorting and 1-based page are forwarded unchanged; a page past the end returns an empty list. Prices are numbers in EUR; refurbished and outlet rows are excluded.

- **Documentation:** [https://scrappa.co/docs/tweakers-api/tweakers_category](https://scrappa.co/docs/tweakers-api/tweakers_category)
- **API group:** Tweakers API
- **Endpoint:** `GET https://scrappa.co/api/tweakers/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 | Category slug from the categories route, e.g. televisies. |
| `page` | integer | No | 1-based page number. Defaults to 1. |
| `orderField` | string | No | Sort field such as prijs. |
| `orderSort` | string | No | asc or desc. |
| `f123` | string | No | Facet filter id and value from the page descriptors. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/tweakers/category?category=televisies&page=1&orderField=prijs&orderSort=asc"
```

## Example response

```json
{
    "success": true,
    "category": "televisies",
    "page": 1,
    "count": 40,
    "products": [
        {
            "id": "1234567",
            "name": "Samsung 55 inch TV",
            "price": 939,
            "currency": "EUR"
        }
    ],
    "filters": [
        {
            "key": "f123",
            "type": "facet"
        }
    ],
    "meta": {
        "duration_ms": 361,
        "attempts": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | One or more query parameters failed validation. |
| 503 | Source Unavailable | Tweakers returned no usable public data. The request is never 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)
