Knuspr Category Products API lists public products in one Knuspr category with EUR prices, images and ids. Use a category id from the categories route or from search.
Send id, type normal or sales, a 1-based page, a size and a sort. Page 2 uses a new upstream page. Costs 1 credit per request; empty results and failed requests are free.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
4 optional filters available.
string
Required
Category id, for example 1 or 12.
1234567890
string
Optional
normal or sales, default normal.
example
integer
Optional
1-based page number, default 1.
1
integer
Optional
Products per page, 1 to 50, default 14.
10
string
Optional
recommended only. Other values return 422.
relevance
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"page": 1,
"size": 14,
"count": 1,
"items": [
{
"id": "1470",
"name": "Alpro Barista Haferdrink",
"price": 2.29,
"currency": "EUR",
"position": 1
}
],
"category": "1",
"category_type": "normal"
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "category"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
The id or a value is invalid. This response is not billable.
{
"errors": {
"id": [
"A category id is required, e.g. id=1."
]
},
"message": "The request validation failed"
}Upstream Unavailable
The source could not be reached. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "category"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "Knuspr could not be reached. Please retry shortly."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.