APIs / Marketplaces / Knuspr

1 credit per call9 endpoints17 datapointsChecked working 6 Dec 2026

Knuspr API

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

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 OKJSONX-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.

#positionintegeridstringnamestringbrandstringmain_category_idstringcategoriesobject[]urlstringunitstringtextual_amountstringcurrencystringpricenumbersale_pricenumberprice_per_unitnumbersalesobject[]max_basket_amountintegeravailabilityobjectbadgesstring[]
1195793Miil Frische Landmilch 3,8% VollmilchMiil546[3 items]95793-miil-frische-landmilch-3-8-vollmilchl1 lEUR1.191.071.19[1 item]50{2 fields}[1 item]
2279540Luisenhof BIO ESL-Milch 3,8% Kuh + KalbLuisenhof546[3 items]79540-luisenhof-bio-esl-milch-3-8-kuh-kalbl1 lEUR1.991.791.99[1 item]50{2 fields}[1 item]
332194Weihenstephan Frische Milch 1,5% FettWeihenstephan546[3 items]2194-weihenstephan-frische-milch-1-5-fettl1 lEUR1.59—1.59—50{2 fields}—

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

17 datapoints

Identity

  • idstring
  • namestring
  • brandstring
  • main_category_idstring

Contact

  • urlstring

Reputation

  • badgesstring[]

Price

  • textual_amountstring
  • currencystring
  • pricenumber
  • sale_pricenumber
  • price_per_unitnumber
  • max_basket_amountinteger

Other

  • positioninteger
  • categoriesobject[]
  • unitstring
  • salesobject[]
  • availabilityobject

Playground

Run this API

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/knuspr/autocomplete
none+3 optional
modeautocomplete
1 credit
GET/v1/knuspr/categories
ids+1 optional
idnameslug
1 credit
GET/v1/knuspr/category
id+4 optional
categorycategory_typesizeitems
1 credit
GET/v1/knuspr/composition
id+2 optional
productingredients_requestedcomposition
1 credit
GET/v1/knuspr/filters
mode+3 optional
nameoptions
1 credit
GET/v1/knuspr/offers
none+4 optional
typeoffers
1 credit
GET/v1/knuspr/product
none+2 optional
product
1 credit
GET/v1/knuspr/search
none+4 optional
positionidnamebrandmain_category_idcategories+11 more
1 credit
GET/v1/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.

MarketplacesJSONRESTMCP

More marketplaces APIs

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.