---
title: "Knuspr API: German online grocery search, prices as JSON"
description: "Knuspr API for German online grocery search, prices, unit prices, weekly offers, nutrition and allergens as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/knuspr
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Knuspr

1 credit per call 9 endpoints 17 datapoints 

# Knuspr API

Knuspr API for German online grocery search, prices, unit prices, weekly offers, nutrition and allergens as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Knuspr

GET /v1/knuspr/search?query=milch&sort=recommended 

```
{
  "success": true,
  "data": {
    "query": "milch",
    "page": 1,
    "sort": "recommended",
    "count": 31,
    "total": 1066,
    "has_next_page": true,
    "items": [
      {
        "position": 1,
        "id": "95793",
        "name": "Miil Frische Landmilch 3,8% Vollmilch",
        "brand": "Miil",
        "main_category_id": "546",
        "categories": [
          {
            "id": "546",
            "name": "Frischmilch",
            "level": 2
          },
          {
            "id": "533",
            "name": "Milch, Molkerei & Butter",
            "level": 1
          },
          {
            "id": "532",
            "name": "Kühlregal",
            "level": 0
          }
        ],
        "url": "95793-miil-frische-landmilch-3-8-vollmilch",
        "unit": "l",
        "textual_amount": "1 l",
        "currency": "EUR",
        "price": 1.19,
        "sale_price": 1.07,
        "price_per_unit": 1.19,
        "sales": [
          {
            "type": "premium",
            "active": true,
            "price": 1.07,
            "original_price": 1.19,
            "discount": 0.12,
            "discount_percentage": 10
          }
        ],
        "max_basket_amount": 50,
        "availability": {
          "max_basket_amount": 50,
          "reason": "ALLOWED"
        },
        "badges": [
          "Knuspr-Günstig"
        ]
      },
      {
        "position": 2,
        "id": "79540",
        "name": "Luisenhof BIO ESL-Milch 3,8% Kuh + Kalb",
        "brand": "Luisenhof",
        "main_category_id": "546",
        "categories": [
          {
            "id": "546",
            "name": "Frischmilch",
            "level": 2
          },
          {
            "id": "533",
            "name": "Milch, Molkerei & Butter",
            "level": 1
          },
          {
            "id": "532",
            "name": "Kühlregal",
            "level": 0
          }
        ],
        "url": "79540-luisenhof-bio-esl-milch-3-8-kuh-kalb",
        "unit": "l",
        "textual_amount": "1 l",
        "currency": "EUR",
        "price": 1.99,
        "sale_price": 1.79,
        "price_per_unit": 1.99,
        "sales": [
          {
            "type": "premium",
            "active": true,
            "price": 1.79,
            "original_price": 1.99,
            "discount": 0.2,
            "discount_percentage": 10
          }
        ],
        "max_basket_amount": 50,
        "availability": {
          "max_basket_amount": 50,
          "reason": "ALLOWED"
        },
        "badges": [
          "BIO"
        ]
      },
      {
        "position": 3,
        "id": "2194",
        "name": "Weihenstephan Frische Milch 1,5% Fett",
        "brand": "Weihenstephan",
        "main_category_id": "546",
        "categories": [
          {
            "id": "546",
            "name": "Frischmilch",
            "level": 2
          },
          {
            "id": "533",
            "name": "Milch, Molkerei & Butter",
            "level": 1
          },
          {
            "id": "532",
            "name": "Kühlregal",
            "level": 0
          }
        ],
        "url": "2194-weihenstephan-frische-milch-1-5-fett",
        "unit": "l",
        "textual_amount": "1 l",
        "currency": "EUR",
        "price": 1.59,
        "price_per_unit": 1.59,
        "max_basket_amount": 50,
        "availability": {
          "max_basket_amount": 50,
          "reason": "ALLOWED"
        }
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_17128cadd7ab493abe8c5eebe077a2ea",
    "credits_charged": 1,
    "credits_remaining": 4903
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | position integer | id string | name string | brand string | main\_category\_id string | categories object\[\] | url string | unit string | textual\_amount string | currency string | price number | sale\_price number | price\_per\_unit number | sales object\[\] | max\_basket\_amount integer | availability object | badges string\[\] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1 | 95793 | Miil Frische Landmilch 3,8% Vollmilch | Miil | 546 | \[3 items\] | 95793-miil-frische-landmilch-3-8-vollmilch | l | 1 l | EUR | 1.19 | 1.07 | 1.19 | \[1 item\] | 50 | {2 fields} | \[1 item\] |
| 2 | 2 | 79540 | Luisenhof BIO ESL-Milch 3,8% Kuh + Kalb | Luisenhof | 546 | \[3 items\] | 79540-luisenhof-bio-esl-milch-3-8-kuh-kalb | l | 1 l | EUR | 1.99 | 1.79 | 1.99 | \[1 item\] | 50 | {2 fields} | \[1 item\] |
| 3 | 3 | 2194 | Weihenstephan Frische Milch 1,5% Fett | Weihenstephan | 546 | \[3 items\] | 2194-weihenstephan-frische-milch-1-5-fett | l | 1 l | EUR | 1.59 | — | 1.59 | — | 50 | {2 fields} | — |

Recorded from our API · 3 items shown · 17 datapoints per item GET /v1/knuspr/search?query=milch&sort=recommended

17 datapoints

### Identity

-   id string
-   name string
-   brand string
-   main\_category\_id string

### Contact

-   url string

### Reputation

-   badges string\[\]

### Price

-   textual\_amount string
-   currency string
-   price number
-   sale\_price number
-   price\_per\_unit number
-   max\_basket\_amount integer

### Other

-   position integer
-   categories object\[\]
-   unit string
-   sales object\[\]
-   availability object

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/knuspr/search?query=milch&sort=recommended" \
  -H "X-API-Key: $API_KEY"
```

