--- title: pageByHandle - Storefront API description: Find a page by its handle. api_version: 2025-10 api_name: storefront type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/queries/pagebyhandle md: https://shopify.dev/docs/api/storefront/latest/queries/pagebyhandle.md --- # page​By​Handle query Deprecated. Use [page](https://shopify.dev/docs/api/admin-graphql/latest/queries/page) instead. Find a page by its handle. ## Arguments * handle [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required The handle of the page. *** ## Possible returns * Page [Page](https://shopify.dev/docs/api/storefront/latest/objects/Page) Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. * body [HTML!](https://shopify.dev/docs/api/storefront/latest/scalars/HTML) non-null The description of the page, complete with HTML formatting. * body​Summary [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) non-null Summary of the page body. * created​At [Date​Time!](https://shopify.dev/docs/api/storefront/latest/scalars/DateTime) non-null The timestamp of the page creation. * handle [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) non-null A human-friendly unique string for the page automatically generated from its title. * id [ID!](https://shopify.dev/docs/api/storefront/latest/scalars/ID) non-null A globally-unique ID. * metafield [Metafield](https://shopify.dev/docs/api/storefront/latest/objects/Metafield) Token access required A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information. * namespace [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) ### Arguments The container the metafield belongs to. If omitted, the app-reserved namespace will be used. * key [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required The identifier for the metafield. *** * metafields [\[Metafield\]!](https://shopify.dev/docs/api/storefront/latest/objects/Metafield) non-null Token access required A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource. * identifiers [\[Has​Metafields​Identifier!\]!](https://shopify.dev/docs/api/storefront/latest/input-objects/HasMetafieldsIdentifier) required ### Arguments The list of metafields to retrieve by namespace and key. The input must not contain more than `250` values. *** * online​Store​Url [URL](https://shopify.dev/docs/api/storefront/latest/scalars/URL) The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. * seo [SEO](https://shopify.dev/docs/api/storefront/latest/objects/SEO) The page's SEO information. * title [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) non-null The title of the page. * tracking​Parameters [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) URL parameters to be added to a page URL to track the origin of on-site search traffic for [analytics reporting](https://help.shopify.com/manual/reports-and-analytics/shopify-reports/report-types/default-reports/behaviour-reports). Returns a result when accessed through the [search](https://shopify.dev/docs/api/storefront/current/queries/search) or [predictiveSearch](https://shopify.dev/docs/api/storefront/current/queries/predictiveSearch) queries, otherwise returns null. * updated​At [Date​Time!](https://shopify.dev/docs/api/storefront/latest/scalars/DateTime) non-null The timestamp of the latest page update. *** ## Examples * ### pageByHandle reference ## Query Reference ```graphql { pageByHandle(handle) { # pageByHandle fields } } ```