# Taobao Questions API (taobao.questions)

- Canonical page: https://everyinfra.com/en/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

## 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 | For product_detail, reviews, or questions, use a numeric item ID, a Taobao/Tmall product URL, or a share message containing exactly one product URL. e.tb.cn and m.tb.cn links work only when they can be safely resolved to a product page. TaoPassword-only tokens, expired links, and non-product pages are rejected. |
| limit | integer (1–100) | no | 10 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| answer_count | Number of answers to the buyer question. |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| answers | Answers to the buyer question. |
| platform | Source platform identifier, the same as platform in the request (for example 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": { … }
}
```

## 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