Knuspr · 9 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/knuspr/autocomplete`](https://perceptlayer.com/apis/knuspr/autocomplete) | none +3 optional | `mode` `autocomplete` | 1 credit |
| [GET `/v1/knuspr/categories`](https://perceptlayer.com/apis/knuspr/categories) | `ids` +1 optional | `id` `name` `slug` | 1 credit |
| [GET `/v1/knuspr/category`](https://perceptlayer.com/apis/knuspr/category) | `id` +4 optional | `category` `category_type` `size` `items` | 1 credit |
| [GET `/v1/knuspr/composition`](https://perceptlayer.com/apis/knuspr/composition) | `id` +2 optional | `product` `ingredients_requested` `composition` | 1 credit |
| [GET `/v1/knuspr/filters`](https://perceptlayer.com/apis/knuspr/filters) | `mode` +3 optional | `name` `options` | 1 credit |
| [GET `/v1/knuspr/offers`](https://perceptlayer.com/apis/knuspr/offers) | none +4 optional | `type` `offers` | 1 credit |
| [GET `/v1/knuspr/product`](https://perceptlayer.com/apis/knuspr/product) | none +2 optional | `product` | 1 credit |
| [GET `/v1/knuspr/search`](https://perceptlayer.com/apis/knuspr/search) | none +4 optional | `position` `id` `name` `brand` `main_category_id` `categories` +11 more | 1 credit |
| [GET `/v1/knuspr/sitemap`](https://perceptlayer.com/apis/knuspr/sitemap) | none | `ids` | 1 credit |

Overview

## About the Knuspr API

## What you can get

The Knuspr API returns Knuspr grocery data from Germany as JSON through 9 endpoints. Prices are in EUR.

-   **Search:** `search` takes a `query` or a `category`, with `page` and `sort` ( `recommended`). `autocomplete` takes a `query` (or `suggestion`), with `limit`, and returns product ids, categories and recipe ids. `filters` takes a `mode` ( `search`, `category`, `sorting` or `sale_sorting`) and returns the filter options.
-   **Categories:** `category` takes an `id`, with `type` ( `normal` or `sales`), `page`, `size` and `sort`. `categories` takes `ids` and a `type` ( `multipack` or `last-minute`).
-   **Products:** `product` takes an `id`, or `ids` for several. `composition` takes an `id` and returns nutrients and allergens, with `ingredients`.
-   **Offers:** `offers` takes a `type` ( `weekly`, `price_hits` or `rescue`), with `page` and `size`.
-   **Product ids:** `sitemap` lists product ids (2,000 in the recording).

The recorded search for "milch" returns `items`, each with `position`, `id`, `name`, `brand`, `categories`, `url`, `unit`, `textual_amount`, `price`, `sale_price`, `price_per_unit`, `sales`, `max_basket_amount`, `availability` and `badges`, plus `total` (1,066) and `has_next_page`. The first, Miil Frische Landmilch 3.8% 1 l, was 1.19 EUR, or 1.07 EUR with a 10% premium discount.

## How a call works

Search, then look up: `GET /v1/knuspr/search?query=milch&sort=recommended` with your key in the `X-API-Key` header returns each product's `id`. Pass it to `product` or `composition`, for example `GET /v1/knuspr/composition?id=1470`. Category ids such as `533` come from `autocomplete` or a product's `categories`. Page with `page` while `has_next_page` is true. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Track Knuspr prices, unit prices and discounts for a grocery basket

`Use the Knuspr API to track Knuspr prices, unit prices and discounts for a grocery basket` 

### Follow the weekly offers and price hits with \`offers\`

`` Use the Knuspr API to follow the weekly offers and price hits with `offers` `` 

### Check nutrients and allergens for a product with \`composition\`

`` Use the Knuspr API to check nutrients and allergens for a product with `composition` `` 

### List every product in a category with its price per kilo or litre

`Use the Knuspr API to list every product in a category with its price per kilo or litre` 

FAQ

## Questions

**How much does the Knuspr API cost?**

Each successful call costs one credit, whichever endpoint you call, and each page of results is one call. Failed calls cost nothing.

**Which country is covered?**

Germany: results come from Knuspr's German shop, with prices in EUR and product names in German.

**What does composition return?**

\`nutrients\`, each with a \`name\`, \`amount\` and \`unit\` (energy came back as 1,570 kJ for product \`1470\`), and \`allergens\` (Milch for that cheese). Ingredient text is only requested when you pass \`ingredients\`.

**Do I need a Knuspr account?**

No. You call this Knuspr API with your Perceptlayer key in the \`X-API-Key\` header, with no Knuspr login.

**Is this the official Knuspr API?**

No. Perceptlayer is an independent service and is not affiliated with Knuspr. It returns Knuspr data as JSON with a Perceptlayer key, so there is no Knuspr developer account, app review or partner approval to get first. It only reads data: if Knuspr has an official API and you need to act on your own Knuspr account, such as posting, managing orders or reading private data, use that one.

**Should I build a Knuspr scraper instead?**

You can, but a Knuspr scraper is code you maintain: page changes break it, requests get blocked, and Knuspr's terms govern how you collect data. The Knuspr API gives you 9 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Knuspr API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
