--- 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/2025-04/interfaces/Node) interface can be fetched, including [products](/docs/api/storefront/2025-04/objects/Product), [collections](/docs/api/storefront/2025-04/objects/Collection), and [pages](/docs/api/storefront/2025-04/objects/Page). Use inline fragments to access type-specific fields on the returned objects. The input accepts up to 250 IDs. api_version: 2025-04 api_name: storefront type: query api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/2025-04/queries/nodes' md: 'https://shopify.dev/docs/api/storefront/2025-04/queries/nodes.md' --- # 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/2025-04/interfaces/Node) interface can be fetched, including [products](https://shopify.dev/docs/api/storefront/2025-04/objects/Product), [collections](https://shopify.dev/docs/api/storefront/2025-04/objects/Collection), and [pages](https://shopify.dev/docs/api/storefront/2025-04/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/2025-04/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/2025-04/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/2025-04/queries/node) or [`nodes`](https://shopify.dev/docs/api/storefront/2025-04/queries/nodes) queries. * id [ID!](https://shopify.dev/docs/api/storefront/2025-04/scalars/ID) non-null A globally-unique ID. *** ## Examples * ### nodes reference