--- title: pages - Storefront API description: List of the shop's pages. api_version: unstable api_name: storefront source_url: html: 'https://shopify.dev/docs/api/storefront/unstable/queries/pages' md: 'https://shopify.dev/docs/api/storefront/unstable/queries/pages.md' --- # pages query List of the shop's pages. ## PageConnection arguments [PageConnection!](https://shopify.dev/docs/api/storefront/unstable/connections/PageConnection) * after [String](https://shopify.dev/docs/api/storefront/unstable/scalars/String) Returns the elements that come after the specified cursor. * before [String](https://shopify.dev/docs/api/storefront/unstable/scalars/String) Returns the elements that come before the specified cursor. * first [Int](https://shopify.dev/docs/api/storefront/unstable/scalars/Int) Returns up to the first `n` elements from the list. * last [Int](https://shopify.dev/docs/api/storefront/unstable/scalars/Int) Returns up to the last `n` elements from the list. * query [String](https://shopify.dev/docs/api/storefront/unstable/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 * reverse [Boolean](https://shopify.dev/docs/api/storefront/unstable/scalars/Boolean) Default:false Reverse the order of the underlying list. * sort​Key [Page​Sort​Keys](https://shopify.dev/docs/api/storefront/unstable/enums/PageSortKeys) Default:ID Sort the underlying list by the given key. *** ## Possible returns * edges [\[Page​Edge!\]!](https://shopify.dev/docs/api/storefront/unstable/objects/PageEdge) non-null A list of edges. * nodes [\[Page!\]!](https://shopify.dev/docs/api/storefront/unstable/objects/Page) non-null A list of the nodes contained in PageEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/unstable/objects/PageInfo) non-null Information to aid in pagination. *** ## Examples * ### pages reference ## Query Reference ```graphql { pages { # pages fields } } ```