# Douyin Live product search API (douyin.live_product_search)

- Canonical page: https://everyinfra.com/en/douyin-api/live_product_search
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "douyin", "action": "live_product_search", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 3, max 3 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=douyin&action=live_product_search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | A Douyin Mall product search phrase. Only products that carry a live tag and a live room ID at the time of the request come back; the results are not a record of what any given creator has sold on live streams. |
| limit | integer (1–3) | no | 3 | The most rows to return in this call, an integer from 1 to 3. 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 |
|---|---|
| product_id | Stable Douyin Mall product ID. |
| sku_id | platform-native meaning |
| title | Title. null when the platform has no titles (for example text-only posts). |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| price_cny | Displayed product price in yuan. |
| shop_id | Douyin Mall shop ID. |
| live_room_id | platform-native meaning |
| is_live_product | platform-native meaning |
| source_keyword | The search term this row matched. |
| 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": "douyin",
  "action": "live_product_search",
  "params": {
    "keyword": "美食"
  }
}'
```

```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": "douyin",
        "action": "live_product_search",
        "params": {
            "keyword": "美食",
        },
    },
    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 3. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "douyin",
  "action": "live_product_search",
  "results": [
    {
      "product_id": "3758214740665565640",
      "sku_id": "3614004672311810",
      "title": "法丽兹巧克力夹心曲奇抹茶饼干盒装办公室下午茶零食休闲食品小吃",
      "image_url": "https://p3-item.ecombdimg.com/img/ecom-shop-material/jpeg_m_327d8faf8492a4d6722ddbd815f29bdb_sx_412657_www800-800~tplv-5mmsx3fupr-resize:480:480.jpeg?biz_tag=ecom_search&s=PackSource_EcomSearch&sc=ecom_hybrid",
      "price_cny": 0.01,
      "shop_id": "38484121",
      "live_room_id": "7705130303337106202",
      "is_live_product": true,
      "source_keyword": "美食",
      "platform": "douyin"
    },
    {
      "product_id": "3681066470168723459",
      "sku_id": "3402912365175042",
      "title": "飞旺臭干子辣条正宗湖南长沙臭干子网红校园童年零食麻辣休闲小吃",
      "image_url": "https://p26-item.ecombdimg.com/img/ecom-shop-material/jpeg_m_80a5aca284dcf0e715408640274c1278_sx_627143_www800-800~tplv-5mmsx3fupr-resize:480:480.jpeg?biz_tag=ecom_search&s=PackSource_EcomSearch&sc=ecom_hybrid",
      "price_cny": 0.01,
      "shop_id": "17049985",
      "live_room_id": "7705303723047701257",
      "is_live_product": true,
      "source_keyword": "美食",
      "platform": "douyin"
    }
  ],
  "count": 3,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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