跳到正文

Commerce API:以 JSON 获取商城商品搜索和商品页面

通过同一个异步 API,在 Amazon、Walmart、Coupang、Olive Young、Rakuten 等 21 家商城搜索商品、读取商品页面,以 JSON 获取商品排名、价格、评分、评价数、库存、图片、规格和选项。

2026年11月19日 运行的 COMMERCE_SERP 搜索,按返回的商品和图片绘制。

21 家商城,一个 API

COMMERCE_SERP 在一家商城中搜索,以所有商城统一格式的 products 返回商品排名、价格、评分和评价数。COMMERCE_PRODUCT 读取一个商品页面,返回价格、库存、图片、详情图片、规格和选项。美国、韩国、日本、印度和德国的商城使用同样的请求方式,结果通过 Webhook 或轮询获取。

All ▾Search AmazonHello, sign inAccount & ListsReturns& Orders
☰ AllToday's DealsCustomer ServiceRegistryGift CardsSell
Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation
Visit the Apple Store
4.4⌄(18,141)
-28%$17900List Price: $249.00
BrandApple
ColorWhite
Ear PlacementIn Ear
Form FactorIn Ear
Impedance24 ohm
About this item
  • WORLD’S BEST IN-EAR ACTIVE NOISE CANCELLATION — Removes up to 2x more unwanted noise than AirPods Pro 2* so you can stay fully immersed in the moment.*
  • BREAKTHROUGH AUDIO PERFORMANCE — Experience breathtaking, three-dimensional audio with AirPods Pro 3. A new acoustic architecture delivers transformed bass, detailed clarity so you can hear every instrument, and stunningly vivid vocals.
  • HEART RATE SENSING — Built-in heart rate sensing lets you track your heart rate and calories burned for up to 50 different workout types.* With iPhone, you will have access to the Move ring, step count, and the new Workout Buddy,* powered by Apple Intelligence.*
$17900
In StockQuantity: 1 ▾Add to CartBuy NowSold byAmazon.com
images6
商品图片的原始尺寸,按页面顺序排列。
titleApple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation
页面上显示的商品名称。
brandApple
标题下方店铺链接中的品牌。
ratingreviewCount4.4 · 18141
平均星级和评分数量。
pricelistPrice179 · 249
实付价格、标价和货币。
specs14
商品详情的全部条目;概览显示前五条。
description
“About this item”下的各行内容。
inStocksellertrue · Amazon.com
是否有货,以及卖家。
2026年11月20日 在 Amazon 的 AirPods Pro 3 商品页运行的 COMMERCE_PRODUCT,按美国购物者看到的页面绘制。
步骤 1

21 家商城,统一格式

COMMERCE_SERP 用 payload.site 选择商城,用 payload.query 搜索。每家商城都返回 rank、productId、title、url,页面显示时还返回 price、currency、rating、reviewCount 和 imageUrl;country 跟随商城所在市场(US、KR、JP、IN、DE)。Coupang 保留页面上的全部商品卡片,其他商城返回去除广告商品后的排名。

JSON
{
  "taskType": "COMMERCE_SERP",
  "payload": {
    "site": "amazon",
    "query": "cerave",
    "limit": 20
  }
}
步骤 2

读取一个商品页面

COMMERCE_PRODUCT 读取你在 payload.url 中发送的商品页面,并按网址选择商城。在 18 家商城返回 title、price、currency 和 images,页面显示时还返回 listPrice、inStock、seller、brand、rating、reviewCount、description、descriptionImages(最多 300 张)、specs、options、categories 和 gtin。

JSON
{
  "taskType": "COMMERCE_PRODUCT",
  "payload": {
    "url": "https://www.amazon.com/dp/B0FQFB8FMG"
  }
}

在商城中核对 AI 推荐的商品

把同一个购物问题发送给回答引擎,把同一个关键词发送给 COMMERCE_SERP,就能比较 AI 推荐的商品在 Amazon 或 Coupang 搜索中排第几。Google 搜索、AI Overviews 和 AI Mode 结果的商品卡片带有 productDetailUrl 时,COMMERCE_PRODUCT 用这个地址读取该商品的卖家、价格、描述和规格。

ChatGPT 推荐 · “What are the best wireless earbuds under $200?”Amazon 第一页
  1. Soundcore Liberty 5 Pro不在前 16 个中
  2. Apple AirPods Pro 3第 2 位 · US$179
  3. Technics EAH-AZ80不在前 16 个中
  4. Nothing Ear (3)不在前 16 个中
  5. Sony WF-1000XM5不在前 16 个中

Amazon“wireless earbuds”第一页,按排名

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
2026年11月19日 运行的 CHATGPT 任务和 Amazon COMMERCE_SERP 搜索。

每次搜索或商品页面 0.5 积分起

每次搜索或每个商品页面在多数商城收取 0.5 积分,Amazon 1 积分,Google Shopping 2 积分,Coupang 2 积分。只对完成的请求计费。

查看价格 →
按套餐计算的请求费用
套餐1,000 次
Basic≈ $1.25
Max≈ $0.50

这是使用完月度套餐积分时的换算费用。

相关功能

用 500 免费积分开始

在 Playground 运行第一个任务,或用你的密钥直接调用 API。