Shopify Product API Documentation
The Shopify Product API returns one product of a Shopify store from its handle or link, with its prices, availability, images, videos and up to 250 variants with barcodes and stock. Some headless stores don't serve a single product. Use the Shopify Products API for them.
API Parameters
Store
-
- Name
-
domain - Required
- Optional
- Description
-
The store's domain, such as
allbirds.com. Required unlessproduct_handleis a product link.
Product
-
- Name
-
product_handle - Required
- Required
- Description
-
Handle of the product, such as
womens-wool-cruiser-port-port-soleinallbirds.com/products/womens-wool-cruiser-port-port-sole. A product link also works and setsdomainwhen it is not given. Handles change over time, so take one from a fresh Shopify Products API response.
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_product.
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
Product
https://www.searchapi.io/api/v1/search?domain=allbirds.com&engine=shopify_product&product_handle=womens-wool-cruiser-port-port-sole
- 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_product",
"domain": "allbirds.com",
"product_handle": "womens-wool-cruiser-port-port-sole"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_2l4inu3eA3wTT3k13zx3l4nB",
"status": "Success",
"created_at": "2026-11-17T05:27:36Z",
"request_time_taken": 1.76,
"parsing_time_taken": 0.0,
"total_time_taken": 1.76,
"request_url": "https://allbirds.com/products/womens-wool-cruiser-port-port-sole.js",
"html_url": "https://www.searchapi.io/api/v1/searches/search_2l4inu3eA3wTT3k13zx3l4nB.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_2l4inu3eA3wTT3k13zx3l4nB"
},
"search_parameters": {
"engine": "shopify_product",
"domain": "allbirds.com",
"product_handle": "womens-wool-cruiser-port-port-sole"
},
"store_information": {
"store_id": 11044168,
"name": "Allbirds",
"domain": "www.allbirds.com",
"myshopify_domain": "weareallbirds.myshopify.com",
"link": "https://www.allbirds.com",
"description": "The world’s most comfortable shoes, made with natural materials like merino wool, eucalyptus tree fiber, and sugar cane, Allbirds has created the comfiest shoes on the planet.",
"currency": "USD",
"country": "US",
"province": "California",
"city": "Beverly Hills",
"ships_to_countries": [
"US"
],
"products_count": 308,
"collections_count": 1354
},
"product": {
"product_id": 7292464824400,
"title": "Women's Wool Cruiser - Port (Port Sole)",
"handle": "womens-wool-cruiser-port-port-sole",
"link": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole",
"brand": "Allbirds",
"tags": [
"11/3/26 DROP",
"..."
],
"description": "Innovation meets individuality in the Wool Cruiser, an instant icon designed for every day. With an upper made of 100% post consumer recycled wool and polyester, each shoe is a unique expression of its material—a statement-maker as bold as whoever’s wearing it.",
"price": "$120.00",
"extracted_price": 120.0,
"currency": "USD",
"is_available": true,
"is_on_sale": false,
"thumbnail": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_SIDE_TRANSPARENT.png?v=1793836076",
"images": [
{
"link": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_SIDE_TRANSPARENT.png?v=1793836076",
"width": 2000,
"height": 2000
},
"..."
],
"options": [
{
"name": "Size",
"values": [
"5",
"5.5",
"6",
"..."
]
}
],
"variants": [
{
"variant_id": 41990816137296,
"title": "5",
"options": [
"5"
],
"sku": "A12858W050",
"barcode": "196942331460",
"price": "$120.00",
"extracted_price": 120.0,
"is_available": false,
"stock": 0,
"weight_grams": 1000,
"is_shipping_required": true,
"is_taxable": true,
"link": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole?variant=41990816137296"
},
"..."
],
"created_at": "2026-02-04T17:37:18-08:00",
"published_at": "2026-11-04T15:48:27-08:00"
}
}
Product with Videos
https://www.searchapi.io/api/v1/search?domain=gymshark.com&engine=shopify_product&product_handle=gymshark-vengeance-long-sleeve-t-shirt-ls-tops-teal-aw26
- 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_product",
"domain": "gymshark.com",
"product_handle": "gymshark-vengeance-long-sleeve-t-shirt-ls-tops-teal-aw26"
}
response = requests.get(url, params=params)
print(response.text)
{
"product": {
"product_id": 6806698918090,
"title": "Gymshark Vengeance Long Sleeve T-Shirt - Tactical Teal/Black",
"handle": "gymshark-vengeance-long-sleeve-t-shirt-ls-tops-teal-aw26",
"link": "https://us.checkout.gymshark.com/products/gymshark-vengeance-long-sleeve-t-shirt-ls-tops-teal-aw26",
"brand": "Gymshark | Be a visionary.",
"product_type": "Mens>Apparel>LS Tops>t_shirt",
"tags": [
"29/10/26",
"..."
],
"description": "GO WITH VENGEANCE Physique-maximising fits. Imposing presence. Vengeance. For the few. Compressive fit and ribbed textures shape what you’ve built Performance-ready with sweat-wicking and high-stretch fabric Premium soft material for comfort that lasts (no matter how hard your session) The iconic Gymshark raised rubber badge on your chest SIZE & FIT Body fit Model is 5'11\" and wears size XL MATERIALS & CARE 74% Recycled Polyester, 26% Elastane SKU: A5C1Y-TB0Q",
"price": "$32.20",
"extracted_price": 32.2,
"original_price": "$46.00",
"extracted_original_price": 46.0,
"currency": "USD",
"is_available": false,
"is_on_sale": true,
"thumbnail": "https://cdn.shopify.com/s/files/1/0156/6146/files/Vengeance_C_S_TTB_LS_T_Shirt_GS_Tactical_Teal_GS_B...",
"images": [
{
"link": "https://cdn.shopify.com/s/files/1/0156/6146/files/Vengeance_C_S_TTB_LS_T_Shirt_GS_Tactical_Teal_GS_B...",
"width": 1692,
"height": 2018
},
"..."
],
"videos": [
{
"link": "https://cdn.shopify.com/videos/c/vp/55d30895bea04f65a027dd74e5e02925/55d30895bea04f65a027dd74e5e0292...",
"thumbnail": "https://cdn.shopify.com/s/files/1/0156/6146/files/preview_images/55d30895bea04f65a027dd74e5e02925.th..."
}
],
"options": [
{
"name": "Size",
"values": [
"Extra Small",
"Extra Large",
"Medium",
"..."
]
}
],
"variants": [
{
"variant_id": 39797804204234,
"title": "Extra Small",
"options": [
"Extra Small"
],
"sku": "A5C1Y-TB0Q-XS",
"barcode": "5063699572611",
"price": "$32.20",
"extracted_price": 32.2,
"original_price": "$46.00",
"extracted_original_price": 46.0,
"is_available": false,
"weight_grams": 0,
"is_shipping_required": true,
"is_taxable": true,
"link": "https://us.checkout.gymshark.com/products/gymshark-vengeance-long-sleeve-t-shirt-ls-tops-teal-aw26?v..."
},
"..."
],
"created_at": "2026-02-19T01:32:37-08:00",
"published_at": "2026-10-26T11:00:00-07:00"
}
}