Shopify 商店目录和库存 API

API ID 15776

获取任意公开 Shopify 商店的产品、变体、价格、库存水平和系列,并检查网站是否使用 Shopify

API 文档

端点

请求
检测 Shopify 商店并返回其公开资料:名称、域名、货币、所在地、产品和系列数量、配送国家、Shop Pay 分期付款
Endpoint ID: 43191
POST https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43191/store+info+shopify+detection
输入参数

商店信息 Shopify 检测 — 端点功能

对象 描述
url 必需 Store URL or bare domain, e.g. or kith.com. Product and collection URLs work too.

剩余免费测试请求:3 / 3。


输入参数

url
API 示例响应
JSON
{
    "success": true,
    "is_shopify": true,
    "id": 11044168,
    "name": "Allbirds",
    "url": "https://www.allbirds.com",
    "domain": "www.allbirds.com",
    "myshopify_domain": "weareallbirds.myshopify.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",
    "money_format": "${{amount}}",
    "country": "US",
    "province": "California",
    "city": "Beverly Hills",
    "products_count": 312,
    "collections_count": 1353,
    "ships_to_countries": [
        "US"
    ],
    "shop_pay_installments": true,
    "card_brands": [
        "visa",
        "master",
        "american_express",
        "discover",
        "diners_club"
    ],
    "timestamp": "2026-11-15T03:24:23.472Z"
}
商店信息 Shopify 检测 — 代码片段

curl --location --request POST 'https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43191/store+info+shopify+detection?url=https://www.allbirds.com' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
商店目录或某个系列中的一页。每个产品都包含价格范围、划线价、库存情况、变体(SKU、价格、选项、重量)、选项、图片、标签、供应商、类型和日期。Shopify 每个列表最多提供 25,000 个产品(页数 × 每页数量)
Endpoint ID: 43192
POST https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43192/list+products
输入参数

列出产品 — 端点功能

对象 描述
url 必需 Store URL or bare domain, e.g. or kith.com. Product and collection URLs work too.
page 可选 Page number.
limit 可选 Items per page, 1-250.
collection 可选 Collection handle, e.g. mens-shoes. A collection URL in url works too.
include_html 可选 Also return the raw body_html of each product.

剩余免费测试请求:3 / 3。


输入参数

url
page
limit
collection
include_html
API 示例响应
JSON
{
    "success": true,
    "store": "https://www.allbirds.com",
    "collection": null,
    "page": 1,
    "limit": 2,
    "count": 2,
    "has_next_page": true,
    "products": [
        {
            "id": 7292464824400,
            "title": "Women's Wool Cruiser - Port (Port Sole)",
            "handle": "womens-wool-cruiser-port-port-sole",
            "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole",
            "vendor": "Allbirds",
            "product_type": null,
            "tags": [
                "11/3/26 DROP",
                "allbirds::cfId => color-f67ac276729fd74d9edd3ad836f79a7e",
                "allbirds::hue => red",
                "allbirds::master => womens-wool-cruiser"
            ],
            "price_min": 120,
            "price_max": 120,
            "compare_at_price_max": null,
            "available": true,
            "variants_count": 13,
            "options": [
                {
                    "name": "Size",
                    "values": [
                        "5",
                        "5.5",
                        "6",
                        "6.5",
                        "7"
                    ]
                }
            ],
            "variants": [
                {
                    "id": 41990816137296,
                    "title": "5",
                    "sku": "A12858W050",
                    "price": 120,
                    "compare_at_price": null,
                    "available": false,
                    "options": [
                        "5"
                    ],
                    "grams": 1000,
                    "requires_shipping": true,
                    "image": null
                },
                {
                    "id": 41990816170064,
                    "title": "5.5",
                    "sku": "A12858W055",
                    "price": 120,
                    "compare_at_price": null,
                    "available": false,
                    "options": [
                        "5.5"
                    ],
                    "grams": 1000,
                    "requires_shipping": true,
                    "image": null
                }
            ],
            "images": [
                "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_SIDE_TRANSPARENT.png?v=1793836076",
                "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_HEEL_TRANSPARENT.png?v=1793836075"
            ],
            "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",
            "created_at": "2026-02-04T17:37:18-08:00",
            "updated_at": "2026-11-14T19:23:59-08:00",
            "published_at": "2026-11-04T15:48:27-08:00"
        }
    ],
    "timestamp": "2026-11-15T03:23:59.193Z"
}
列出产品 — 代码片段

curl --location --request POST 'https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43192/list+products?url=https://www.allbirds.com&page=1&limit=2' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一款产品,包含完整描述、所有变体,以及在商店提供此信息时的每个变体的库存数量和总库存量
Endpoint ID: 43193
POST https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43193/product+details+with+stock
输入参数

