---
title: PageConnection - Storefront API
description: |
  An auto-generated type for paginating through multiple Pages.
api_version: 2025-07
api_name: storefront
type: connection
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/storefront/2025-07/connections/PageConnection'
  md: >-
    https://shopify.dev/docs/api/storefront/2025-07/connections/PageConnection.md
---

# Page​Connection

connection

An auto-generated type for paginating through multiple Pages.

## Queries with this connection

* [pages](https://shopify.dev/docs/api/storefront/2025-07/queries/pages)

  query

  Returns a paginated list of the shop's content [pages](https://shopify.dev/docs/api/storefront/2025-07/objects/Page). Pages are custom HTML content like "About Us", "Contact", or policy information that merchants display outside their product catalog.

  * first

    [Int](https://shopify.dev/docs/api/storefront/2025-07/scalars/Int)

    ### Arguments

    Returns up to the first `n` elements from the list.

  * after

    [String](https://shopify.dev/docs/api/storefront/2025-07/scalars/String)

    Returns the elements that come after the specified cursor.

  * last

    [Int](https://shopify.dev/docs/api/storefront/2025-07/scalars/Int)

    Returns up to the last `n` elements from the list.

  * before

    [String](https://shopify.dev/docs/api/storefront/2025-07/scalars/String)

    Returns the elements that come before the specified cursor.

  * reverse

    [Boolean](https://shopify.dev/docs/api/storefront/2025-07/scalars/Boolean)

    Default:false

    Reverse the order of the underlying list.

  * sort​Key

    [Page​Sort​Keys](https://shopify.dev/docs/api/storefront/2025-07/enums/PageSortKeys)

    Default:ID

    Sort the underlying list by the given key.

  * query

    [String](https://shopify.dev/docs/api/storefront/2025-07/scalars/String)

    Apply one or multiple filters to the query. Refer to the detailed [search syntax](https://shopify.dev/api/usage/search-syntax) for more information about using filters.

    * created\_at
    * handle
    * title
    * updated\_at

  ***

***

## Possible returns

* edges

  [\[Page​Edge!\]!](https://shopify.dev/docs/api/storefront/2025-07/objects/PageEdge)

  non-null

  A list of edges.

* nodes

  [\[Page!\]!](https://shopify.dev/docs/api/storefront/2025-07/objects/Page)

  non-null

  A list of the nodes contained in PageEdge.

* page​Info

  [Page​Info!](https://shopify.dev/docs/api/storefront/2025-07/objects/PageInfo)

  non-null

  Information to aid in pagination.

***

## Map

### Queries with this connection

* [pages](https://shopify.dev/docs/api/storefront/2025-07/queries/pages)

### Possible returns

* [Page​Connection.edges](https://shopify.dev/docs/api/storefront/2025-07/connections/PageConnection#returns-edges)
* [Page​Connection.nodes](https://shopify.dev/docs/api/storefront/2025-07/connections/PageConnection#returns-nodes)
* [Page​Connection.pageInfo](https://shopify.dev/docs/api/storefront/2025-07/connections/PageConnection#returns-pageInfo)
