# TikTok Shop Trending Products — Sold Count, SKU | $1.99/1K (`bovi/tiktok-shop-scraper`) Actor

Find trending TikTok Shop products WITH sales data: sold count per product, price, rating, reviews, SKU variants, stock and shop info. Search by keyword, storefront or product URL. Pay per result.

- **URL**: https://apify.com/bovi/tiktok-shop-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce, Marketing
- **Stats:** 4 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.93 / 1,000 shop products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## TikTok Shop Scraper

Extract structured **e-commerce** data from [TikTok Shop](https://www.tiktok.com/shop) at scale. This **TikTok Shop Scraper** pulls clean product records from product pages, seller storefronts, and keyword search — title, current and original price, sold count, rating, reviews, shop, SKU variants, images, and stock status. It is built for sellers, affiliates, and market-research teams who need reliable TikTok Shop product data without a browser farm or a third-party proxy account. You **pay per product** — $4.00 per 1,000 results — and compute runs on your own Apify account.

Unlike a generic TikTok video scraper, this actor is dedicated to the shopping surface: every row is a product or a shop, with prices and sales metrics, ready for spreadsheets, BI tools, or a price-monitoring pipeline.

### TikTok Shop product data — what you get

Each product record includes:

| Field | Description |
|---|---|
| `product_id`, `title`, `description` | Product identity and copy |
| `price`, `original_price`, `currency`, `discount_pct` | Current vs. list price and the discount |
| `price_min`, `price_max` | Variant price range — spot multi-tier listings at a glance |
| `sold_count`, `rating`, `review_count` | Demand and social-proof signals (sales velocity) |
| `shop_id`, `shop_name`, `seller_region` | Which storefront and which market (US/UK/SEA) |
| `category`, `brand` | Classification |
| `sku_variants` | Per-variant name, price, and stock |
| `image_urls`, `video_urls` | Product gallery images and demo/review videos |
| `shipping` | Shipping fee, origin region, and delivery estimate |
| `stock_count`, `is_in_stock`, `product_url` | Numeric stock, availability flag, and canonical link |
| `parse_confidence`, `warnings` | Per-row quality score so you catch silent drift |

Shop mode adds a `shop` record with `shop_name`, `follower_count`, `product_count`, `rating`, and `region`, followed by each product listed on that storefront.

### Why this TikTok Shop Scraper beats the alternatives

Most TikTok Shop actors on the market run a full browser farm (slow and expensive), pass ~$8/GB residential traffic to you, and break silently when TikTok re-skins its pages. This one is different on four concrete points:

- **Per-row quality scoring.** Every record carries `parse_confidence` and `warnings`. No other TikTok Shop scraper tells you, per product, whether the parse was clean — so you catch silent structure drift the day it happens instead of weeks later when your dashboard is already full of nulls.
- **Richer schema.** Variant price range (`price_min`/`price_max`), numeric `stock_count`, product `video_urls`, and `shipping` (fee/origin/delivery) — fields the cheaper incumbents drop.
- **Self-healing transport.** Each request rotates to a fresh residential exit IP, and a soft block (login-wall page with no product JSON) triggers an automatic retry on a new IP rather than a failed row.
- **Graceful degradation.** A probe-first stop-gate verifies connectivity before you are charged a cent, and keyword search degrades cleanly if TikTok rotates its request signing while product and shop modes keep running.

### How to scrape TikTok Shop

Pick any combination of three input modes — the actor auto-detects which to run:

1. **Keyword search** — give a list of `keywords` (e.g. `phone case`, `skincare`) and the actor returns matching products, paginated up to `maxResults`.
2. **Product URLs / IDs** — paste TikTok Shop product (PDP) URLs like `https://www.tiktok.com/shop/pdp/<id>` or bare IDs. This is the most reliable mode: it reads the product JSON embedded directly in the page, with no request signing.
3. **Shop / storefront URLs / IDs** — paste `https://www.tiktok.com/shop/store/<shop_id>` links to get the shop profile plus its product catalog.

### Resilient, low-maintenance e-commerce scraper

TikTok blocks datacenter IPs and region-gates TikTok Shop, so this actor uses **Apify Residential Proxy** (configured through the standard proxy input — no external proxy key, ever) and follows the storefront region of your chosen `countryCode`. The parser targets stable business keys (`productId`, `salePrice`, `soldCount`), not fragile CSS classes, so it survives TikTok's frequent re-skins. A **probe-first stop-gate** verifies connectivity before charging you, and keyword search degrades gracefully if TikTok rotates its request signing, while product and shop modes keep running.

### Pricing

**$4.00 per 1,000 products** (Pay Per Result). Shop profile rows are free; you are billed only for products. Residential proxy usage is billed to your own Apify account at standard rates. Start with a low `maxResults` for a cheap test run.

### Related actors

Pair this with our other marketplace scrapers for cross-platform e-commerce intelligence. For TikTok video, profile, and comment data, use a dedicated TikTok video scraper instead — this actor is shopping-only.

### Integrations

Built for e-commerce sellers and market-research teams benchmarking TikTok Shop products, pricing, and sales-velocity signals — the JSON/dataset output drops into the tools you already run, no glue code:

- **n8n / Make / Zapier** — trigger a run or pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database) with no code: [n8n](https://docs.apify.com/platform/integrations/n8n), [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier).
- **Webhooks** — fire your own endpoint the moment a run finishes, to push results straight into your pipeline ([docs](https://docs.apify.com/platform/integrations/webhooks)).
- **MCP server** — expose this actor as a tool to Claude, Cursor, or any [MCP client](https://mcp.apify.com) so an AI agent can pull this data mid-conversation ([guide](https://blog.apify.com/how-to-use-mcp/)).
- **API & SDKs** — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.

See all [Apify integrations](https://apify.com/integrations).

# Actor input Schema

## `keywords` (type: `array`):

Product search terms (like typing into TikTok Shop search), e.g. 'phone case', 'skincare', 'led lights'. Each keyword returns up to maxResults products with title, price, sale/original price, rating, sold count, shop and images. Needs a RESIDENTIAL proxy (set the countryCode for the storefront region you want).
## `productUrls` (type: `array`):

TikTok Shop product (PDP) URLs, e.g. https://www.tiktok.com/shop/pdp/1729382044556789012 . Most reliable mode — reads the product JSON embedded in the page, no signing required.
## `productIds` (type: `array`):

Bare TikTok Shop product IDs (the number from a /shop/pdp/<id> URL). Use instead of, or alongside, Product URLs.
## `shopUrls` (type: `array`):

TikTok Shop storefront URLs, e.g. https://www.tiktok.com/shop/store/<shop_id> . Returns one shop record (name, followers, product count, rating, region) plus each product listed on the storefront.
## `shopIds` (type: `array`):

Bare TikTok Shop seller/shop IDs. Use instead of, or alongside, Shop URLs.
## `maxResults` (type: `integer`):

Maximum products to return across this run. Keep low for cheap test runs; raise for full catalog pulls. Shop records do not count toward this limit (only the products inside them).
## `proxyConfiguration` (type: `object`):

Apify Proxy. RESIDENTIAL is strongly recommended — TikTok blocks datacenter IPs and region-gates TikTok Shop to the proxy's exit country. Set a countryCode (US, GB, ...) matching the storefront region you want. Billed to the run owner; no external proxy account needed.

## Actor input object example

```json
{
  "keywords": [
    "phone case"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "countryCode": "US"
  }
}
````

# Actor output Schema

## `results` (type: `string`):

Dataset containing Tiktok Shop Scraper records (title, price, original\_price, currency, discount\_pct, sold\_count, rating, review\_count, shop\_name, seller\_region, product\_url, parse\_confidence).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "phone case"
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "countryCode": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/tiktok-shop-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["phone case"],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "countryCode": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/tiktok-shop-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "phone case"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "countryCode": "US"
  }
}' |
apify call bovi/tiktok-shop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=bovi/tiktok-shop-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "TikTok Shop Trending Products — Sold Count, SKU | $1.99/1K",
        "description": "Find trending TikTok Shop products WITH sales data: sold count per product, price, rating, reviews, SKU variants, stock and shop info. Search by keyword, storefront or product URL. Pay per result.",
        "version": "0.1",
        "x-build-id": "1aHecjz5hCC6cHCOs"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~tiktok-shop-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-tiktok-shop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/bovi~tiktok-shop-scraper/runs": {
            "post": {
                "operationId": "runs-sync-bovi-tiktok-shop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/bovi~tiktok-shop-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-tiktok-shop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "keywords": {
                        "title": "🔎 Search keywords",
                        "type": "array",
                        "description": "Product search terms (like typing into TikTok Shop search), e.g. 'phone case', 'skincare', 'led lights'. Each keyword returns up to maxResults products with title, price, sale/original price, rating, sold count, shop and images. Needs a RESIDENTIAL proxy (set the countryCode for the storefront region you want).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "productUrls": {
                        "title": "🛒 Product URLs",
                        "type": "array",
                        "description": "TikTok Shop product (PDP) URLs, e.g. https://www.tiktok.com/shop/pdp/1729382044556789012 . Most reliable mode — reads the product JSON embedded in the page, no signing required.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "productIds": {
                        "title": "Product IDs",
                        "type": "array",
                        "description": "Bare TikTok Shop product IDs (the number from a /shop/pdp/<id> URL). Use instead of, or alongside, Product URLs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "shopUrls": {
                        "title": "🏪 Shop / storefront URLs",
                        "type": "array",
                        "description": "TikTok Shop storefront URLs, e.g. https://www.tiktok.com/shop/store/<shop_id> . Returns one shop record (name, followers, product count, rating, region) plus each product listed on the storefront.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "shopIds": {
                        "title": "Shop IDs",
                        "type": "array",
                        "description": "Bare TikTok Shop seller/shop IDs. Use instead of, or alongside, Shop URLs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max products",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum products to return across this run. Keep low for cheap test runs; raise for full catalog pulls. Shop records do not count toward this limit (only the products inside them).",
                        "default": 50
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Proxy. RESIDENTIAL is strongly recommended — TikTok blocks datacenter IPs and region-gates TikTok Shop to the proxy's exit country. Set a countryCode (US, GB, ...) matching the storefront region you want. Billed to the run owner; no external proxy account needed.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "countryCode": "US"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
