> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openbridge.shop/llms.txt
> Use this file to discover all available pages before exploring further.

# .limit()

> Set maximum results

```javascript theme={null}
openbridge.collections.list().limit(count)
```

Sets the maximum number of collections to return.

## Parameters

| Param   | Type     | Required | Default | Description               |
| ------- | -------- | -------- | ------- | ------------------------- |
| `count` | `number` | Yes      | `250`   | Max collections to return |

## Returns

`CollectionListBuilder` (chainable)

## Examples

### Basic

```javascript theme={null}
const { items } = await openbridge.collections.list().limit(20)
```

### Small batch

```javascript theme={null}
const { items } = await openbridge.collections.list().limit(4)
```

### Large batch

```javascript theme={null}
const { items } = await openbridge.collections.list().limit(100)
```

### With search

```javascript theme={null}
const { items } = await openbridge.collections.list().search('sale').limit(6)
```