带库存的产品详情 — 端点功能

对象 描述
url 必需 Product URL ( or the store URL together with handle.
handle 可选 Product handle, when url is the store URL.

剩余免费测试请求:3 / 3。


输入参数

url
handle
API 示例响应
JSON
{
    "success": true,
    "store": "https://www.allbirds.com",
    "id": 7292464824400,
    "title": "Women's Wool Cruiser - Port (Port Sole)",
    "handle": "womens-wool-cruiser-port-port-sole",
    "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole",
    "vendor": "Allbirds",
    "product_type": null,
    "tags": [
        "11/3/26 DROP",
        "allbirds::cfId => color-f67ac276729fd74d9edd3ad836f79a7e",
        "allbirds::hue => red",
        "allbirds::master => womens-wool-cruiser"
    ],
    "price_min": 120,
    "price_max": 120,
    "compare_at_price_max": null,
    "available": true,
    "variants_count": 13,
    "options": [
        {
            "name": "Size",
            "values": [
                "5",
                "5.5",
                "6",
                "6.5",
                "7"
            ]
        }
    ],
    "variants": [
        {
            "id": 41990816137296,
            "title": "5",
            "sku": "A12858W050",
            "price": 120,
            "compare_at_price": null,
            "available": false,
            "options": [
                "5"
            ],
            "grams": 1000,
            "requires_shipping": true,
            "image": null,
            "inventory_quantity": 0,
            "inventory_policy": "deny",
            "barcode": "196942331460"
        },
        {
            "id": 41990816170064,
            "title": "5.5",
            "sku": "A12858W055",
            "price": 120,
            "compare_at_price": null,
            "available": false,
            "options": [
                "5.5"
            ],
            "grams": 1000,
            "requires_shipping": true,
            "image": null,
            "inventory_quantity": 0,
            "inventory_policy": "deny",
            "barcode": "196942331477"
        }
    ],
    "images": [
        "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_SIDE_TRANSPARENT.png?v=1793836076",
        "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_HEEL_TRANSPARENT.png?v=1793836075"
    ],
    "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",
    "created_at": "2026-02-04T17:37:18-08:00",
    "updated_at": "2026-11-14T19:23:59-08:00",
    "published_at": "2026-11-04T15:48:27-08:00",
    "total_inventory": 104,
    "media": [
        {
            "type": "image",
            "url": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_SIDE_TRANSPARENT.png?v=1793836076",
            "alt": null
        },
        {
            "type": "image",
            "url": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_HEEL_TRANSPARENT.png?v=1793836075",
            "alt": null
        }
    ],
    "timestamp": "2026-11-15T03:23:59.357Z"
}
带库存的产品详情 — 代码片段

curl --location --request POST 'https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43193/product+details+with+stock?url=https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
包含店铺句柄、网址、产品数量、描述和图片的店铺系列
Endpoint ID: 43194
POST https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43194/list+collections
输入参数

列出集合 — 端点功能

对象 描述
url 必需 Store URL or bare domain, e.g. or kith.com. Product and collection URLs work too.
page 可选 Page number.
limit 可选 Items per page, 1-250.

剩余免费测试请求:3 / 3。


输入参数

url
page
limit
API 示例响应
JSON
{
    "success": true,
    "store": "https://www.allbirds.com",
    "page": 1,
    "limit": 2,
    "count": 2,
    "has_next_page": true,
    "collections": [
        {
            "id": 263506919504,
            "title": "$109 Tree Dashers for Outlet Discount Code",
            "handle": "109-tree-dashers-for-outlet-discount-code",
            "url": "https://www.allbirds.com/collections/109-tree-dashers-for-outlet-discount-code",
            "products_count": 0,
            "description": null,
            "image": null,
            "published_at": "2022-07-11T07:39:16-07:00",
            "updated_at": "2026-07-08T13:39:47-07:00"
        },
        {
            "id": 270995030096,
            "title": "30% Off Tree Runner Go & Tree Gliders",
            "handle": "30-off-tree-runner-go-tree-gliders",
            "url": "https://www.allbirds.com/collections/30-off-tree-runner-go-tree-gliders",
            "products_count": 107,
            "description": null,
            "image": null,
            "published_at": "2024-09-07T20:37:09-07:00",
            "updated_at": "2026-11-14T04:02:09-08:00"
        }
    ],
    "timestamp": "2026-11-15T03:23:59.516Z"
}
列出集合 — 代码片段

curl --location --request POST 'https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43194/list+collections?url=https://www.allbirds.com&limit=2' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
运行商店自有的商品搜索(与其搜索框相同),并返回最多 10 个匹配商品及其价格范围和库存情况
Endpoint ID: 43195
POST https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43195/search+products+in+a+store
输入参数

在商店中搜索产品 — 端点功能

对象 描述
url 必需 Store URL or bare domain, e.g. or kith.com. Product and collection URLs work too.
query 必需 Search text.
limit 可选 limit parameter for this request

剩余免费测试请求:3 / 3。


输入参数

url
query
limit
API 示例响应
JSON
{
    "success": true,
    "store": "https://www.allbirds.com",
    "query": "runner",
    "count": 2,
    "products": [
        {
            "id": 1878193471557,
            "title": "Men's Wool Runner - Natural Grey (Light Grey Sole)",
            "handle": "mens-wool-runners",
            "url": "https://www.allbirds.com/products/mens-wool-runners",
            "vendor": "Allbirds",
            "product_type": "Shoes",
            "price": 110,
            "price_min": 110,
            "price_max": 110,
            "compare_at_price_max": null,
            "available": true,
            "tags": [
                "allbirds::carbon-score => 7.07",
                "allbirds::cfId => color-mens-wool-runners",
                "allbirds::complete => true",
                "allbirds::edition => classic",
                "allbirds::gender => mens",
                "allbirds::hue => grey",
                "allbirds::master => mens-wool-runners",
                "allbirds::material => wool",
                "allbirds::price-tier => msrp",
                "allbirds::silhouette => runner",
                "allbirdskit::kit-discount-3ct4WFypIJAqgLRmxHMOf5 => 9",
                "allbirdskit::kit-id => 3ct4WFypIJAqgLRmxHMOf5",
                "allbirdskit::kit-size-3ct4WFypIJAqgLRmxHMOf5 => 2",
                "loop::returnable => true",
                "OOS DNS",
                "shoprunner",
                "Wave#4 WC-(TRAILERS 09-011)",
                "WC WAVE 1 TRUCK #1-#16 7.30.2026",
                "YCRF_mens-move-shoes",
                "YGroup_ygroup_mens-wool-runners"
            ],
            "image": "https://cdn.shopify.com/s/files/1/1104/4168/files/Allbirds_WL_RN_SF_PDP_Natural_Grey_LAT.png?v=1751143404"
        },
        {
            "id": 7199639601232,
            "title": "Men's Wool Runner NZ - Dark Grey (Light Grey Sole)",
            "handle": "mens-wool-runner-nz",
            "url": "https://www.allbirds.com/products/mens-wool-runner-nz",
            "vendor": "Allbirds",
            "product_type": "Shoes",
            "price": 110,
            "price_min": 110,
            "price_max": 110,
            "compare_at_price_max": null,
            "available": true,
            "tags": [
                "allbirds::carbon-score => undefined",
                "allbirds::cfId => color-c456ef05144d3c332268781d17eef8b8",
                "allbirds::complete => true",
                "allbirds::edition => classic",
                "allbirds::gender => mens",
                "allbirds::hue => grey",
                "allbirds::master => mens-wool-runner-nz",
                "allbirds::material => wool",
                "allbirds::price-tier => msrp",
                "allbirds::silhouette => runner",
                "loop::returnable => true",
                "OOS DNS",
                "shoprunner",
                "WAVE 2 ECDC",
                "WAVE 2 WCDC",
                "Wave1_EC-A PL",
                "YCRF_mens-move-shoes-half-sizes",
                "YGroup_ygroup_mens-wool-runner-nz"
            ],
            "image": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12012_25Q3_Wool-Runner-NZ-Dark-Grey-Light-Grey-Sole_PDP_LEFT__1.png?v=1754512329"
        }
    ],
    "timestamp": "2026-11-15T03:23:59.688Z"
}
在商店中搜索产品 — 代码片段

curl --location --request POST 'https://zylalabs.com/api/15776/shopify+store+catalog+and+stock+api/43195/search+products+in+a+store?url=https://www.allbirds.com&query=runner&limit=2' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Shopify 商店目录和库存 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

从任何公开的 Shopify 商店获取产品、变体、价格、库存水平和系列,并检查网站是否使用 Shopify

Shopify 商店目录和库存 API FAQs

是的。每次调用时都会获取源页面,因此价格、库存、评分和分数都是最新的。不会使用旧数据集提供内容。

仅限无需登录即可公开查看的数据。该 API 从不登录任何网站,也从不返回私人账户或私人消息】【。

大多数调用会在 1 到 5 秒内得到响应 需要完整渲染页面的调用可能耗时更长 因此请将客户端超时设置为约 90 秒

你会收到一个 JSON 正文,其中 success 设置为 false,并包含原因代码和易读的消息,例如项目不存在或源暂时不可用时

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API