# TikTok Shop Category Products Scraper (`thenetaji/tiktok-shop-category-products-scraper`) Actor

Export the products in any TikTok Shop category. Paste a category link and get each listing with its price, star rating, units sold, brand, and variants — useful for sizing a niche or tracking what a category is pushing. Turn on product details to add the full page to each row.

- **URL**: https://apify.com/thenetaji/tiktok-shop-category-products-scraper.md
- **Developed by:** [The Netaji](https://apify.com/thenetaji) (community)
- **Categories:** E-commerce, Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 20.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.19 / 1,000 results

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 web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Category Products Scraper

Export the products in any TikTok Shop category. Paste a category link and every listing comes back with its price, star rating, units sold, brand, and variants — enough to size a niche, watch what a category is pushing, or build a product feed from it.

```json
{
  "category_id": "https://shop.tiktok.com/us/c/category/601450",
  "region": "US",
  "maxItems": 100,
  "enrichProductDetails": false
}
```

### Category input

`category_id` is required and takes either a category page link (`https://shop.tiktok.com/<region>/c/category/<id>`) or the bare numeric ID. A category *name* is not accepted — open the category in TikTok Shop and paste its link. `region` defaults to `US` and selects the storefront browsed — `US`, `GB`, `SG`, `MY`, `PH`, `TH`, or `VN`; Indonesia is not offered, since its TikTok Shop storefront moved to Tokopedia and is not covered. `maxItems` defaults to `100` and bounds the number of products saved; `0` removes the bound. `enrichProductDetails` defaults to `false` and is described under **Full product detail** below.

### Result fields

`product_id`, `title`, `category_id`, and `category_name` identify the row; `category_id` and `category_name` are attached to every product from the category lookup itself, not read per-product. `image`, `image_url`, and `transparent_image` carry the product image in TikTok's raw object form, a convenience first URL, and a transparent-background variant when one exists. `product_price_info`, `rate_info`, and `sold_info` carry the formatted price, star score and review count, and units sold. `seller_info` is a short seller summary; `brand_info` names the product's brand when TikTok records one — present on category and seller listings, not on search results. `sku_info` lists every purchasable variant, and `product_marketing_info` lists promotion badges shown on the card.

```json
{
  "product_id": "1729410110500540783",
  "title": "Natural Sant Onion, Rosemary and Biotin Shampoo & Treatment (16 Fl Oz/500 ml) Conditioning Restorative",
  "category_id": "https://shop.tiktok.com/us/c/category/601450",
  "category_name": "Beauty & Personal Care",
  "product_price_info": { "currency_name": "USD", "sale_price_format": "24.30" },
  "rate_info": { "score": 4.6, "review_count": "58630" },
  "sold_info": { "sold_count": 631740 },
  "brand_info": { "brand_name": "Natural Sant" }
}
```

This is a trimmed, live-verified result from category `601450` (Beauty & Personal Care); `product_price_info` and `sku_info` each carry more fields than shown here.

### Full product detail

A listing row carries what the product card shows. The description, the complete variant matrix, the shop's own profile and a page of reviews with the star breakdown only exist on the product's own page. Set `enrichProductDetails` to `true` and each saved row gains `product_info`, `shop_info`, `review_info`, `categories`, `promotion_tag`, and the whole `product_detail` record, plus the product's real `name` and `seller_id`.

It costs one extra request per product, so a 500-product run is 500 extra requests — leave it off for a first pass, then re-run with it on for the products worth the detail. A product whose detail page cannot be read keeps its listing row and is not charged for.

### How many results you get

The Actor asks for as many products as `maxItems` wants, up to 150 in a single request — the Actor asks for more while telling TikTok what it already has, so a 100-result run is normally one request.

That top-up is sampling, not ordered paging: this surface randomizes hard, and two independent calls have returned no shared products at all out of 20. The same `maxItems` twice will not return the same set. Past 150 the Actor asks again, which does keep surfacing new products in practice — four repeated calls during verification returned 65 distinct products with no overlap — but nothing guarantees it. Already-seen `product_id`s are never saved twice within a run, and the run stops once two requests in a row add nothing new. A small category can therefore return fewer products than `maxItems`, and a larger one is not fully reproducible between runs.

### Related Actors

For a single product's full detail, use the [TikTok Shop Product Scraper](https://apify.com/thenetaji/tiktok-shop-product-scraper). For a keyword search instead of browsing by category, use the [TikTok Shop Search Scraper](https://apify.com/thenetaji/tiktok-shop-search-scraper). For one seller's storefront profile or full catalog, use the [TikTok Shop Seller Info Scraper](https://apify.com/thenetaji/tiktok-shop-seller-info-scraper) or the [TikTok Shop Seller Products Scraper](https://apify.com/thenetaji/tiktok-shop-seller-products-scraper).

# Actor input Schema

## `category_id` (type: `string`):

A TikTok Shop category page link, or a category ID.

## `region` (type: `string`):

Which TikTok Shop storefront to read. This changes the products, prices, and currency you get back — not just the display language.

## `maxItems` (type: `integer`):

Maximum number of products to save. Set 0 for no limit.

## `enrichProductDetails` (type: `boolean`):

Add the full product page to every row — description, all variants, shop profile, a page of reviews with the star breakdown, and the category path. This makes one extra request per product.

## Actor input object example

```json
{
  "category_id": "601450",
  "region": "US",
  "maxItems": 20,
  "enrichProductDetails": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

All records scraped by this run

# 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 = {
    "category_id": "https://shop.tiktok.com/us/c/category/601450",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/tiktok-shop-category-products-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 = {
    "category_id": "https://shop.tiktok.com/us/c/category/601450",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/tiktok-shop-category-products-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 '{
  "category_id": "https://shop.tiktok.com/us/c/category/601450",
  "maxItems": 20
}' |
apify call thenetaji/tiktok-shop-category-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thenetaji/tiktok-shop-category-products-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/IAM2fZBsUx4dddsWg/builds/B21ZvI7KosIvtZctB/openapi.json
