# Amazon 评论爬虫 API：REST、Python 和 Node | Scrapier (https://scrapier.io/zh/scrapers/amazon/reviews/api/)

> 通过 cURL、Python 或 Node.js 调用 Amazon 评论爬虫 REST API。一个 GET、一个请求头，返回带类型的 JSON。每次 ASIN 查询 20 积分。失败调用免费。

Last updated: 2026-11-28

am**GET**/api/v2/amazon-review/

## Amazon 评论爬虫 _API_

最后更新：2026 年11月 9 日 · REST · JSON

简要回答

发送 `GET https://api.scrapier.io/api/v2/amazon-review/?asins=B0B2RM68G2`，并在 `X-API-Key` 请求头中带上密钥，即可以 JSON 获得 ASIN 查询结果。每次 ASIN 查询 20 积分；失败的调用免费。

- 每次 ASIN 查询 20 积分
- 失败的调用免费
- 没有速率限制

[获取免费 API 密钥 →](https://app.scrapier.io/sign-up)[跳转到试用区](#playground)

复制给 你的 AI 智能体

API

## 调用 Amazon 评论爬虫 API

在你自己的应用、脚本或智能体中使用 Amazon 评论爬虫 API。你需要一个 Scrapier 账号，以及控制台中的 API 密钥。请选择一种语言。

reviews.py

import requests\# Replace YOUR\_API\_KEY with the key from your Scrapier dashboardAPI\_KEY = "YOUR\_API\_KEY"params = {    "asins": "B0B2RM68G2",}r = requests.get(    "https://api.scrapier.io/api/v2/amazon-review/",    headers={"X-API-Key": API\_KEY},    params=params,    timeout=210,)r.raise\_for\_status()\# The result sits under data.reviewsresult = r.json()\["data"\]\["reviews"\]print(result)

### Python 版 Amazon 评论爬虫 API

只需普通的 `requests`，无需 SDK。每个响应都是类型化 JSON。

安装

**$** pip install requests

其他调用方式

试用区

## Amazon 评论爬虫 API 交互式试用

编辑请求，观察代码更新，然后运行。没有密钥时它显示目录示例，不计费。使用你的密钥时，它会从浏览器发出真实调用；密钥只会发送到 api.scrapier.io，从不存储。

就绪延迟 **—**已计费积分：**0**

请求已就绪`GET /api/v2/amazon-review/?asins=B0B2RM68G2`

点击**运行请求**发送。没有密钥时你得到的是目录示例。

正在发送请求…

**错误**

失败的调用不计费。

[导入到 Postman](https://docs.scrapier.io/integrations/openapi.md)[OpenAPI 规范](https://api.scrapier.io/api/v2/openapi.json)

无论输入什么，示例都相同：它展示的是响应结构，而不是你输入的账户。

### 示例响应，目录示例，2026 年11月 9 日

{
  "success": true,
  "data": {
    "asins": "B0B2RM68G2",
    "product": {
      "asin": "B0B2RM68G2",
      "title": "BIODANCE Bio-Collagen Real Deep Mask, Hydrating Overnight Hydrogel Face Mask, ...",
      "url": "https://www.amazon.com/dp/B0B2RM68G2",
      "rating": 4.5,
      "ratings\_total": 49090
    },
    "page": 1,
    "page\_size": 13,
    "reviews": \[
      {
        "input\_asin": "B0B2RM68G2",
        "entity\_id": "B0B2RM68G2",
        "status": "ok",
        "error": null,
        "id": "R2V1U0N5TAYC88",
        "url": "https://www.amazon.com/gp/customer-reviews/R2V1U0N5TAYC88",
        "title": "Overnight Hydration That Leaves Skin Soft, Plump, and Refreshed",
        "text": "The BIODANCE Bio-Collagen Real Deep Mask is one of the most impressive overnight masks I've tried...",
        "rating": {
          "value": 5,
          "max": 5
        },
        "author": {
          "name": "Klee",
          "avatar\_url": "https://m.media-amazon.com/images/S/amazon-avatars-global/default.\_SX48\_.png",
          "url": "https://www.amazon.com/gp/profile/amzn1.account.xxx",
          "location": "US",
          "reviews\_count": null
        },
        "helpful\_votes": 3,
        "verified": true,
        "source": "top\_reviews\_local",
        "position": 1,
        "variant": "Scent: Collagen | Size: 4 Count (Pack of 1)",
        "language": "en",
        "original\_language": "en",
        "translated": false,
        "images": null,
        "responses": null,
        "published\_at": "2026-09-20T00:00:00.000Z",
        "product": {
          "asin": "B0B2RM68G2",
          "title": "BIODANCE Bio-Collagen Real Deep Mask, ...",
          "url": "https://www.amazon.com/dp/B0B2RM68G2",
          "rating": 4.5,
          "ratings\_total": 49090
        },
        "computed": {
          "labels": {
            "sentiment": {
              "level": 4,
              "score\_0\_1": 0.96,
              "confidence": 0.99,
              "rating\_mismatch": false
            },
            "issue": {
              "label": "product\_defect",
              "confidence": 0.7
            }
          }
        },
        "scraped\_at": "2026-09-24T17:00:00.000Z"
      }
    \],
    "next\_cursor": null,
    "warning": "Amazon shows logged-out visitors only the product page's 'Top reviews' card (up to 8 US reviews + up to ~5 from other countries); the full paginated review list requires sign-in, so no further pages exist for this endpoint."
  }
}

数据

## 你可以提取的数据

Amazon 评论爬虫读取 Amazon 商品页上的“热门评论”卡片，返回每条评论的评分、标题、正文、作者、已验证购买标记、有用投票数、变体、语言和日期，以及情感和问题类型标签。下面每个字段都来自目录示例响应，是带类型的 JSON。

评价

响应中共有 13 个字段。

- id
- url
- title
- text
- rating
- helpful\_votes
- verified
- variant
- 另有 5 项

作者

响应中有 1 个字段。

- author

语言

响应中有 3 个字段。

- language
- original\_language
- translated

标签和商品

响应中有 2 个字段。

- computed
- product

行上下文

响应中有 5 个字段。

- input\_asin
- entity\_id
- status
- error
- scraped\_at

响应结构

响应中有 7 个字段。

- success
- data.asins
- data.product
- data.page
- data.page\_size
- data.next\_cursor
- data.warning

结构

## 响应结构参考

示例响应中的每个字段。字段名每次调用都保持不变。

| 字段 | 类型 | 示例 | 说明 |
| --- | --- | --- | --- |
| `reviews.id` | string | `"R2V1U0N5TAYC88"` | 评论 ID |
| `reviews.url` | string | `"https://www.amazon.com/gp/customer-reviews/…"` | 评论链接 |
| `reviews.title` | string | `"Overnight Hydration That Leaves Skin Soft, …"` | 评论标题 |
| `reviews.text` | string | `"The BIODANCE Bio-Collagen Real Deep Mask is…"` | 评论文本 |
| `reviews.rating` | object | `{…}` | 包含 value 和 max 的对象 |
| `reviews.helpful_votes` | integer | `3` | 有用票数 |
| `reviews.verified` | boolean | `true` | 已验证购买时为 true |
| `reviews.variant` | string | `"Scent: Collagen | Size: 4 Count (Pack of 1)"` | 购买的选项，例如 Scent 和 Size |
| `reviews.images` | null | `null` | 评论附带的图片列表；没有时为 null |
| `reviews.responses` | null | `null` | 卖家回复列表；没有时为 null |
| `reviews.published_at` | string | `"2026-09-20T00:00:00.000Z"` | 发布日期和时间，ISO 8601 |
| `reviews.position` | integer | `1` | 评论在列表中的位置 |
| `reviews.source` | string | `"top_reviews_local"` | 读取该评论的来源，例如 top\_reviews\_local |
| `reviews.author` | object | `{…}` | 包含 name、avatar\_url、url、location 和 reviews\_count 的对象 |
| `reviews.language` | string | `"en"` | 评论语言 |
| `reviews.original_language` | string | `"en"` | 评论的原始语言 |
| `reviews.translated` | boolean | `false` | 评论被翻译过时为 true |
| `reviews.computed` | object | `{…}` | 情感标签（level、score\_0\_1、confidence、rating\_mismatch）和问题标签（label、confidence） |
| `reviews.product` | object | `{…}` | 包含 asin、title、url、rating 和 ratings\_total 的对象 |
| `reviews.input_asin` | string | `"B0B2RM68G2"` | 你输入的 ASIN，在该行中原样返回 |
| `reviews.entity_id` | string | `"B0B2RM68G2"` | 该行所属的 ASIN |
| `reviews.status` | string | `"ok"` | 该行的状态，目录示例中为 ok |
| `reviews.error` | null | `null` | 该行的错误；没有时为 null |
| `reviews.scraped_at` | string | `"2026-09-24T17:00:00.000Z"` | 该行被抓取的 UTC 时间 |
| `success` | boolean | `true` | 每个 200 响应都为 true |
| `data.asins` | string | `"B0B2RM68G2"` | 你的输入，原样返回 |
| `data.product` | object | `{…}` | 商品摘要，含 asin、title、url、rating 和 ratings\_total |
| `data.page` | integer | `1` | 本次响应的页码 |
| `data.page_size` | integer | `13` | 本次响应中的评论 |
| `data.next_cursor` | null | `null` | 始终为 null：这是单次查询 |
| `data.warning` | string | `"Amazon shows logged-out visitors only the p…"` | 提示 Amazon 只向未登录访客显示热门评论卡片，所以没有更多分页 |

参数

## 请求参数参考

| 名称 | 类型 | 必填 | 默认值 | 说明 | 示例 |
| --- | --- | --- | --- | --- | --- |
| `asins` | string | 是 | — | 纯 ASIN 或 Amazon 商品链接（`/dp/`、`/gp/product/` 或带别名的链接），每次调用一个。必填。单次查询：`next_cursor` 始终为 null。别名：`asin`、`urls`、`url` | `B0B2RM68G2` |
| `use_proxy` | boolean | 否 | `true` | 通过 Scrapier 的住宅代理池路由，默认开启。保持原样即可 | `true` |
| `raw_data` | boolean | 否 | `false` | 在 `raw_responses` 下返回 Amazon 的原始上游数据，而不是格式化后的条目 | `true` |

每次调用一个商品：要读取十个商品，就调用十次。布尔值是字符串 `true` 或 `false`。未知的 ASIN 或没有评论的商品返回 404，每次尝试都被拦截返回 502，输入有误返回 400；这些都不计费。

### Amazon 评论爬虫 API 的分页

Amazon 评论爬虫 API 是单次查询：一次调用返回完整结果，没有可翻页的 `cursor`。成功的调用消耗 20 积分；失败的调用消耗 0 积分。

访问

## 无需登录 Amazon 即可访问

Amazon 评论爬虫 API 不需要 Amazon 账号、登录或会话 cookie。你在 `X-API-Key` 请求头中带上 Scrapier 密钥，即可获得 JSON。它只读取公开数据：任何访客在未登录时能看到的内容。

性能

## 速度、成本和并发

| 指标 | 数值 | 来源 |
| --- | --- | --- |
| 成功调用的成本 | 20 积分 | Scrapier 目录 |
| 失败调用的成本 | 0 积分 | 任何非 2xx 响应 |
| 每个密钥的并行请求数 | 无限制 | 所有套餐均无速率限制 |
| 建议的客户端超时 | 210 秒 | Scrapier 文档，适用于每个端点 |

### Amazon 评论爬虫 API 的延迟

Scrapier 不公布该端点的延迟或成功率数据。每次调用都在调用时读取 Amazon，所以响应时间取决于 Amazon 和结果的大小。请按文档对每个端点的建议，把客户端超时设为 210 秒。

限制

## 端点的限制

Amazon 评论爬虫 API 的真实限制。

- 仅限公开数据。
- 调用失败（例如 ASIN 缺失或不可用）会返回非 2xx 状态码，并消耗 0 积分。
- 数据在调用时实时读取。
- 没有速率限制，因此需要多少并行请求，就发多少。
- Amazon 没有显示的字段不会返回。

对比

## Scrapier 与官方 Amazon API 对比

如果你需要某个商品的全部评论，该端点无法覆盖：完整列表在 Amazon 上需要登录。如果你有自己的抓取技术栈，自建能提供更多控制。

| 功能 | Scrapier Amazon 评论爬虫 | 自建 Amazon 抓取 |
| --- | --- | --- |
| 所需权限 | 一个 Scrapier API 密钥 | 你自己的代理、解析器和服务器 |
| 哪些数据 | Amazon 向未登录访客显示的热门评论，美国站最多约 8 条，国际站约 5 条 | 取决于你的解析器能提取什么，同样受未登录限制 |
| 返回的字段 | 每条评论 24 个字段：评分、文字、作者、已验证标记、票数和标签 | 你构建并维护什么就是什么 |
| 设置 | 注册，复制密钥，发送请求 | 编写选择器，处理封锁和重试 |
| 成本 | 每次查询 20 积分，每 1,000 次调用低至 $2.39 | 代理、服务器和工程时间 |

错误

## 错误与重试处理

| 状态 | 含义 | 是否计费 | 解决办法 |
| --- | --- | --- | --- |
| 200 | ASIN 查询数据在 `data.reviews` 中返回 | 是 | — |
| 400 | 输入有误或缺失 | 否 | 检查 `asins`：每次调用一个值 |
| 401 | 缺少 `X-API-Key` 请求头 | 否 | 添加该请求头 |
| 402 | 积分用完（响应体含 `balance`） | 否 | 充值；重试无济于事 |
| 403 | API 密钥无效或已撤销 | 否 | 在控制台中检查密钥 |
| 429 | 被限流 | 否 | 等待 `Retry-After` 秒后重试 |
| 5xx | 上游故障或超时 | 否 | 退避重试；把客户端超时设为 210 s |

来自[错误参考](https://docs.scrapier.io/errors/)。任何非 2xx 响应消耗 0 积分。

### Amazon 评论爬虫 API 的重试逻辑

retry.py

import time, requests

def get\_reviews(value, key, tries=5):
    for attempt in range(tries):
        r = requests.get(
            "https://api.scrapier.io/api/v2/amazon-review/",
            headers={"X-API-Key": key},
            params={"asins": value},
            timeout=210,
        )
        if r.status\_code == 429:
            time.sleep(int(r.headers.get("Retry-After", 2 \*\* attempt)))
        elif r.status\_code >= 500:
            time.sleep(2 \*\* attempt)
        else:
            r.raise\_for\_status()
            return r.json()
    raise RuntimeError("gave up after retries")

价格

## 价格与速率限制

| 套餐 | 月费 | 包含 ASIN 查询 | 每 1,000 次成本 |
| --- | --- | --- | --- |
| Hobby | $29 | 7,500 | $3.87 |
| Pro | $79 | 25,000 | $3.16 |
| Scale | $299 | 125,000 | $2.39 |

[查看所有套餐 →](https://scrapier.io/zh/pricing/)

### Amazon 评论爬虫 API 的计费规则

Amazon Review Scraper API 按每次成功的 ASIN 查询收取 20 积分。失败的调用（即任何非 2xx 状态）消耗 0 积分。所有套餐都没有速率限制。付费前可以先用免费额度试用。

批量

## 批量查询与 CSV

`asins` 每次调用只接受一个值。对于列表，循环并行调用（没有速率限制），然后把每一行展平为一行 CSV。

bulk.py

import csv, requests
from concurrent.futures import ThreadPoolExecutor

values = \["B0B2RM68G2"\]  \# your list

def fetch(value):
    r = requests.get(
        "https://api.scrapier.io/api/v2/amazon-review/",
        headers={"X-API-Key": "YOUR\_API\_KEY"},
        params={"asins": value},
        timeout=210,
    )
    r.raise\_for\_status()
    out = r.json()\["data"\]\["reviews"\]
    return out if isinstance(out, list) else \[out\]

\# no rate limits: use as many workers as you need
with ThreadPoolExecutor(max\_workers=3) as pool:
    rows = \[row for part in pool.map(fetch, values) for row in part\]

cols = \["id", "title", "text", "helpful\_votes", "verified", "variant"\]
with open("out.csv", "w", newline="") as f:
    w = csv.DictWriter(f, fieldnames=cols, extrasaction="ignore")
    w.writeheader()
    w.writerows(rows)

### 从 Amazon 评论爬虫 API 导出 CSV

out.csv目录示例 · 1 行

id,title,text,helpful\_votes,verified,variant
R2V1U0N5TAYC88,Overnight Hydration That Leaves Skin Soft, Plump, and Refreshed,The BIODANCE Bio-Collagen Real Deep Mask is one of the most impressive overnight masks I've tried...,3,true,Scent: Collagen | Size: 4 Count (Pack of 1)

智能体

## 通过 MCP 供 AI 智能体访问

### Amazon 评论爬虫 API 的 MCP

AI 智能体可通过 `https://mcp.scrapier.io/mcp` 的 Scrapier MCP 服务器使用同一个端点。一条命令即可在 Claude Code 中注册：`claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY"`。智能体用 `search_endpoints` 找到该端点，再用 `run_scrape` 和端点 ID `amazon-review` 调用。它接受同样的 `asins` 输入，每次 ASIN 查询同样消耗 20 积分。各客户端的设置见 [Amazon 评论爬虫 MCP 页面](https://scrapier.io/zh/scrapers/amazon/reviews/mcp/)。

集成

## 按角色划分的集成路径

无代码

### n8n 和 Make

1. 添加一个 HTTP Request 步骤
2. 带上你的 `X-API-Key` 请求头，对该端点发送 GET
3. 把 `data.reviews` 字段映射到你的列

开发者

### 循环并翻页

for value in values: rows += get(value)

AI 智能体

### 智能体中的 MCP 工具

在 Claude、Cursor 或 Windsurf 中，用端点 `amazon-review` 调用 `run_scrape`。设置见 [MCP 页面](https://scrapier.io/zh/scrapers/amazon/reviews/mcp/)。

分析师

### CSV 和展平的 JSON

把每一行展平为一行 CSV，每个字段一列，可直接用于 Sheets、Excel 或 BI 工具。

法律

## 法律与合规说明

在许多国家，抓取公开的网页通常是合法的，但具体取决于你收集什么、你在哪里以及如何使用。在美国，hiQ Labs v. LinkedIn 是公开数据抓取中被引用最多的案例。Scrapier 只返回任何访客无需登录就能看到的数据。评论带有作者姓名，并可能包含个人信息，所以只收集你需要的内容。根据 GDPR 及类似法律，收集公开数据可能是被允许的，但你存储和使用个人数据的方式仍须遵守当地数据保护规定，同时适用 Amazon 的条款。如果你的用例涉及批量存储个人数据，请咨询法律顾问。这不构成法律建议；请参阅我们的[使用条款](https://scrapier.io/zh/terms/)。

常见问题

## 常见问题

### 有 Amazon ASIN 查询 API 吗？

有。Scrapier 的 Amazon 评论爬虫 API 只需一个 GET 请求和 X-API-Key 请求头，即可以 JSON 返回任何公开的 ASIN 查询结果。无需 Amazon 应用或登录。

### 如何从 Python 调用？

对 \<code>https://api.scrapier.io/api/v2/amazon-review/\</code> 使用 \<code>requests.get\</code>，设置 \<code>params={'asins': 'B0B2RM68G2'}\</code> 和 \<code>headers={"X-API-Key": KEY}\</code>。读取 \<code>r.json()\["data"\]\["reviews"\]\</code>。

### 调用失败时会怎样？

任何非 200 响应都免费。对 429 和 5xx 请退避重试；API 已经会重试上游故障。

### 多少钱？

每次成功调用 20 积分，在 Pro 套餐上每 1,000 次 ASIN 查询约 $3.16。失败的调用免费。

### 有 OpenAPI 规范吗？

有。获取它无需密钥，并且涵盖每个 Scrapier 端点。

相关

## 相关 Amazon API

[am

### 商品 API

按关键词或链接获取搜索结果或单个 /dp/ 商品：价格、星级、评论、上月购买量和徽章，使用你选择的站点。](https://scrapier.io/zh/scrapers/amazon/product/)[am

### 搜索 API

在 8 个 Amazon 站点上获取某个关键词的搜索结果：ASIN、价格、评分、评论数、Prime 标记和销量。](https://scrapier.io/zh/scrapers/amazon/search/)[am

### 畅销榜 API

按类目链接获取畅销榜排名：位置、ASIN、价格、星级、评论数和子类目。](https://scrapier.io/zh/scrapers/amazon/bestsellers/)[am

### 全部 Amazon API

全部 8 个 Amazon 端点。](https://scrapier.io/zh/scrapers/amazon/)

## 一次请求即可以带类型的 JSON 获取公开的 Amazon ASIN 查询结果

每次 ASIN 查询 20 积分 · 失败调用免费

[获取免费 API 密钥 →](https://app.scrapier.io/sign-up)

---
Canonical page: https://scrapier.io/zh/scrapers/amazon/reviews/api/
Site index for AI agents: https://scrapier.io/llms.txt
