---
title: Pagination
description: Learn how pagination works in Storyblok's GraphQL API and how to implement it in your queries.
url: https://storyblok.com/docs/api/graphql/getting-started/pagination
---

# Pagination

When querying content items, you can supply arguments that allow you to paginate the query response. Pagination allows you to request a certain amount of records at the same time. The default limit is `25` content items, and the maximum is `100`. Use the attribute `total` to retrieve the total number of items, which is useful for creating pagination links.

Use `per_page` to limit the number of results:

```graphql
{
 ProductItems(per_page: 5) {
   items {
     name
   }
   total
 }
}
```

Provide the `page` argument to go to a specific offset (`page` is multiplied by the default `per_page` value `25`):

```graphql
{
  ProductItems(page: 2) {
    items {
      name
    }
    total
  }
}
```

## Pagination

-   [Previous: Field Generation](/docs/api/graphql/getting-started/field-generation)
-   [Next: Rate Limit](/docs/api/graphql/getting-started/rate-limit)
