# 速卖通 评价 API (aliexpress.reviews)

- Canonical page: https://everyinfra.com/aliexpress-api/reviews
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "aliexpress", "action": "reviews", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 200 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=aliexpress&action=reviews

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | AliExpress 商品链接，建议传 https://www.aliexpress.com/item/<商品ID>.html。profile 返回商品资料而非用户主页，variants 查商品变体，reviews / ratings 查评论或评分汇总；product_detail 也接收纯数字商品 ID。 |
| sort | enum: newest / relevance | no | not declared | 按当前 action 列出的允许值选择。search：relevance 为默认综合排序，popular 为订单量优先，price_asc / price_desc 为价格升序 / 降序，top_rated 为评分优先；兼容旧值 default / orders / rating。reviews：relevance 为默认顺序，newest 为最新评论，不是商品上架时间。ratings 不公开 sort 参数。 |
| limit | integer (1–200) | no | 20 | 这次调用最多返回的条数，整数，1–200；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| review_id | 评价 ID。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| country | 国家或地区。可能是全称也可能是 ISO 代码，取决于平台，未归一。 |
| author | 评价人。 |
| sku_info | SKU 规格信息（颜色 / 尺寸等组合）。 |
| helpful_count | 该评价被标为有用的次数。 |
| logistics | 物流方案。 |
| product_id | 商品 ID。 |
| is_anonymous | 是否匿名评价（reviews）。 |
| unhelpful_count | 该评价被标为没帮助的次数（reviews）。 |
| language | 内容语言代码（如 zh、en），由平台判定，可能不准。 |
| original_text | 评价原文（reviews；text 可能是机翻后的文本）。 |
| is_translated | text 是否为翻译后的文本（reviews）。 |
| review_labels | 评价人给的分项标签（reviews，如尺码合适度、质量、性价比 → 评语）。 |
| sku_id | 具体规格的 SKU ID。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| images | 图片链接：商品类能力里是商品轮播图（按商品页顺序），reviews 里是买家晒图。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "aliexpress",
  "action": "reviews",
  "params": {
    "url": "https://www.aliexpress.com/item/3256806025886958.html"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "aliexpress",
        "action": "reviews",
        "params": {
            "url": "https://www.aliexpress.com/item/3256806025886958.html",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "aliexpress",
  "action": "reviews",
  "results": [
    {
      "review_id": "•••",
      "text": "Thin but warm and comfortable - neck is a good turtleneck.  if you wear a us l cotton t-shirt size a 2xl will cling to your body and 3xl will be very slightly loose.  wear with the tag on your left.  these are very good for layering.  i will buy more.",
      "rating": 5,
      "posted_at": "13 Sep 2026",
      "country": "US",
      "sku_info": "Color:Black Size:XXXL",
      "helpful_count": 0,
      "logistics": "AliExpress Selection Standard Shipping",
      "product_id": "•••",
      "platform": "aliexpress",
      "rating_scale": 5
    },
    {
      "review_id": "•••",
      "text": "Thin but warm and comfortable - neck is a good turtleneck.  if you wear a us l cotton t-shirt size a 2xl will cling to your body and 3xl will be very slightly loose.  wear with the tag on your left.  these are very good for layering.  i will buy more.",
      "rating": 5,
      "posted_at": "13 Sep 2026",
      "country": "US",
      "sku_info": "Color:White Size:XXXL",
      "helpful_count": 0,
      "logistics": "AliExpress Selection Standard Shipping",
      "product_id": "•••",
      "platform": "aliexpress",
      "rating_scale": 5
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=aliexpress
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
