Knuspr: Search
Search from Knuspr as JSON. 1 credit per successful call.
GET /v1/knuspr/search
Parameters
Send parameters in the query string.
Required Send query or category.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Optional | Up to 120 characters |
category | string | Optional | Up to 40 characters |
page | integer | Optional | Any |
sort | string | Optional | recommended |
Example request
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.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.items has these 17 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
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[] |