# Limiting

Source: https://developers.swell.is/backend-api/querying/limiting

Use the `limit` parameter to determine how many records should be returned in a result, up to 1000. Defaults to 15. Optionally use in combination with `page` to perform pagination.

## Example request

**Example query using limit**

**cURL**

```bash
$ curl https://api.swell.store/products?limit=100
  -u store-id:secret-key
```

**Node**

```javascript
const { swell } = require('swell-node');
swell.init('store-id', 'secret-key');

await swell.get('/products', {
  limit: 100,
});
```

**PHP**

```php
<?php $swell = new \\Swell\\Client('store-id', 'secret-key');

$swell->get('/products', [
  'limit' => 100
]);
```
