---
title: nodes - Storefront API
description: >-
  Retrieves multiple objects by their global IDs in a single request. Any object

  that implements the

  [`Node`](/docs/api/storefront/2026-10/interfaces/Node)

  interface can be fetched, including

  [products](/docs/api/storefront/2026-10/objects/Product),
  [collections](/docs/api/storefront/2026-10/objects/Collection),

  and [pages](/docs/api/storefront/2026-10/objects/Page).


  Use inline fragments to access type-specific fields on the returned objects.
  The input accepts up to 250 IDs.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/queries/nodes'
  md: 'https://shopify.dev/docs/api/storefront/latest/queries/nodes.md'
api_name: storefront
api_type: graphql
type: query
---

# nodes

query

Retrieves multiple objects by their global IDs in a single request. Any object that implements the [`Node`](https://shopify.dev/docs/api/storefront/2026-10/interfaces/Node) interface can be fetched, including [products](https://shopify.dev/docs/api/storefront/2026-10/objects/Product), [collections](https://shopify.dev/docs/api/storefront/2026-10/objects/Collection), and [pages](https://shopify.dev/docs/api/storefront/2026-10/objects/Page).

Use inline fragments to access type-specific fields on the returned objects. The input accepts up to 250 IDs.

## Arguments

* ids

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

  required

  The IDs of the Nodes to return.

  The input must not contain more than `250` values.

***

## Possible returns

* Node

  [\[Node\]!](https://shopify.dev/docs/api/storefront/latest/interfaces/Node)

  Enables global object identification following the [Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface). Any type implementing this interface has a globally-unique `id` field and can be fetched directly using the [`node`](https://shopify.dev/docs/api/storefront/2026-10/queries/node) or [`nodes`](https://shopify.dev/docs/api/storefront/2026-10/queries/nodes) queries.

  * id

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

    non-null

    A globally-unique ID.

***

## Examples

* ### nodes reference
