# Douyin Shop store products API (douyin.shop_products)

- Canonical page: [https://everyinfra.com/en/douyin-api/shop_products](https://everyinfra.com/en/douyin-api/shop_products?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "douyin", "action": "shop_products", "params": {...}}
- Price: $0.008 per call ($8 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, one page of 10 per call (limit is ignored; pass the top-level next_page_token from the response as page_token for the next page)
- Pagination: pass next_page_token back as page_token for the next page, other params unchanged; one call per page, tokens last 24 hours
- 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=shop_products

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| shop_id | not declared | yes | not declared | The numeric ID of a Douyin Mall shop, taken from the `shop_id` of a `product_search` or `product_detail` row. It is not a shop name. |
| page | integer | no | not declared | Page number starting at 1, with 10 products a page; the number of pages is the `shop_page_count` on each row. It reads that page directly as one call; when `page_token` is also sent, the token wins. |
| page_token | not declared | no | not declared | Page token for `shop_products`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, keeping `shop_id` unchanged. Each page holds 10 products and is one call. Tokens last 24 hours; the last page has none. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| next_page_token | Page token (search / user_posts / comments / comment_replies / billboard_video_hot / billboard_low_fan_explosion / billboard_high_completion / billboard_account_search / music_search): pass it back unchanged as page_token to fetch the next page, keeping the other parameters the same; valid for 24 hours. Every row of a page carries the same value, which also appears at the top level of the response. Absent on the last page. Comment pages walk all top-level comments page by page. |
| product_id | Stable Douyin Mall product ID. |
| promotion_id | platform-native meaning |
| title | Title. null when the platform has no titles (for example text-only posts). |
| url | Link to the record on the platform. |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| price_cny | Displayed product price in yuan. |
| price_cny_minor | platform-native meaning |
| monthly_sales | platform-native meaning |
| tags | Array of tags. An empty array, not null, when there are none. |
| shop_id | Douyin Mall shop ID. |
| shop_product_count | platform-native meaning |
| shop_page_count | platform-native meaning |
| 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": "shop_products",
  "params": {
    "shop_id": "84535208"
  }
}'
```

```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": "shop_products",
        "params": {
            "shop_id": "84535208",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "douyin",
  "action": "shop_products",
  "results": [
    {
      "next_page_token": …,
      "product_id": …,
      "promotion_id": …,
      "title": …,
      "url": …,
      "image_url": …,
      "price_cny": …,
      "price_cny_minor": …,
      "monthly_sales": …,
      "tags": …,
      "shop_id": …,
      "shop_product_count": …,
      "shop_page_count": …,
      "platform": …
    }
  ],
  "next_page_token": …,
  "pagination": { … },
  "count": …,
  "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
