---
title: "Knuspr API: Categories | Perceptlayer"
description: "Categories from Knuspr as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/knuspr/categories
---

[APIs](https://perceptlayer.com/apis) / [Knuspr](https://perceptlayer.com/apis/knuspr) / Categories

# Knuspr: Categories

Categories from Knuspr as JSON. 1 credit per successful call.

GET `/v1/knuspr/categories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `type` | string | Optional | multipack, last-minute |
| `ids` | string | Required | Up to 255 characters |

## Example request

Knuspr

GET /v1/knuspr/categories?ids=1%2C12 

```
{
  "success": true,
  "data": {
    "type": "multipack",
    "count": 2,
    "categories": [
      {
        "id": "1",
        "name": "Obst & Gemüse",
        "slug": "obst-gemuese"
      },
      {
        "id": "12",
        "name": "Obst",
        "slug": "obst"
      }
    ]
  },
  "meta": {
    "endpoint_family": "categories"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/knuspr?try=categories#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.categories` has these 3 fields, read from a recorded call that returned 2 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | string |
| `name` | string |
| `slug` | string |
