Shopify Collections API Documentation
The Shopify Collections API returns the collections of a Shopify store, up to 250 per page.
Pass a collection's handle to the Shopify Products API as collection_handle to get its products.
API Parameters
Store
-
- Name
-
domain - Required
- Required
- Description
-
The store's domain, such as
allbirds.comorkith.com, or any link on the store. Amyshopify.comdomain also works. A site that is not a Shopify store, or a password protected store, returns an error.
Pagination
-
- Name
-
page - Required
- Optional
- Description
-
The page of collections. A page must start within a store's first 25000 collections. Defaults to
1.pagination.next_pageis the value for the next page. A full last page still gives one, which returns no results.
-
- Name
-
num - Required
- Optional
- Description
-
The number of results per page, from
1to250. Defaults to30.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
shopify_collections.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Store Collections
https://www.searchapi.io/api/v1/search?domain=mvmt.com&engine=shopify_collections
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "shopify_collections",
"domain": "mvmt.com"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_ZD40AeqmorqVs4jgkyw25lR8",
"status": "Success",
"created_at": "2026-11-26T13:17:23Z",
"request_time_taken": 1.72,
"parsing_time_taken": 0.04,
"total_time_taken": 1.75,
"request_url": "https://mvmt.com/collections.json?limit=30&page=1",
"html_url": "https://www.searchapi.io/api/v1/searches/search_ZD40AeqmorqVs4jgkyw25lR8.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_ZD40AeqmorqVs4jgkyw25lR8"
},
"search_parameters": {
"engine": "shopify_collections",
"domain": "mvmt.com"
},
"store_information": {
"store_id": 83486540024,
"name": "MVMT",
"domain": "mvmt.com",
"myshopify_domain": "5932am-t3.myshopify.com",
"link": "https://mvmt.com",
"description": "MVMT designs and sells the best in watches, eyewear & accessories. Shop our modern California watches and fashion.",
"currency": "USD",
"country": "US",
"province": "New Jersey",
"city": "Paramus",
"ships_to_countries": [
"AD",
"AE",
"AI",
"..."
],
"products_count": 444,
"collections_count": 41
},
"collections": [
{
"position": 1,
"collection_id": 487997145336,
"title": "Automatics",
"handle": "automatics",
"link": "https://mvmt.com/collections/automatics",
"thumbnail": "https://cdn.shopify.com/s/files/1/0834/8654/0024/collections/Desktop_autopack2023.jpg?v=1788444613",
"products_count": 32,
"published_at": "2026-08-17T12:39:30-04:00",
"updated_at": "2026-11-26T07:23:53-05:00"
},
"..."
],
"pagination": {
"current": 1,
"next_page": 2
}
}
Next Page
https://www.searchapi.io/api/v1/search?domain=mvmt.com&engine=shopify_collections&num=12&page=2
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "shopify_collections",
"domain": "mvmt.com",
"page": 2,
"num": 12
}
response = requests.get(url, params=params)
print(response.text)
{
"collections": [
{
"position": 13,
"collection_id": 487997702392,
"title": "Field Collection",
"handle": "field",
"link": "https://mvmt.com/collections/field",
"description": "The Field is equipped for any adventure with 10 ATM water resistant tech + a fixed number dial.",
"thumbnail": "https://cdn.shopify.com/s/files/1/0834/8654/0024/collections/FieldSolar_DT.jpg?v=1787739049",
"products_count": 15,
"published_at": "2026-08-17T12:57:57-04:00",
"updated_at": "2026-11-26T07:23:52-05:00"
},
"..."
],
"pagination": {
"current": 2,
"next_page": 3
}
}