Skip to main content
GET
Search Collections

Search Collections

Searches collections by keyword. Keyword search over collections is served by the storefront predictive-search endpoint — request collection as the resource type. This is served from the store domain and needs no OAuth token.
To list or filter collections with an OAuth app token (e.g. by published status / pagination), use GET /api/v1/collections.json instead. This page covers keyword search.

Request

Parameters

q
string
required
Search query (predictive search activates at 2+ characters). Also accepts the query alias.
resources[type]
string
default:"product,collection,article,page"
Resource types to search. Set to collection to return only collections.
resources[limit]
integer
default:"10"
Maximum results (max 50). Also accepts the limit alias.

Response

Matches the Shopify predictive-search shape: a resources.results object. Collections are returned under results.collections.
resources
object

Example Response