# 淘宝 问题列表 API (taobao.questions)

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

淘宝问题列表读取一件商品的「问大家」，每条带提问内容、提问时间、回答数和回答内容。它回答「下单前大家最关心什么、得到了怎样的回答」，适合电商运营补充详情页和客服话术、产品团队收集用户的使用疑问，也可以在评价之外单独整理一份买家顾虑清单。

`url` 的写法和淘宝商品详情、评价一致，商品数字 ID 或淘宝、天猫商品链接都可以。提问在 `text` 里，回答在 `answers` 里，`answer_count` 是这个问题下的回答数。`posted_at` 用的是 UTC，要按北京时间归到某一天，先加 8 小时。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | product_detail / reviews / questions 接收商品数字 ID、淘宝/天猫商品 URL，或含唯一商品 URL 的分享文本；e.tb.cn / m.tb.cn 短链仅在可安全解析为商品页时接受。纯淘口令、过期链接和非商品页会拒绝。 |
| limit | integer (1–100) | no | 10 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| answer_count | 「问大家」回答数。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| answers | 问大家的回答内容。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## 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": "taobao",
  "action": "questions",
  "params": {
    "url": "https://item.taobao.com/item.htm?id=744983869996"
  }
}'
```

```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": "taobao",
        "action": "questions",
        "params": {
            "url": "https://item.taobao.com/item.htm?id=744983869996",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

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

```text
{
  "id": "req_…",
  "platform": "taobao",
  "action": "questions",
  "results": [
    {
      "id": "•••",
      "url": "https://web.m.taobao.com/app/mtb/ask-everyone/detail?disableNav=YES&from=answer&spm=a3134.14087530&id=579472194704&clusterId=579472194704",
      "text": "马来西亚可以用吗",
      "answer_count": 5,
      "posted_at": "2026-08-31T13:45:53+00:00",
      "answers": [
        {
          "id": "•••",
          "text": "可以",
          "posted_at": "2026-09-02T15:46:35+00:00",
          "author_name": "用•••4"
        }
      ],
      "platform": "taobao"
    },
    {
      "id": "•••",
      "url": "https://web.m.taobao.com/app/mtb/ask-everyone/detail?disableNav=YES&from=answer&spm=a3134.14087530&id=574810451494&clusterId=574810451494",
      "text": "去日本能用吗 好用吗",
      "answer_count": 5,
      "posted_at": "2026-07-26T05:09:53+00:00",
      "answers": [
        {
          "id": "•••",
          "text": "你要不查一下日本用什么头",
          "posted_at": "2026-07-28T21:54:30+00:00",
          "author_name": "R•••o"
        }
      ],
      "platform": "taobao"
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### 只有淘口令或分享短链能查吗？

纯淘口令不行，分享文本里必须含有唯一的商品链接才能识别；短链（如 e.tb.cn、m.tb.cn）要能安全还原成商品页才会被接受，过期链接会被拒绝。可以在浏览器里打开商品页，复制地址栏的链接或 id= 后面那串数字。

### 问大家和商品评价有什么不同？

评价是买家写下的使用反馈，带评分和所购规格；问大家是围绕商品的提问和回答，没有评分。两者接受同一种商品标识，分别对应淘宝的评价和问题列表，一起读能同时看到买后的反馈和买前的顾虑。

### 怎么把问答整理成详情页上的常见问题？

按 `answer_count` 从高到低挑出讨论最多的问题，把 `text` 和 `answers` 放在一起归类，合并意思相同的提问。再按 `posted_at` 只看最近一段时间的提问，能发现商品更新后新出现的疑问。

## Also

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