---
title: Total Page Count Pagination
date: 2025-12-11T06:00:18Z
modified: 2025-12-12T13:09:00Z
permalink: "https://ezintegrations.ai/docs/how-total-page-count-pagination-works/"
type: docs
status: publish
excerpt: ""
wpid: 3889
doc_category:
  - API Pagination Methods
author: Automation Hub
---

#### **Total Page Count**

This pagination will apply when we have `total_pages` key in our API response. For example, we have total page count in this key `total_pages`.

Example 1: When we have the user key in root keys

[![image.png](https://help.bizdata360.com/uploads/images/gallery/2023-10/scaled-1680-/MW8image.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-10/MW8image.png)

Select Total Page Count from the dropdown and fill these values there.

[![image.png](https://help.bizdata360.com/uploads/images/gallery/2023-10/scaled-1680-/r8Cimage.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-10/r8Cimage.png)

- In the above example `total_pages` key helps to identify up to which page the pagination will be completed, so it will come in `User Key`.
- As we will be updating `page` value for going to next page data, `Key Name to Update` will be `page`.
- `Data Collection Key` holds the data from the API and we will get the response in that key; for example here it is `['data']`.

Example 2: When we have the user key in nested form.

[![image.png](https://help.bizdata360.com/uploads/images/gallery/2023-10/scaled-1680-/bAZimage.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-10/bAZimage.png)

Select Total Page Count from the dropdown and fill these values there.

[![image.png](https://help.bizdata360.com/uploads/images/gallery/2023-10/scaled-1680-/qUNimage.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-10/qUNimage.png)

- In the above example `total_pages` key helps to identify up to which page the pagination will be completed, so it will come in `User Key`. As we can see in the example, `total_page` key is deeply nested, so we will pass the `User Key` as above.
- As we will be updating `page` value for going to next page data, `Key Name to Update` will be `page`.
- `Data Collection Key` holds the data from the API and we will get the response in that key; for example here it is `['data']`.

Typically being used in all eCommerce Applications

## Topics

**Docs Categories:** [API Pagination Methods](https://ezintegrations.ai/wp-content/uploads/wp-mfa-exports/taxonomy/doc_category/api-pagination-methods.md)