---
title: publicApiVersions - Storefront API
description: |-
  Returns all public Storefront [API
  versions](/docs/api/storefront/2026-04/objects/ApiVersion),
  including supported, release candidate, and unstable versions.
api_version: 2026-04
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/queries/publicapiversions
  md: https://shopify.dev/docs/api/storefront/latest/queries/publicapiversions.md
---

# public​Api​Versions

query

Returns all public Storefront [API versions](https://shopify.dev/docs/api/storefront/2026-04/objects/ApiVersion), including supported, release candidate, and unstable versions.

## Possible returns

* Api​Version

  [\[Api​Version!\]!](https://shopify.dev/docs/api/storefront/latest/objects/ApiVersion)

  A version of the Shopify API. Each version has a unique handle in date-based format (YYYY-MM) or `unstable` for the development version.

  Shopify guarantees supported versions are stable. Unsupported versions include unstable and release candidate versions. Use the [`publicApiVersions`](https://shopify.dev/docs/api/storefront/2026-04/queries/publicApiVersions) query to retrieve all available versions. Learn more about [Shopify API versioning](https://shopify.dev/docs/api/usage/versioning).

  * display​Name

    [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String)

    non-null

    The human-readable name of the version.

  * handle

    [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String)

    non-null

    The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle.

  * supported

    [Boolean!](https://shopify.dev/docs/api/storefront/latest/scalars/Boolean)

    non-null

    Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning).

***

## Examples

* ### publicApiVersions reference