---
title: "Knuspr API: Filters | Perceptlayer"
description: "Filters from Knuspr as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/knuspr/filters
---

[APIs](https://perceptlayer.com/apis) / [Knuspr](https://perceptlayer.com/apis/knuspr) / Filters

# Knuspr: Filters

Filters from Knuspr as JSON. 1 credit per successful call.

GET `/v1/knuspr/filters`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `mode` | string | Required | search, category, sorting, sale\_sorting |
| `search` | string | Optional | Up to 120 characters |
| `category` | string | Optional | Up to 40 characters |
| `category_type` | string | Optional | sales, normal |

## Example request

Knuspr

GET /v1/knuspr/filters?mode=search&search=milch 

```
{
  "success": true,
  "data": {
    "mode": "search",
    "filter_groups": [
      {
        "name": "Optionen",
        "options": [
          {
            "title": "Angebote",
            "key": "sales",
            "value": "sales"
          },
          {
            "title": "Neuheiten",
            "key": "news",
            "value": "news"
          },
          {
            "title": "Königsklasse",
            "key": "konigsklasse",
            "value": "konigsklasse",
            "matching_product_count": 37,
            "matching_item_count": 37
          }
        ]
      },
      {
        "name": "Kategorie",
        "options": [
          {
            "title": "Frischmilch",
            "key": "kategorie",
            "value": "546-frischmilch",
            "matching_product_count": 33,
            "matching_item_count": 33
          },
          {
            "title": "Milch, Molkerei & Butter",
            "key": "kategorie",
            "value": "533-milch-molkerei-butter",
            "matching_product_count": 92,
            "matching_item_count": 92
          },
          {
            "title": "Haltbare Milch (H-Milch)",
            "key": "kategorie",
            "value": "5463-haltbare-milch-h-milch",
            "matching_product_count": 29,
            "matching_item_count": 29
          }
        ]
      },
      {
        "name": "Marke",
        "options": [
          {
            "title": "Actimel",
            "key": "marke",
            "value": "actimel",
            "matching_product_count": 6,
            "matching_item_count": 6
          },
          {
            "title": "Activia",
            "key": "marke",
            "value": "activia",
            "matching_product_count": 13,
            "matching_item_count": 13
          },
          {
            "title": "Alnatura",
            "key": "marke",
            "value": "alnatura",
            "matching_product_count": 47,
            "matching_item_count": 47
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "filters"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/knuspr?try=filters#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.filter_groups` has these 2 fields, read from a recorded call that returned 212 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `name` | string |
| `options` | object\[\] |
