# TikTok Shop Best Sellers & GMV Scraper (US — $1.80/1K) (`studio001/tiktok-shop-best-sellers-scraper`) Actor

Zero-browser TikTok Shop US best sellers scraper ($1.80/1K Gold, 256MB): ranks top products across 28 US categories or search queries via SSR HTTP/2, computing estimated_gmv_usd, discount_pct, sales_velocity_tier & deterministic rank_position. Standby (/api/run, /mcp). $0 on blocks.

- **URL**: https://apify.com/studio001/tiktok-shop-best-sellers-scraper.md
- **Developed by:** [YEONG JUN YOO](https://apify.com/studio001) (community)
- **Categories:** E-commerce, Marketing, MCP servers
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 tiktok shop best seller products ranked

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/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## TikTok Shop Best Sellers & Top Products Scraper

**Discover and rank TikTok Shop US best-selling products across any subset of the 28 US L1 categories or search keywords in `256 MB` RAM with zero headless browsers — computing `estimated_gmv_usd`, `discount_pct`, `sales_velocity_tier`, and deterministic `rank_position` (`1..N`) via direct SSR HTTP/2, Standby REST (`/api/run`), and native Streamable HTTP MCP (`/mcp`).**

[![Pricing](https://img.shields.io/badge/PPE-%242.50%2F1K%20\(Free\)%20%E2%86%92%20%241.80%2F1K%20\(Gold\)-orange)](#pay-per-event-ppe-pricing--cost-estimator)
[![Memory](https://img.shields.io/badge/RAM-256%20MB%20Zero--Browser-blue)](#architecture-retries--anti-bot-ethics)
[![Standby MCP](https://img.shields.io/badge/Standby-REST%20%2B%20Native%20MCP-purple)](#use-as-a-real-time-api-or-native-mcp-server-standby)

E-commerce product scouts, TikTok Shop dropshippers, K-beauty & DTC category managers, and AI merchandising agents do not want noisy unranked feeds or bloated browser scrapers burning residential bandwidth. **`studio001/tiktok-shop-best-sellers-scraper`** is a purpose-built **single-intent ranking engine** over TikTok Shop US Server-Side Rendered (SSR) routes (`/us/c/...` & `/us/k/...`) on `$0/GB` Datacenter proxies: it normalizes category IDs/slugs (or expands `["all"]` across all 28 US L1 verticals), applies commercial filters (`minSoldCount`, `maxPriceUsd`, `minRating`), computes estimated lifetime GMV (`price_usd * sold_count`) and velocity tiers (`viral`, `breakout`, `trending`, `emerging`, `early`), and outputs a clean, deterministically sorted leaderboard (`rank_position` `1..N`).

***

### Executive Table of Contents

1. [Why Dedicated Best Sellers Ranking Beats Raw Scrapers](#why-dedicated-best-sellers-ranking-beats-raw-scrapers)
2. [Supported US Categories & Ranking Modes](#supported-us-categories--ranking-modes)
3. [Pay-Per-Event (PPE) Pricing & Cost Estimator](#pay-per-event-ppe-pricing--cost-estimator)
4. [Quick Start & Input Examples](#quick-start--input-examples)
5. [Input Parameter Reference](#input-parameter-reference)
6. [Output Dataset Schema & Telemetry (`OUTPUT_METRICS`)](#output-dataset-schema--telemetry-output_metrics)
7. [Use as a Real-Time API or Native MCP Server (Standby)](#use-as-a-real-time-api-or-native-mcp-server-standby)
8. [Integrations: MCP, Agent Skill, n8n, Python, Node & cURL](#integrations-mcp-agent-skill-n8n-python-node--curl)
9. [Architecture, Retries & Anti-Bot Ethics](#architecture-retries--anti-bot-ethics)
10. [Frequently Asked Questions (FAQ)](#frequently-asked-questions-faq)
11. [High-ROI Multi-Actor Pipelines (Studio 001 Ecosystem)](#high-roi-multi-actor-pipelines-studio-001-ecosystem)

***

### Why Dedicated Best Sellers Ranking Beats Raw Scrapers

| Capability | **TikTok Shop Best Sellers (Studio 001)** | Generic Browser Top-Products Scrapers | Raw HTML Feed Scrapers |
| :--- | :--- | :--- | :--- |
| **Execution Footprint** | **`256 MB` RAM**, direct HTTP/2 SSR parser | `2,048–4,096 MB` Playwright / Chromium | Frequent timeout failures |
| **Proxy Cost Structure** | **Apify Datacenter (`$0/GB`)** default | Expensive Residential proxy burn | High block churn |
| **Start Initialization Fee** | **`$0.00005` one-time per run** | Heavy compute start fee | Unpredictable overhead |
| **Ranked Item Pricing** | **`$2.50 / 1K` (FREE) → `$1.80 / 1K` (GOLD)** | Higher per-result + CU + proxy cost | Billed even on duplicates |
| **Computed Commercial Metrics** | **`estimated_gmv_usd`, `discount_pct`, `sales_velocity_tier`, `rank_position`** | Raw price/sold strings only | Requires external post-processing |
| **Deterministic Leaderboard Sort** | **`top_selling`, `estimated_gmv`, `highest_discount`, `top_rated`** | Unsorted DOM order | Non-deterministic |
| **Multi-Category Deduplication** | **Built-in `deduplicateAcrossCategories`** | Emits duplicate SKUs across tabs | Manual cleanup needed |
| **Standby REST & Native MCP** | **`POST /api/run` & `/mcp` (`LIMITED_PERMISSIONS`)** | Batch queue cold starts only | Batch only |
| **Failed / Blocked Target Billing** | **`$0.00` item charge** on invalid targets or gates | Proxy & compute charged anyway | Unpredictable spend |

***

### Supported US Categories & Ranking Modes

#### 1. All 28 TikTok Shop US L1 Verticals (or `["all"]`)

Pass numeric category IDs (`"601450"`), L1 slugs (`"beauty-personal-care"`), full URLs (`"https://shop.tiktok.com/us/c/beauty-personal-care/601450"`), L2 subcategory URLs, or `["all"]` to sweep every US top-level vertical in parallel:

- **Beauty & Health:** `601450` (`beauty-personal-care`), `700645` (`health`)
- **Apparel & Accessories:** `601152` (`womenswear-underwear`), `824328` (`menswear-underwear`), `605248` (`fashion-accessories`), `601352` (`shoes`), `824584` (`luggage-bags`), `802184` (`kids-fashion`), `601303` (`modest-fashion`), `953224` (`jewelry-accessories-derivatives`)
- **Electronics & Hobbies:** `601739` (`phones-electronics`), `601755` (`computers-office-equipment`), `604206` (`toys-hobbies`), `951432` (`collectibles`), `801928` (`books-magazines-audio`)
- **Home, Kitchen & Pets:** `600001` (`home-supplies`), `600024` (`kitchenware`), `600154` (`textiles-soft-furnishings`), `600942` (`household-appliances`), `604453` (`furniture`), `604968` (`home-improvement`), `604579` (`tools-hardware`), `602118` (`pet-supplies`)
- **Lifestyle, Auto & Food:** `603014` (`sports-outdoor`), `605196` (`automotive-motorcycle`), `602284` (`baby-maternity`), `700437` (`food-beverages`), `856720` (`pre-owned`)

#### 2. Computed Best-Seller Intelligence

Every extracted product is enriched with deterministic commercial analytics before emission:

- **`estimated_gmv_usd`**: `round(price_usd * sold_count, 2)` — instant proxy for lifetime product revenue on TikTok Shop US.
- **`discount_pct`**: Validated percentage markdown computed from `original_price` vs `price_usd` when omitted upstream.
- **`sales_velocity_tier`**: Standardized commercial demand bracket:
  - `"viral"` (`sold_count >= 50,000`)
  - `"breakout"` (`10,000 <= sold_count < 50,000`)
  - `"trending"` (`1,000 <= sold_count < 10,000`)
  - `"emerging"` (`100 <= sold_count < 1,000`)
  - `"early"` (`sold_count < 100`)
- **`rank_position`**: Strict `1..N` integer rank assigned after cross-target deduplication and deterministic `sortBy` ordering (`top_selling`, `estimated_gmv`, `highest_discount`, `top_rated`).

***

### Pay-Per-Event (PPE) Pricing & Cost Estimator

This Actor uses transparent **Apify Pay-Per-Event (PPE)** billing over zero-surcharge Datacenter proxies (`$0/GB`). Filtered-out listings, invalid inputs, and blocked targets emit zero-charge diagnostics (`$0.00` `bestseller-scraped` fee).

#### Live Event Pricing Schedule

| Event Name | Trigger Condition | FREE | BRONZE | SILVER | GOLD | PLATINUM | DIAMOND |
| :--- | :--- | :---: | :---: | :---: | :---: | :---: | :---: |
| `apify-actor-start` | One-time run initialization fee | `$0.00005` | `$0.00005` | `$0.00005` | `$0.00005` | `$0.00005` | `$0.00005` |
| `bestseller-scraped` | Per ranked best-seller product emitted | `$0.0025` | `$0.0022` | `$0.0020` | **`$0.0018`** | `$0.0018` | `$0.0018` |

#### Monthly Budget & `$5.00` Free Tier Estimator (Including `$0.00005` Run Start Fee)

| Workload Scenario | Ranked Items | FREE Tier | BRONZE Tier | SILVER Tier | GOLD Tier | Capacity on `$5.00` |
| :--- | :---: | :---: | :---: | :---: | :---: | :---: |
| **Single Beauty Category Smoke (5 items)** | `5` | `$0.01255` | `$0.01105` | `$0.01005` | `$0.00905` | ~**398 runs** |
| **Daily Beauty Top 25 Leaderboard** | `25` | `$0.06255` | `$0.05505` | `$0.05005` | `$0.04505` | ~**2,000 products** |
| **5-Category Winner Scout (100 items)** | `100` | `$0.25005` | `$0.22005` | `$0.20005` | `$0.18005` | ~**20 sweeps** |
| **Full 28-Category US Market Sweep (~450 items)** | `450` | `$1.12505` | `$0.99005` | `$0.90005` | `$0.81005` | ~**4 full sweeps** |
| **High-Volume Price & GMV Index (1,000 items)** | `1,000` | `$2.50005` | `$2.20005` | `$2.00005` | **`$1.80005`** | `$1.80–$2.50 / 1K` |

> **Hard Spend Guardrail**: Pass `"maxTotalChargeUsd": 0.25` in any batch run or `/api/run` / `/mcp` request to halt cleanly before exceeding your budget ceiling.

***

### Quick Start & Input Examples

#### 1. Default Beauty & Personal Care Best Sellers (Top 25 by Sold Count)

```json
{
  "categories": ["601450"],
  "maxProductsPerCategory": 25,
  "sortBy": "top_selling",
  "proxyConfiguration": { "useApifyProxy": true }
}
```

#### 2. High-GMV Under-$35 Winning Product Discovery Across 4 Verticals

```json
{
  "categories": [
    "beauty-personal-care",
    "health",
    "kitchenware",
    "pet-supplies"
  ],
  "maxProductsPerCategory": 20,
  "sortBy": "estimated_gmv",
  "minSoldCount": 500,
  "maxPriceUsd": 35.0,
  "minRating": 4.3,
  "deduplicateAcrossCategories": true,
  "proxyConfiguration": { "useApifyProxy": true },
  "maxTotalChargeUsd": 0.25
}
```

#### 3. Keyword + Category Hybrid Flash-Deal Hunter (`highest_discount`)

```json
{
  "categories": ["601739"],
  "queries": ["wireless earbuds", "magsafe power bank"],
  "maxProductsPerCategory": 15,
  "sortBy": "highest_discount",
  "minSoldCount": 100,
  "minRating": 4.2,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

#### 4. Full US 28-Category Macro Leaderboard (`["all"]`)

```json
{
  "categories": ["all"],
  "maxProductsPerCategory": 15,
  "sortBy": "estimated_gmv",
  "maxConcurrency": 3,
  "proxyConfiguration": { "useApifyProxy": true },
  "maxTotalChargeUsd": 1.25
}
```

***

### Input Parameter Reference

| Field | Type | Default / Prefill | Constraints | Description |
| :--- | :--- | :--- | :--- | :--- |
| `categories` | `array<string>` | `["601450"]` | IDs, slugs, URLs, or `["all"]` | Target TikTok Shop US categories (`"601450"`, `"health"`, full `/us/c/...` URLs, or `"all"` for all 28 L1 verticals). |
| `queries` | `array<string>` | `[]` | Search phrases or `/us/k/...` URLs | Optional keyword queries ranked alongside or instead of categories. |
| `maxProductsPerCategory` | `integer` | `25` | `1` to `100` | Maximum ranked products kept per category or keyword target. |
| `sortBy` | `string` | `"top_selling"` | `top_selling`, `estimated_gmv`, `highest_discount`, `top_rated` | Deterministic sort order applied before emitting `rank_position` (`1..N`). |
| `minSoldCount` | `integer` | `0` | `>= 0` | Excludes items with fewer lifetime units sold than threshold. |
| `maxPriceUsd` | `number` | `0` | `>= 0` | Excludes items with `price_usd > maxPriceUsd` (`0` disables cap). |
| `minRating` | `number` | `0` | `0` to `5` | Excludes items with star rating below threshold (`0` disables filter). |
| `deduplicateAcrossCategories` | `boolean` | `true` | `true` / `false` | Deduplicates overlapping `product_id` entries across multiple categories/queries. |
| `maxConcurrency` | `integer` | `2` | `1` to `4` | Parallel HTTP/2 SSR fetch workers. |
| `proxyConfiguration` | `object` | `{"useApifyProxy": true}` | Apify Proxy config | Standard Datacenter proxy default (`$0/GB`) with bounded 1-shot US Residential fallback. |
| `maxTotalChargeUsd` | `number` | `null` | `>= 0` | Hard Pay-Per-Event USD budget guardrail. |

***

### Output Dataset Schema & Telemetry (`OUTPUT_METRICS`)

Every emitted record uses a clean, flat warehouse schema ready for Snowflake, BigQuery, Postgres, Google Sheets, or AI agent reasoning.

#### Dataset Record Fields

| Field | Type | Availability | Description |
| :--- | :--- | :--- | :--- |
| `record_type` | `string` | Always | `"bestseller_product"` for ranked winners, or `"bestseller_error"` (`$0` charge) on failed targets. |
| `status` | `string` | Always | `"ok"` on ranked items; `"error"` on failed/blocked targets. |
| `rank_position` | `integer \| null` | Ranked items | Deterministic `1..N` leaderboard rank ordered by `sortBy`. |
| `product_id` | `string` | Products | Unique TikTok Shop US product ID. |
| `title` | `string` | Products | Full merchandising product title. |
| `canonical_url` | `string` | Products | Clean canonical TikTok Shop US PDP URL (`https://shop.tiktok.com/us/pdp/...`). |
| `source_type` | `string` | Always | `"category"` or `"keyword"`. |
| `category_id` / `category_name` | `string \| null` | Categories | Numeric category ID and human-readable category name. |
| `category_path` | `array<string>` | Categories | Breadcrumb taxonomy hierarchy (`L1` → leaf). |
| `price_usd` / `sale_price` | `number \| null` | Products | Active US sale price in USD. |
| `original_price` | `number \| null` | Products | Original list/strike-through price in USD. |
| `discount_pct` | `number \| null` | Products | Discount percentage off original price (e.g. `35.0`). |
| `sold_count` | `integer \| null` | Products | Lifetime units sold reported on TikTok Shop US. |
| `estimated_gmv_usd` | `number \| null` | Products | Computed revenue estimate: `round(price_usd * sold_count, 2)`. |
| `sales_velocity_tier` | `string` | Products | `"viral"` (`>=50K`), `"breakout"` (`>=10K`), `"trending"` (`>=1K`), `"emerging"` (`>=100`), or `"early"`. |
| `rating` / `review_count` | `number` / `integer` | Products | Product star rating (`0.0–5.0`) and buyer review count. |
| `seller_id` / `shop_name` | `string \| null` | Products | Merchant seller ID and storefront display name. |
| `sku_id` / `images` | `string` / `array<string>` | Products | Default SKU ID and up to 3 CDN product image URLs. |
| `idempotency_key` | `string` | Always | Deterministic key (`ttsbs:<product_id>`) for idempotent warehouse upserts. |

#### Key-Value Store Telemetry (`OUTPUT_METRICS`)

Each batch run writes execution telemetry to `OUTPUT_METRICS`:

- `counts`: Exact event counters (`apify-actor-start`, `bestseller-scraped`)
- `blended_total_usd` / `bronze_total_usd`: Total PPE charges
- `sortBy`, `targetsRequested`, `targetsSucceeded`, `targetsFailedZeroCharge`
- `wire_bytes_in`, `requestCount`, `residentialFallbackUsed`, and computed `unit_economics_1k` (`net_margin_pct`).

***

### Use as a Real-Time API or Native MCP Server (Standby)

Query live TikTok Shop US best sellers synchronously with **zero batch container cold-start latency**:

- **Native MCP Endpoint (`LIMITED_PERMISSIONS`, `256 MB`):** `https://studio001--tiktok-shop-best-sellers-scraper.apify.actor/mcp` (`tools/list` exposes `scrape_tiktok_shop_bestsellers`)
- **Instant Standby REST Endpoint:** `POST https://studio001--tiktok-shop-best-sellers-scraper.apify.actor/api/run`

```bash
curl -X POST "https://studio001--tiktok-shop-best-sellers-scraper.apify.actor/api/run" \
  -H "Authorization: Bearer YOUR_APIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "categories": ["601450"],
    "maxProductsPerCategory": 10,
    "sortBy": "estimated_gmv",
    "minSoldCount": 500
  }'
```

***

### Integrations: MCP, Agent Skill, n8n, Python, Node & cURL

#### 1. Hosted Apify MCP Config (`https://mcp.apify.com`)

```json
{
  "mcpServers": {
    "tiktok-shop-bestsellers": {
      "url": "https://studio001--tiktok-shop-best-sellers-scraper.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

#### 2. AI Agent Skill Prompt Block

```markdown
#### Skill: TikTok Shop US Best Sellers & GMV Intelligence (`studio001/tiktok-shop-best-sellers-scraper`)
- **When to use**: User asks for top-selling TikTok Shop US products, category winners, estimated GMV leaders, viral products, or high-discount deals.
- **Recommended Safe Input**:
  - `categories`: e.g. `["601450"]` (Beauty), `["700645"]` (Health), `["601739"]` (Electronics), or `["all"]` for macro scan.
  - `sortBy`: `"estimated_gmv"` for revenue winners or `"top_selling"` for unit volume leaders.
  - `maxProductsPerCategory`: `10–25`.
  - `maxTotalChargeUsd`: `0.25`.
- **Reporting**: Cite `rank_position`, `title`, `$price_usd`, `discount_pct%`, `sold_count`, `$estimated_gmv_usd`, `sales_velocity_tier`, `shop_name`, and `canonical_url`.
```

#### 3. n8n & Make.com Automated Winning-Product Radar (No-Code Workflow)

1. Schedule trigger (`Daily 07:00 UTC`) → **Apify Run Actor** (`studio001/tiktok-shop-best-sellers-scraper`, `"categories": ["601450", "700645", "600024"]`, `"sortBy": "estimated_gmv"`, `"minSoldCount": 1000`, `"memory": 256`).
2. Read Dataset Items → Upsert into **Airtable / Notion / Google Sheets / Postgres** keyed by `idempotency_key` (`ttsbs:<product_id>`), triggering Slack alerts whenever `sales_velocity_tier` hits `"viral"` or `"breakout"`.
3. Grab ready-to-import workflows and client SDK templates at **[github.com/yeongjunyoo/studio001-apify-clients](https://github.com/yeongjunyoo/studio001-apify-clients)**.

#### 4. Python Client (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("studio001/tiktok-shop-best-sellers-scraper").call(
    run_input={
        "categories": ["601450", "700645"],
        "maxProductsPerCategory": 25,
        "sortBy": "estimated_gmv",
        "minSoldCount": 500,
        "maxPriceUsd": 50.0,
        "proxyConfiguration": {"useApifyProxy": True},
        "maxTotalChargeUsd": 0.25,
    },
    memory_mbytes=256,
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"#{item['rank_position']} [{item['sales_velocity_tier']}] {item['title']} | GMV=${item['estimated_gmv_usd']}")
```

#### 5. Node.js (`apify-client`)

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "YOUR_APIFY_API_TOKEN" });
const run = await client.actor("studio001/tiktok-shop-best-sellers-scraper").call({
  categories: ["beauty-personal-care"],
  maxProductsPerCategory: 20,
  sortBy: "top_selling",
  proxyConfiguration: { useApifyProxy: true },
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.slice(0, 5));
```

#### 6. cURL Synchronous Run Returning Dataset Items

```bash
curl -X POST "https://api.apify.com/v2/acts/studio001~tiktok-shop-best-sellers-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN&memory=256" \
  -H "Content-Type: application/json" \
  -d '{
    "categories": ["601450"],
    "maxProductsPerCategory": 10,
    "sortBy": "estimated_gmv",
    "proxyConfiguration": { "useApifyProxy": true }
  }'
```

***

### Architecture, Retries & Anti-Bot Ethics

1. **Direct SSR Hydration Extractor:** Parses `<script id="__MODERN_ROUTER_DATA__">` (`homepage_products` and `feed_list`) over HTTP/2 without launching Chromium or browser workers.
2. **Datacenter-First Session Rotation:** Uses Apify Datacenter proxies (`$0/GB`) by default with bounded `0.25–0.55s` jittered session rotation (`max_dc_attempts=3`) and at most one US Residential fallback if a route returns an empty shell.
3. **Strict CAPTCHA & WAF Respect:** Halts immediately on `waf_decision.is_high_risk: true` or CAPTCHA walls (`TikTokShopBlockedError`) without attempting bypasses, emitting a zero-charge diagnostic row (`$0.00`).
4. **Deterministic Post-Processing:** Computes `estimated_gmv_usd`, validates `discount_pct`, buckets `sales_velocity_tier`, deduplicates across targets, and assigns reproducible `rank_position` (`1..N`) with deterministic tie-breakers.

***

### Frequently Asked Questions (FAQ)

**Q: How is this different from `studio001/tiktok-shop-products-sellers-api` (#13)?**\
`tiktok-shop-products-sellers-api` is a multi-mode generalist (individual PDPs, reviews, SKUs, taxonomy). **`tiktok-shop-best-sellers-scraper` (#14)** is a dedicated category & niche leaderboard engine: it supports `"all"` 28 L1 category expansion, computes `estimated_gmv_usd` and `sales_velocity_tier`, enforces `maxPriceUsd`, deduplicates overlapping categories, and sorts deterministically by `sortBy` with `rank_position` (`1..N`) at lower PPE pricing (`$1.80–$2.50 / 1K`).

**Q: How accurate is `estimated_gmv_usd`?**\
It is calculated transparently as `round(price_usd * sold_count, 2)` using TikTok Shop US's live SSR sale price and reported lifetime `sold_count` — giving you an apples-to-apples revenue ranking signal across products and categories.

**Q: Can I inspect the winning seller's full storefront or deep SKU stock afterwards?**\
Yes — take any `seller_id` emitted by this Actor and pipe it directly into **`studio001/tiktok-shop-seller-store-scraper`** (`#15`), or pass `product_id` into **`studio001/tiktok-shop-products-sellers-api`** (`#13`).

**Q: Do I pay if a category or keyword is filtered out or fails?**\
No. Items failing `minSoldCount`, `maxPriceUsd`, or `minRating` are excluded before billing, and failed/blocked targets incur `$0.00` `bestseller-scraped` fees.

***

### High-ROI Multi-Actor Pipelines (Studio 001 Ecosystem)

Pair `studio001/tiktok-shop-best-sellers-scraper` with Studio 001's complete suite of lightweight (`128–256 MB` RAM) direct APIs (starter kits at [github.com/yeongjunyoo/studio001-apify-clients](https://github.com/yeongjunyoo/studio001-apify-clients)):

| Studio 001 Actor | Category | Core Capability | Apify Store URL |
| :--- | :--- | :--- | :--- |
| **TikTok Shop Seller Storefront & Catalog Scraper** | E-Commerce / Sellers | Full store catalog stats, shop GMV signals & optional PDP SKU stock | [apify.com/studio001/tiktok-shop-seller-store-scraper](https://apify.com/studio001/tiktok-shop-seller-store-scraper) |
| **TikTok Shop Products, Reviews & Sellers API** | E-Commerce / PDPs | Multi-mode PDP SKUs, buyer review samples & category taxonomy | [apify.com/studio001/tiktok-shop-products-sellers-api](https://apify.com/studio001/tiktok-shop-products-sellers-api) |
| **Google Trends Keyword & Trending Search Intel API** | SEO / Trends | Search velocity, breakout related queries, geo & daily trending RSS | [apify.com/studio001/google-trends-keyword-intel-api](https://apify.com/studio001/google-trends-keyword-intel-api) |
| **Google Hotels Multi-OTA Monitor** | Travel / Pricing | Multi-OTA hotel prices (Booking, Expedia, Agoda) via direct RPC | [apify.com/studio001/google-hotels-multi-ota-monitor](https://apify.com/studio001/google-hotels-multi-ota-monitor) |
| **YouTube Transcript & Chapters Pro API** | AI / Video | Timestamped Innertube transcripts, chapters & LLM Markdown | [apify.com/studio001/youtube-transcript-chapters-pro-api](https://apify.com/studio001/youtube-transcript-chapters-pro-api) |
| **Instagram Reels AI Transcript & Hook Extractor** | Social / AI | Reels metadata, audio transcripts & 3s viral hook analytics | [apify.com/studio001/instagram-reels-ai-transcript-hook-extractor](https://apify.com/studio001/instagram-reels-ai-transcript-hook-extractor) |
| **B2B Domain Email Finder & SMTP/MX Verifier** | Lead Gen | Domain email discovery + live DNS MX & SMTP deliverability verify | [apify.com/studio001/b2b-email-finder-smtp-mx-verifier](https://apify.com/studio001/b2b-email-finder-smtp-mx-verifier) |
| **Google Ads Transparency Direct-RPC** | Marketing / Ads | Advertiser IDs, TEXT/IMAGE/VIDEO ad creatives & landing URLs | [apify.com/studio001/google-ads-transparency-direct-rpc](https://apify.com/studio001/google-ads-transparency-direct-rpc) |
| **Naver Blog & Cafe Pro Scraper** | Korea / Social | Korean Naver Blog/Cafe consumer buzz & comment extraction | [apify.com/studio001/naver-blog-cafe-pro-scraper](https://apify.com/studio001/naver-blog-cafe-pro-scraper) |
| **OliveYoung Global & KR Beauty API** | E-Commerce / K-Beauty | Global USD & Korea KRW K-Beauty rankings, SKUs & reviews | [apify.com/studio001/oliveyoung-global-kr-beauty-api](https://apify.com/studio001/oliveyoung-global-kr-beauty-api) |
| **Coupang Search & Product Detail Pro API** | E-Commerce / Korea | Coupang Rocket Delivery SERP ranks, pricing & seller details | [apify.com/studio001/coupang-search-detail-pro-api](https://apify.com/studio001/coupang-search-detail-pro-api) |
| **ATS Jobs Direct API** | Jobs / Lead Gen | Greenhouse, Lever & Ashby structured career board JSON feeds | [apify.com/studio001/ats-jobs-direct-api](https://apify.com/studio001/ats-jobs-direct-api) |
| **YouTube Channel Search & Creator Discovery Pro API** | Creators / Marketing | Channel discovery, subscriber/view metrics & `@handle` lookup | [apify.com/studio001/youtube-channel-search-pro-api](https://apify.com/studio001/youtube-channel-search-pro-api) |
| **Similarweb Traffic & Channel Intel API** | Marketing / B2B | Domain monthly visits, ranks, traffic channels & competitors | [apify.com/studio001/similarweb-traffic-channel-intel-api](https://apify.com/studio001/similarweb-traffic-channel-intel-api) |
| **AI Search & AEO Brand Monitor** | AI / SEO | Google AI Overviews, Perplexity, ChatGPT & Gemini brand citations | [apify.com/studio001/ai-search-aeo-brand-monitor](https://apify.com/studio001/ai-search-aeo-brand-monitor) |

#### High-ROI Cross-Actor Discovery Workflows

1. **Best Seller → Seller Storefront Deep Dive:** Find top `estimated_gmv_usd` beauty products in **TikTok Shop Best Sellers** → pass winning `seller_id` values to [**TikTok Shop Seller Storefront & Catalog Scraper**](https://apify.com/studio001/tiktok-shop-seller-store-scraper) to audit the merchant's full SKU catalog and follower velocity.
2. **TikTok Viral Demand → Google Search Velocity Validation:** Validate whether breakout TikTok Shop product names are also surging on Google Search via [**Google Trends Keyword & Trending Search Intel API**](https://apify.com/studio001/google-trends-keyword-intel-api) and track AI search citations via [**AI Search & AEO Brand Monitor**](https://apify.com/studio001/ai-search-aeo-brand-monitor).
3. **K-Beauty Cross-Border Arbitrage:** Compare US TikTok Shop Beauty best sellers against Korean retail pricing in [**OliveYoung Global & KR Beauty API**](https://apify.com/studio001/oliveyoung-global-kr-beauty-api) and [**Coupang Search & Product Detail Pro API**](https://apify.com/studio001/coupang-search-detail-pro-api), plus B2B distributor outreach via [**B2B Domain Email Finder & SMTP/MX Verifier**](https://apify.com/studio001/b2b-email-finder-smtp-mx-verifier).

***

### Task Examples

Launch pre-configured zero-setup workflows directly from Apify Store:

- **[TikTok Shop US Beauty & Personal Care Best Sellers](https://apify.com/studio001/tiktok-shop-best-sellers-scraper/examples/tiktok-shop-us-beauty-bestsellers)** — Scrape top-selling TikTok Shop US beauty & skincare products with units sold and estimated GMV ($1.80/1K Gold).
- **[TikTok Shop US Top Estimated GMV Winning Products](https://apify.com/studio001/tiktok-shop-best-sellers-scraper/examples/tiktok-shop-top-gmv-products-us)** — Find high-GMV TikTok Shop US winning products sorted by estimated revenue across Beauty, Health & Electronics.
- **[TikTok Shop US Highest Discount & Flash Deals Tracker](https://apify.com/studio001/tiktok-shop-best-sellers-scraper/examples/tiktok-shop-highest-discount-deals)** — Track highest discount % and budget TikTok Shop US flash deals via zero-browser SSR extraction ($1.80/1K Gold).
- **[TikTok Shop US Winning Products by Keyword Search](https://apify.com/studio001/tiktok-shop-best-sellers-scraper/examples/tiktok-shop-keyword-winners-finder)** — Search TikTok Shop US keywords and rank winning SKUs by units sold and estimated GMV ($1.80/1K Gold, MCP ready).
- **[TikTok Shop US Top-Rated Health & Wellness Products](https://apify.com/studio001/tiktok-shop-best-sellers-scraper/examples/tiktok-shop-top-rated-health-items)** — Extract 4.5+ star TikTok Shop US health and supplement winners sorted by customer rating ($1.80/1K Gold).

***

### Custom Data Pipelines & Enterprise SLA

Need dedicated rate limits, custom dataset schemas, private webhook/S3/Snowflake delivery, high-volume volume discounts, or bespoke multi-Actor pipelines?

- **Direct Engineering Contact:** <studio001.kr@gmail.com>
- **Supported Delivery:** Managed Apify Standby MCP integrations, dedicated residential/unblocker routing, custom cron monitoring, and SLA-backed ETL connectors.

# Actor input Schema

## `categories` (type: `array`):

TikTok Shop US category IDs (e.g. '601450'), L1 slugs ('beauty-personal-care', 'health', 'phones-electronics'), full /us/c/... URLs, or \['all'] to scan all 28 L1 categories.

## `queries` (type: `array`):

Optional TikTok Shop US search keywords to rank alongside or instead of categories (e.g. 'korean skincare', 'lip stain').

## `maxProductsPerCategory` (type: `integer`):

Maximum ranked best sellers retained per category or keyword target (1 to 100).

## `sortBy` (type: `string`):

Deterministic ranking criterion applied before emitting rank_position (1..N).

## `minSoldCount` (type: `integer`):

Exclude products with fewer lifetime units sold than this threshold (0 disables filter).

## `maxPriceUsd` (type: `number`):

Exclude products priced above this USD threshold (0 disables filter).

## `minRating` (type: `number`):

Exclude products below this star rating (0 to 5; 0 disables filter).

## `deduplicateAcrossCategories` (type: `boolean`):

When scanning multiple categories and/or queries, deduplicate repeating product_id entries before assigning final rank_position.

## `maxConcurrency` (type: `integer`):

Maximum parallel HTTP/2 SSR fetches (1 to 4).

## `proxyConfiguration` (type: `object`):

Defaults to Apify Datacenter proxies (useApifyProxy: true) for fast, zero-surcharge TikTok Shop SSR extraction.

## `maxTotalChargeUsd` (type: `number`):

Optional hard Pay-Per-Event USD limit; halts extraction gracefully before overspending.

## Actor input object example

```json
{
  "categories": [
    "601450"
  ],
  "queries": [],
  "maxProductsPerCategory": 25,
  "sortBy": "top_selling",
  "minSoldCount": 0,
  "maxPriceUsd": 0,
  "minRating": 0,
  "deduplicateAcrossCategories": true,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Normalized, ranked JSON records for TikTok Shop US best-selling products.

## `metrics` (type: `string`):

Wire bytes, zero-charge error counts, proxy mode, and Pay-Per-Event unit economics.

# 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 = {
    "categories": [
        "601450"
    ],
    "maxProductsPerCategory": 25,
    "sortBy": "top_selling",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio001/tiktok-shop-best-sellers-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 = {
    "categories": ["601450"],
    "maxProductsPerCategory": 25,
    "sortBy": "top_selling",
    "proxyConfiguration": { "useApifyProxy": True },
}

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

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

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

```

## CLI example

```bash
echo '{
  "categories": [
    "601450"
  ],
  "maxProductsPerCategory": 25,
  "sortBy": "top_selling",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio001/tiktok-shop-best-sellers-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio001/tiktok-shop-best-sellers-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0TaMbbl5enJLIQazS/builds/7PNgPjKJC7geGC9Ux/openapi.json
