> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api-docs.theottoapp.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api-docs.theottoapp.com/_mcp/server.

# Get Catalog Items

GET https://api.theottoapp.com/items

Retrieve a paginated list of catalog items for your organization.

Reference: https://api-docs.theottoapp.com/api-reference/catalog-items/get-items

## Request

### Query parameters

- `page` (integer, optional, default: 1) — Page number to fetch.
- `limit` (integer, optional, default: 50) — Number of records to return per page.
- `search` (string, optional) — Keyword search across item names. Supports multiple words, exact phrases in quotes ("Granny Smith"), and exclusions (!banana).
- `item_type` (list of string, optional) — List of item type names or labels to filter by.
- `item_grouping` (list of integer, optional) — List of item grouping IDs to filter by.
- `tags` (list of integer, optional) — List of tag IDs to filter by. Items must match all provided tags.
- `publish` (boolean, optional, default: true) — Filter by published status. Defaults to true.
- `include_expired` (boolean, optional, default: false) — Legacy flag to include all expired items.
- `expired_visibility_days` (integer, optional, default: 0) — Number of days past expiration to include items (0 = hide expired, -1 = show all).

## Response

### 200

200 response

- `list of ItemsResponseItems`

## Types

### ItemsResponseItems

- `id` (integer, optional)
- `name` (string, optional)
- `short_desc` (string, optional, nullable)
- `description` (string, optional, nullable)
- `image_url` (string, optional, nullable)
- `item_type` (string, optional, nullable)
- `item_grouping` (PublicAPIItemGrouping, optional, nullable)
- `item_attributes` (map from string to string, optional, nullable)
- `display_data` (ItemsResponseItemsDisplayData, optional, nullable)
- `tags` (list of string, optional)
- `prices` (list of PublicAPIItemPrice, optional, nullable)

### PublicAPIItemGrouping

- `id` (integer, optional)
- `name` (string, optional)
- `description` (string, optional, nullable)

### ItemsResponseItemsDisplayData

### PublicAPIItemPrice

- `id` (integer, optional)
- `name` (string, optional, nullable)
- `amount` (float, optional)

## Examples

**Response**

```json
[
  {
    "id": 1,
    "name": "string",
    "short_desc": "string",
    "description": "string",
    "image_url": "string",
    "item_type": "string",
    "item_grouping": {
      "id": 1,
      "name": "string",
      "description": "string"
    },
    "item_attributes": {},
    "display_data": {},
    "tags": [
      "string"
    ],
    "prices": [
      {
        "id": 1,
        "name": "string",
        "amount": 1.1
      }
    ]
  }
]
```

**SDK Code**

```python
import requests

url = "https://api.theottoapp.com/items"

querystring = {"item_grouping":"[12,15]","item_type":"[\"class\",\"league\"]","limit":"50","page":"1","tags":"[55,56]"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.theottoapp.com/items?item_grouping=%5B12%2C15%5D&item_type=%5B%22class%22%2C%22league%22%5D&limit=50&page=1&tags=%5B55%2C56%5D';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.theottoapp.com/items?item_grouping=%5B12%2C15%5D&item_type=%5B%22class%22%2C%22league%22%5D&limit=50&page=1&tags=%5B55%2C56%5D"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.theottoapp.com/items?item_grouping=%5B12%2C15%5D&item_type=%5B%22class%22%2C%22league%22%5D&limit=50&page=1&tags=%5B55%2C56%5D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.theottoapp.com/items?item_grouping=%5B12%2C15%5D&item_type=%5B%22class%22%2C%22league%22%5D&limit=50&page=1&tags=%5B55%2C56%5D")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.theottoapp.com/items?item_grouping=%5B12%2C15%5D&item_type=%5B%22class%22%2C%22league%22%5D&limit=50&page=1&tags=%5B55%2C56%5D');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.theottoapp.com/items?item_grouping=%5B12%2C15%5D&item_type=%5B%22class%22%2C%22league%22%5D&limit=50&page=1&tags=%5B55%2C56%5D");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.theottoapp.com/items?item_grouping=%5B12%2C15%5D&item_type=%5B%22class%22%2C%22league%22%5D&limit=50&page=1&tags=%5B55%2C56%5D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```