Amazon商品评论
最低 ¥0.2/次起即将上线通过ASIN获取最多有帮助评论(正文、星级、评论者、验证购买、有用票、日期、配图)
单价随接口累计调用量阶梯调整
POST
https://redfox.hk/story/api/amazon/reviewsAPI 密钥获取与配置
获取密钥调用 API 前,请先在控制台生成 API 密钥并完成配置。在 HTTP 请求头中添加API Key 字段,密钥用于身份校验与额度计费。
获取步骤
- 前往控制台页面,进入 API 密钥管理模块。
- 若无已生成的密钥,点击生成新密钥,复制并妥善保存密钥。
- 在请求头中添加
REDFOX_API_KEY或X-API-KEY字段并填入密钥后即可调用。
API说明
Method:POST
Host:https://redfox.hk
Path:/story/api/amazon/reviews
请求头
| 名称 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| REDFOX_API_KEY | string | 是 | 平台鉴权令牌,每次请求必填 | ak_xxxxxx |
| Content-Type | string | 是 | 请求体数据类型 | application/json |
请求参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| asin | string | 是 | 商品ASIN(必填,10位商品标识符) 从product-search接口结果的asin字段获取,例:B0FQFB8FMG | B0FQFB8FMG |
| country | string | 否 | 站点国家码(非必填,默认US) 可选:US、GB、CA、DE、FR、IT、ES、JP、IN、MX、BR、AU、NL | US |
| label | string | 否 | 附加智能标签(非必填) 例如 label=reports,配合评论文本执行自定义判定 | |
| judgments | string | 否 | 是否关闭默认情感/问题标签(非必填) 传 off 返回不带 computed.labels 的精简评论页;默认开启(不额外计费) |
返回值与结构
统一包装一般为 `code`、`message`/`msg`、`data`(以实际服务为准)。
响应字段
| 字段 | 类型 | 说明 | 示例 |
|---|---|---|---|
| code | integer | 业务状态码,2000表示成功 | 2000 |
| msg | string | 状态描述 | 成功 |
| data | object | ||
| count | integer | 本次返回的评价数量,数值型 | 10 |
| paginationToken | null | 翻页游标,无更多数据时为null | |
| reviews | array | 评价列表 | |
| asin | string | 所属商品ASIN,字符串型 | B0FQFB8FMG |
| helpfulVotes | integer | 有用票数,数值型 | 395 |
| images | array | 含晒图的评价(缩略图_SY88规格) | |
| issue | null | 问题标签,Amazon为单一字段且通常为null(区别于Walmart的issueLabel/issueConfidence) | |
| isVerified | boolean | 是否已验证购买 | true |
| publishedAt | string | 评价发布时间,ISO 8601 UTC格式字符串 | 2026-07-05T00:00:00.000Z |
| ratingMax | integer | 评分上限,数值型 | 5 |
| ratingMismatch | null | 评分与情感是否背离,通常为null | |
| ratingValue | integer | 评分值,数值型 | 5 |
| reviewerAvatar | null | 评价人头像URL,通常为null | |
| reviewerLocation | string | 评价人所在地(国家码),Amazon通常有值(区别于Walmart恒null) | US |
| reviewerName | string | 评价人昵称 | Alex Rogers |
| reviewerUrl | string | 评价人主页URL,Amazon通常有值 | https://www.amazon.com/gp/profile/amzn1.account.AGLC4SHGD3OZIBF7TUJWVIGQOJLQ |
| reviewId | string | 评价ID,字符串型(Amazon为R开头字母数字编码,区别于Walmart纯数字) | R2RI0TOXR001D8 |
| sentiment | null | 情感分析结果,Amazon为单一字段且通常为null(区别于Walmart展平的sentimentLevel/Score/Confidence) | |
| text | string | 评价正文,可能为null | I have a set of Airpods pro, 1st gen, that have served me well... |
| title | string | 评价标题,可能为null | Amazing |
| url | string | 评价详情URL,Amazon有值(区别于Walmart恒null) | https://www.amazon.com/gp/customer-reviews/R2RI0TOXR001D8 |
请求示例
{
"asin": "B0FQFB8FMG",
"country": "US",
"label": null,
"judgments": null
}响应示例
{
"code": 2000,
"msg": "成功",
"data": {
"count": 10,
"reviews": [
{
"reviewId": "R2RI0TOXR001D8",
"asin": "B0FQFB8FMG",
"title": "Amazing",
"text": "I have a set of Airpods pro, 1st gen, that have served me well...",
"ratingValue": 5,
"ratingMax": 5,
"publishedAt": "2026-07-05T00:00:00.000Z",
"reviewerName": "Alex Rogers",
"reviewerAvatar": null,
"reviewerLocation": "US",
"reviewerUrl": "https://www.amazon.com/gp/profile/amzn1.account.AGLC4SHGD3OZIBF7TUJWVIGQOJLQ",
"isVerified": true,
"helpfulVotes": 395,
"images": [],
"url": "https://www.amazon.com/gp/customer-reviews/R2RI0TOXR001D8",
"sentiment": null,
"issue": null,
"ratingMismatch": null
},
{
"reviewId": "RRX675LFB6Y4T",
"asin": "B0FQFB8FMG",
"title": "A subtle but significant upgrade for iOS users.**UPDATE**",
"text": "I am an ear bud junky and have been on a quest for the perfect set...",
"ratingValue": 5,
"ratingMax": 5,
"publishedAt": "2025-11-11T00:00:00.000Z",
"reviewerName": "HJeffK",
"reviewerAvatar": null,
"reviewerLocation": "US",
"reviewerUrl": "https://www.amazon.com/gp/profile/amzn1.account.AGVVGEYLGPWOZJLJ4J4RC3IWK3JQ",
"isVerified": true,
"helpfulVotes": 958,
"images": [
"https://m.media-amazon.com/images/I/71+nYK8H3pL._SY88.jpg",
"https://m.media-amazon.com/images/I/61DThzZmWaL._SY88.jpg"
],
"url": "https://www.amazon.com/gp/customer-reviews/RRX675LFB6Y4T",
"sentiment": null,
"issue": null,
"ratingMismatch": null
}
],
"paginationToken": null
}
}常见状态码说明
调用接口时,响应体中的 code 字段对应以下状态码。完整列表请查看 API 状态码说明页。
| 状态码 | 说明 | 排查建议 |
|---|---|---|
400 | 请求参数错误 | 检查请求体、Query 参数是否与文档一致,必填项是否齐全。 |
401 | 鉴权失败 | 确认请求头已添加 REDFOX_API_KEY 或 X-API-KEY,且密钥有效、未禁用。 |
403 | 无权限访问 | 当前密钥或账号无权调用该接口,请检查密钥状态与接口权限。 |
500 | 系统内部错误 | 服务端异常,请稍后重试;持续出现请联系技术支持。 |
503 | 服务暂不可用 | 服务维护或短暂过载,请间隔一段时间后重试。 |
1001 | 缺少必要参数 | 对照「请求参数」表,补全必填字段。 |
1002 | 参数格式不正确 | 检查字段类型与格式(如 URL、日期、枚举值)是否符合说明。 |
1003 | 参数类型错误 | 确认 JSON 中数字、字符串、布尔等类型与文档定义一致。 |
3103 | 密钥不存在 | 密钥可能已删除或填写错误,请前往控制台核对并重新复制。 |
3105 | API Key 已禁用 | 在控制台启用该密钥,或创建新密钥后替换请求头中的值。 |
3201 | 积分不足 | 账户余额不足以支付本次调用,请前往控制台充值后再试。 |
3202 | 积分账户不存在 | 账号积分账户异常,请登录控制台确认账户状态。 |
4004 | 操作过于频繁,请稍后再试 | 触发频率限制,降低请求频率或增加调用间隔后重试。 |