# 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](/endpoints/client/emojis.md) 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dadocs.rickyjs.xyz/paginate-header.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
