# Paginate Header

Handling large sets of data can be challenging, especially when you're only interested in a specific range of results. To make pagination easier, our API supports a `paginate` header, allowing you to retrieve a subset of data based on index positions

{% hint style="danger" %}
This is an experimental feature and is subject to change.\
\
Currently, only the [/client/emojis](https://dadocs.rickyjs.xyz/endpoints/client/emojis) endpoint supports this header!
-----------------------------------------------------------------------------------------------------------------------

{% endhint %}

{% hint style="success" %}

## This header works with the [<mark style="color:blue;">exclude</mark>](https://dadocs.rickyjs.xyz/exclude-header) header!

{% endhint %}

## How to use:

1. Header name: `paginate`
2. Header value: `amount-page`&#x20;

* Example: `10-3` would retrieve up to 10 results on page 3

<details>

<summary>BDFD Example</summary>

```bash
$httpAddHeader[paginate;10-3]
```

</details>

<details>

<summary>Discord.js Example</summary>

<pre class="language-bash"><code class="lang-bash">{
'headers': {
<strong>'paginate': '10-3' 
</strong><strong>    }
</strong>}
</code></pre>

</details>
