| 参数 | 类型 | 是否必需 | 描述 |
| zip | 字符串 | 是 | 产品位置的邮政编码。 |
| productId | 字符串 | 是 | 产品的唯一标识符。 |
| noWait | 布尔值 | 否 | 如果设置,将立即返回一个asyncId以供后续轮询。 |
| callback | 字符串 | 否 | 如果设置,将立即返回一个asyncId,结果将通过回调提供。 |
| 参数 | 类型 | 是否必需 | 描述 |
| asyncId | 字符串 | 是 | 在超时时获取的前一查找请求中的ID。可用时使用此ID检索产品结果。 |
根据邮政编码查询产品 - 端点功能
| 对象 | 描述 |
|---|---|
请求体 |
[必需] Json |
{"asyncId":"homedepot:84e55fd8f9582f248996285ff507ff01960bd3344101b05f15f22ef9b49c8437","stores":{"4187":{"id":"4187","name":"Willow Grove","address":"2250 Easton Road","city":"Willow Grove","state":"PA","zip":"19090","phone":"(215)657-2897","distance":1.0067916513917736,"hours":{"mon":{"open":"6:00","close":"21:00"},"tue":{"open":"6:00","close":"21:00"},"wed":{"open":"6:00","close":"21:00"},"thu":{"open":"6:00","close":"21:00"},"fri":{"open":"6:00","close":"21:00"},"sat":{"open":"6:00","close":"21:00"},"sun":{"open":"7:00","close":"20:00"}},"products":{"302040042":{"name":"Double 4 in. x 150 in. Autumn Tan Lap Vinyl Siding","description":"No Paint. No Stain. No hassles. That is the beauty and value of Transformations vinyl siding from Ply Gem Performance Collection. Transformations is an excellent choice for a virtually carefree, amazing home exterior. Transformations comes in 13 beautiful colors, and featured profiles of Double 4 in., Double 5 in. and Double 4 1/2 in. Dutch Lap.","url":"/p/Double-4-in-x-150-in-Autumn-Tan-Lap-Vinyl-Siding-PC40M6HP/302040042","imageUrl":"https://images.thdstatic.com/productImages/f3b94555-5a11-4ada-b2ed-51c826d7f484/svn/autumn-vinyl-siding-pc40m6hp-64_1000.jpg","quantityAvailable":0,"priceCentsPerUnit":869,"salePriceCentsPerUnit":null,"bulkPriceCentsPerUnit":null}}}}}
curl --location --request POST 'https://zylalabs.com/api/11656/home+depot+price+scraper+home+depot+product+lookup+api/22011/product+lookup+by+zip+code' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"zip": "19090",
"productId": "302040042"
}'
按邮政编码查询产品结果 - 端点功能
| 对象 | 描述 |
|---|---|
请求体 |
[必需] Json |
{"asyncId":"homedepot:84e55fd8f9582f248996285ff507ff01960bd3344101b05f15f22ef9b49c8437","stores":{"4187":{"id":"4187","name":"Willow Grove","address":"2250 Easton Road","city":"Willow Grove","state":"PA","zip":"19090","phone":"(215)657-2897","distance":1.0067916513917736,"hours":{"mon":{"open":"6:00","close":"21:00"},"tue":{"open":"6:00","close":"21:00"},"wed":{"open":"6:00","close":"21:00"},"thu":{"open":"6:00","close":"21:00"},"fri":{"open":"6:00","close":"21:00"},"sat":{"open":"6:00","close":"21:00"},"sun":{"open":"7:00","close":"20:00"}},"products":{"302040042":{"name":"Double 4 in. x 150 in. Autumn Tan Lap Vinyl Siding","description":"No Paint. No Stain. No hassles. That is the beauty and value of Transformations vinyl siding from Ply Gem Performance Collection. Transformations is an excellent choice for a virtually carefree, amazing home exterior. Transformations comes in 13 beautiful colors, and featured profiles of Double 4 in., Double 5 in. and Double 4 1/2 in. Dutch Lap.","url":"/p/Double-4-in-x-150-in-Autumn-Tan-Lap-Vinyl-Siding-PC40M6HP/302040042","imageUrl":"https://images.thdstatic.com/productImages/f3b94555-5a11-4ada-b2ed-51c826d7f484/svn/autumn-vinyl-siding-pc40m6hp-64_1000.jpg","quantityAvailable":0,"priceCentsPerUnit":869,"salePriceCentsPerUnit":null,"bulkPriceCentsPerUnit":null}}}}}
curl --location --request POST 'https://zylalabs.com/api/11656/home+depot+price+scraper+home+depot+product+lookup+api/22012/product+lookup+by+zip+code+results' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"asyncId": "homedepot:84e55fd8f9582f248996285ff507ff01960bd3344101b05f15f22ef9b49c8437"
}'
按邮政编码查询产品并回调 - 端点功能
| 对象 | 描述 |
|---|---|
请求体 |
[必需] Json |
{"asyncId":"homedepot:84e55fd8f9582f248996285ff507ff01960bd3344101b05f15f22ef9b49c8437"}
curl --location --request POST 'https://zylalabs.com/api/11656/home+depot+price+scraper+home+depot+product+lookup+api/22013/b%c3%basqueda+de+productos+por+c%c3%b3digo+postal+con+callback' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"zip": "19090",
"productId": "302040042",
"callback": "https://maplerope.com"
}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
家得宝价格抓取器家得宝产品查询API是一个工具,允许用户通过提供产品ID和邮政编码来获取家得宝产品的实时定价和可用性
该API直接从家得宝的库存中检索最新的价格和可用性信息,以确保用户能够访问最新的数据
API需要两个必填输入:一个邮政编码,表示产品的位置,和一个产品ID,唯一识别产品
是的,该API允许用户根据提供的邮政编码检查库存水平并比较附近Home Depot地点的价格
'noWait'参数设置为true时,允许API立即返回asyncId以便后续轮询,而不是等待查找完成
API如果查找快速完成则直接返回产品详情否则提供一个asyncId以便稍后获取结果
企业可以使用API通过实时检查库存水平和价格来高效管理供应,从而帮助他们做出明智的采购决策
是的 DIY 爱好者可以使用 API 找到在当地家得宝商店进行他们项目所需产品的最佳价格和库存
邮政编码输入至关重要,因为它决定了检查产品可用性和定价的附近家得宝位置
是的,API 旨在便于集成,使开发人员能够快速将其实现到应用程序、工具或网站中
关键特性包括实时数据检索 基于位置的结果 通过价格比较高效购物 以及轻松集成
通过提供最新的库存信息和定价,API提升了购物体验,帮助用户快速找到最佳交易和可用性
每个端点返回详细的产品信息,包括产品名称、描述、可用性以及商店的详细信息,如名称、地址和营业时间。这些数据帮助用户评估特定家得宝地点的库存水平和定价
响应数据中的关键字段包括`asyncId`、`stores`(包含商店详细信息)和`products`(包含产品名称、描述和可用性)这些字段提供了关于产品可用性和商店位置的全面见解
响应数据以JSON格式结构化,其中包含嵌套的`stores`和`products`对象。每个商店条目包含`id`、`name`、`address`和`hours`等详细信息,而产品条目包括`name`、`description`和可用状态
每个端点提供有关产品可用性、商店位置和营业时间的信息 用户可以根据提供的产品ID和邮政编码访问具体产品细节,从而促进明智的购物决策
端点接受参数,例如`zip`(必需),`productId`(必需),`noWait`(可选)和`callback`(可选)。这些参数允许用户自定义他们对特定产品数据和响应处理的请求
用户可以利用返回的数据比较多个Home Depot地点的产品供应和价格。通过分析商店详情和产品描述,用户可以根据实时库存数据做出明智的购买决定
典型的使用案例包括DIY项目规划 企业的库存管理 和定价策略的竞争分析 用户可以利用API找到各种家得宝产品的最佳交易和库存水平
数据准确性通过直接从家得宝的库存系统中检索实时信息来保持。这确保用户获得有关产品可用性和定价的最新和可靠的数据
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
123ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
1,391ms
服务级别:
100%
响应时间:
3,052ms
服务级别:
100%
响应时间:
6,256ms
服务级别:
100%
响应时间:
20,003ms
服务级别:
100%
响应时间:
3,692ms