Knuspr Categories API lists public category names and ids used by the offers and rescue surfaces. Feed an id into the category or search route.
Send optional type multipack or last-minute and required comma separated ids, for example 1,12,2431. The source answers 422 when ids are missing. 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.
1 optional filter available.
string
Required
Required comma separated category ids, for example 1,12,2431. Missing ids return 422.
example
string
Optional
multipack or last-minute, default multipack.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"type": "last-minute",
"count": 1,
"categories": [
{
"id": "1",
"name": "Obst und Gemuese"
}
]
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "categories"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A value is invalid. This response is not billable.
{
"errors": {
"ids": [
"Ids are numeric and comma separated, e.g. ids=1,12,2431."
]
},
"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": "categories"
},
"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.