# TikTok Shop product detail API (tiktok.shop_product_detail)

- Canonical page: [https://everyinfra.com/en/tiktok-api/shop_product_detail](https://everyinfra.com/en/tiktok-api/shop_product_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "tiktok", "action": "shop_product_detail", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- 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=tiktok&action=shop_product_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| product_id | not declared | yes | not declared | The numeric TikTok Shop product ID (the `id` of a product row from shop_search, shop_category_products or shop_products), or a shop.tiktok.com /pdp/ product link. |
| country | not declared | no | not declared | The TikTok Shop market the product sells in: US (default), MX, SG, MY, PH, TH, VN, ID or JP. Other markets, such as Brazil (BR), return 422 and are not charged. A product that does not exist, was taken down or is not sold in that market returns 200 with an empty result and `empty_reason` set to `item_not_found`, not charged. |

## 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. |
| name | Name of the object itself, for account, product and business capabilities. |
| url | Link to the record on the platform. |
| country | Country or region: a full name or an ISO code depending on the platform, not normalized. |
| price | Price as a number without a currency symbol; see currency. |
| original_price | Original price. |
| currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| image_urls | Link to each image in a photo (carousel) post (video_download, photos, playlist_videos, user_reposts, user_stories; in photos and user_stories the same images as `images`, in the post's order); links to all of a product's main images (shop_search, shop_category_products, shop_products); on shop_search the first is the same as cover_url. |
| brand_name | Brand name of the product (shop_search, shop_category_products, shop_products); absent when no brand is listed for the product. In top_ads, the advertiser's brand name; absent when TikTok shows no brand for the ad. |
| category_ids | Category IDs of the product, from the top category down (shop_product_detail). |
| category_names | Category names matching category_ids one to one, in the language of that market (shop_product_detail). |
| shop_id | Shop ID (shop_search, shop_products); can be passed directly as shop_id to shop_products. |
| shop_name | Shop name (for TikTok Shop). |
| shop | The shop selling the product: shop_id, shop_name, url, logo_url and more when the platform gives them (shop_product_detail). |
| is_in_stock | Whether the product is in stock now (shop_product_detail). |
| rating | Rating. **The scale varies by platform**: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
| rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
| rating_count | Number of people who rated. null means not disclosed, not 0. |
| review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
| sold_count | Units sold. |
| rating_distribution | Number of ratings at each star level, keyed 1 to 5 (shop_product_detail). |
| skus | Each variant: sku_id, price, original_price, stock, purchase_limit (most per order) and specs (option names and values) (shop_product_detail). |
| variant_labels | Labels of the variant selected by default on the product page (shop_product_detail). |
| variant_options | Selectable options: each has name and values, and each value may carry image_url (shop_product_detail). |
| specs | Product specifications, parameter name to value, in the language of that market (shop_product_detail). |
| description | Summary or description, usually shorter than text. |
| shipping_fee | Shipping fee of the default delivery option in the local currency; 0 means free shipping (shop_product_detail). |
| shipping_method | Name of the default delivery option (shop_product_detail). |
| shipping_days_min | Fewest days the default delivery option takes (shop_product_detail). |
| shipping_days_max | Most days the default delivery option takes (shop_product_detail). |
| ai_summary | The platform's summary of reviews; absent when the platform gives none (shop_product_detail). |
| collected_at | Time this record was collected (ISO 8601, UTC). |
| 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": "tiktok",
  "action": "shop_product_detail",
  "params": {
    "product_id": "1730991511457465439",
    "country": "MY"
  }
}'
```

```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": "tiktok",
        "action": "shop_product_detail",
        "params": {
            "product_id": "1730991511457465439",
            "country": "MY",
        },
    },
    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": "tiktok",
  "action": "shop_product_detail",
  "results": {
    "id": …,
    "name": …,
    "url": …,
    "country": …,
    "price": …,
    "original_price": …,
    "currency": …,
    "image_url": …,
    "image_urls": …,
    "brand_name": …,
    "category_ids": …,
    "category_names": …,
    "shop_id": …,
    "shop_name": …,
    "shop": …,
    "is_in_stock": …,
    "rating": …,
    "rating_scale": …,
    "rating_count": …,
    "review_count": …,
    "sold_count": …,
    "rating_distribution": …,
    "skus": …,
    "variant_labels": …,
    "variant_options": …,
    "specs": …,
    "description": …,
    "shipping_fee": …,
    "shipping_method": …,
    "shipping_days_min": …,
    "shipping_days_max": …,
    "ai_summary": …,
    "collected_at": …,
    "platform": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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