# TikTok Shop Product Search — Products, Prices & Sold Counts (`steadyfetch/tiktok-shop-product-search`) Actor

TikTok Shop product search, priced per product, no login, no cookies: type a keyword and get one row per product — title, price and original price, sold count, rating, reviews, shop, category, image and link. Re-runs show how many sold since your last run.

- **URL**: https://apify.com/steadyfetch/tiktok-shop-product-search.md
- **Developed by:** [Steadyfetch Team](https://apify.com/steadyfetch) (community)
- **Categories:** E-commerce, Social media, Automation
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 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/actors/running/actors-in-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 Product Search — Products, Prices & Sold Counts

**Type a keyword and get one row per TikTok Shop product: title, price and original price, sold count, rating, review count, shop, category, image and product link. No login, no cookies, no start fee — from $1.20 per 1,000 products, and a re-run tells you how many of each product sold since your last run.**

Put one or more search phrases in the list ("wireless earbuds", "phone case") and the actor returns the products TikTok Shop shows for each, in TikTok Shop's own order, about 30 at a time. Built for sellers, dropshippers and product researchers who want the list as data, and want to watch it move.

**Using an AI agent?** Pin this actor in Apify's MCP server with one link: `https://mcp.apify.com?tools=steadyfetch/tiktok-shop-product-search`

- **Actor id:** `steadyfetch/tiktok-shop-product-search`
- **Input:** `{ "keywords": ["wireless earbuds"], "maxResults": 50 }`
- **Cap the bill:** set `maxTotalChargeUsd` on the run (a run option, not Actor input), e.g. `1.00` — the run stops when it reaches it.
- **Price:** from $0.0012 per product ($0.002 on the Apify free plan); a page that brings fewer products than $0.0055 is worth is billed one $0.0055 page check instead. Full table below.
- **How often it changes:** prices and sold counts on TikTok Shop move every day. Re-run daily or weekly on the same keywords: each product you had before comes back with `soldSinceLastRun`.

*Unofficial, not affiliated with TikTok.*

### What you get

One row per product:

| Column | What it holds |
|---|---|
| `productId` · `productUrl` | the product's id and its TikTok Shop page |
| `title` | the product's title as the shop lists it |
| `price` · `currency` | the price shown in the search, as a number, and its currency (USD) |
| `originalPrice` · `discountPercent` | the price before a markdown and the discount, when TikTok Shop shows one (empty otherwise) |
| `soldCount` | TikTok Shop's displayed sold figure for the product (empty on a new listing that shows none) |
| `soldSinceLastRun` · `lastRunAt` | how much that figure rose since this product was last delivered to your account for the same keyword, and when that was — empty the first time |
| `rating` · `reviewCount` | the star rating (0–5) and the number of reviews, when shown |
| `shopName` · `shopId` | the shop that sells it |
| `category` | TikTok Shop's category path, top level first ("Phones & Electronics > Audio & Video > …"), when shown — about a third of products carry one |
| `imageUrl` | the product's main image |
| `keyword` · `rank` · `searchPage` | what you searched, and the product's place in TikTok Shop's list |
| `seenBefore` | `true` when your account first bought this product for this keyword in the last 90 days |

Every row also carries `charged`, `chargedEvents`, `status`, `retryable` and `statusReason`, so you can reconcile your bill from the dataset itself. The last row (`run_summary`) is the receipt. **Shops only, no people:** the creators of promoting videos are never copied.

**About the sold figure.** `soldCount` is the number TikTok Shop itself shows, and it is often rounded or recounted by TikTok, so treat it as a trend, not an invoice. `soldSinceLastRun` is the rise in that shown number; when the shown number goes down or is missing it is left empty, never negative.

### How to use it

1. Put search phrases in **Keywords**, one per line, exactly as you would type them into TikTok Shop's search. Up to 50 keywords per run.
2. Set **Max products per keyword** and press Start.
3. Run it again later on the same keywords (or schedule it): every product you had before carries `soldSinceLastRun`.

Refused before anything is read, and never charged: a pasted link (a product page, a shop page, any other address) and a value with no letters or numbers. **Have a product link?** Get its affiliate videos and what they say with [TikTok Shop Videos Scraper — Affiliate Video Transcripts](https://apify.com/steadyfetch/tiktok-shop-video-scripts-scraper).

**US shop only.** One keyword is read to at most 600 products (20 pages) per run; most lists end sooner.

### Pricing

Pay per result, all-inclusive (no platform usage on top), no start fee:

| Event | Apify Free plan | Bronze | Silver | Gold and up |
|---|---|---|---|---|
| Product (one delivered product) | $0.002 | $0.0017 | $0.0015 | $0.0012 |
| Page check | $0.0055 | $0.0055 | $0.0055 | $0.0055 |

That is $1.20 per 1,000 products at Gold.

**The page check.** Each page of about 30 products is read whole, whatever it returns. A page bills **either** its products **or** one check — whichever is more — never both. A full page of 30 products at $0.0012 is $0.036 and pays no check. A page with fewer products than one check is worth is billed one $0.0055 check on its own row, and its rows say `charged: false`. That includes **the empty page that ends a list** (TikTok Shop shows no total, so the end is found by reading one page past it) and **a keyword TikTok Shop has no products for**.

Examples: 50 products of one keyword at Gold = $0.06. A keyword with 57 products asked for 100 = 57 × $0.0012 + one check = $0.074. The same 50 products re-run tomorrow = $0.06 again, now with `soldSinceLastRun` on each.

### Good to know

- **Re-runs return the list again, charged.** By default ("Only products I don't have yet" off) a re-run delivers every product with today's price and sold count, and charges it — it is a fresh reading. A product your account had before carries `soldSinceLastRun`, and one it first bought in the last 90 days is also marked `seenBefore: true`.
- **Only new products.** Turn "Only products I don't have yet" on to skip, without charge, products your account first bought for the same keyword in the last 90 days. A re-run then stops after 3 pages in a row with nothing new (`maxEmptyPages`, up to 20), so it costs at most 3 page checks ($0.0165).
- **Your memory lives in your account:** the list of products delivered to you and their last sold figures sit in a key-value store in your own Apify account (`tiktok-shop-account`). If the run's API token cannot open stores, the run still works, every product reads as new, and a row says so.
- **Pages vary:** a page can hold 5 or 40 products; a short page is not the end of the list. A product can appear on two pages; it is delivered once.
- **How long it takes:** a page takes 3–6 seconds.
- **A time limit ends the collecting, never the delivering**: rows already read are delivered, and the receipt says which limit stopped the run.
- **Paused for now:** if collection on this actor is paused, the rest of a keyword ships as one uncharged `try_again` row — run the same keyword again later.
- **Free plan:** on the Apify free plan a run reads up to 25 pages (about 700 products) per 24 hours; the row says when it resets. Paid plans have no daily allowance.
- **Standby endpoint:** one keyword is also available as one HTTP request (`GET /?keyword=wireless%20earbuds`), up to 56 products a request (28 on the free plan), at the same prices. The endpoint does not use your account memory, so `soldSinceLastRun` is always empty there.
- **A bare Start** (nothing named) returns 10 dated sample products for "wireless earbuds" and charges nothing.

### Support

Questions, a keyword that returns something odd, or a column you need: open an issue on the Issues tab and it will be looked at.

If it earned its keep, a rating helps other buyers find it, and saving the actor keeps it one click away.

# Changelog

This Actor's version history is a separate document: https://apify.com/steadyfetch/tiktok-shop-product-search/changelog.md

# Actor input Schema

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

One search phrase per line, exactly as you would type it into TikTok Shop's search ("wireless earbuds", "sourdough bread"). TikTok Shop answers every phrase with its own matches, in its own order (rank). US shop only. Up to 50 keywords per run. A pasted link gets its own uncharged row — have a single product's link? The TikTok Shop Video Scripts actor takes product links.

## `maxResults` (type: `integer`):

The most products to return for each keyword. A page carries about 30 products; one keyword is read to at most 600 products (20 pages) per run, and most lists end sooner — the empty page that ends a list is billed one page check. A page that brings fewer products than one page check is worth is billed one check instead of per product.

## `onlyNew` (type: `boolean`):

Off (default): every run returns the keyword's products with today's price and sold count, each charged, and a product your account first bought in the last 90 days carries soldSinceLastRun (the change in TikTok Shop's sold figure since then) and seenBefore: true. On: products your account first bought for the same keyword in the last 90 days are skipped and not charged, so a scheduled run returns only products new to the list (a page of nothing new bills one page check).

## `maxEmptyPages` (type: `integer`):

With "Only products I don't have yet" on: a keyword stops after this many pages in a row that bring no new product, so a re-run that finds nothing new costs at most this many page checks. Default 3; up to 20.

## `maxRunSeconds` (type: `integer`):

Stop collecting after this many seconds. Products already collected are still delivered. Leave empty for no limit beyond the run timeout.

## Actor input object example

```json
{
  "maxResults": 50,
  "onlyNew": false,
  "maxEmptyPages": 3
}
```

# Actor output Schema

## `rows` (type: `string`):

One row per TikTok Shop product of each keyword you named: the keyword, its rank in TikTok Shop's list, product id and link, title, price, original price and discount (when TikTok Shop shows a markdown), currency, sold count (TikTok Shop's displayed figure, often rounded), soldSinceLastRun (the change since this product was last delivered to your account for the keyword; empty the first time), rating, review count, shop name and id, category path and image link. Every row carries `charged`, `chargedEvents` and `status`, so the invoice reconciles from the dataset itself. A product row is charged once, as a `product`. A page that brings fewer products than one page check is worth (a short page, the empty page that ends a list, a keyword with no products, a page of products your account bought in the last 90 days with onlyNew on) is billed one `page-check` on its own row instead, and its rows say charged: false.

## `misses` (type: `string`):

One uncharged row for each keyword that returned less than you asked for, saying why: `no_data` (TikTok Shop lists fewer products than your limit), `skipped.all_repeat` (onlyNew on: several pages in a row held only products your account bought in the last 90 days — raise "maxEmptyPages" to look further), `skipped.page_cap` (one keyword is read to at most 20 pages per run), `input_error` (the entry is a link or not a search phrase — the row names the fix), `feed_unavailable` (TikTok Shop did not answer — please re-run), `try_again` (collection on this actor is paused for now — run the same keyword again later), `limit_reached` (this run reached its collection limit — the row gives the next step), `skipped_max_items` / `skipped_budget` / `skipped_deadline` (your own limit, maximum charge or the run clock stopped it first) and `skipped.free_plan_allowance` (Apify free plan only: the plan's daily allowance on this actor; the row names the reset time).

## `summary` (type: `string`):

The run's receipt: products delivered, what was asked for, pages read, products delivered again from an earlier run, products skipped because your account bought them in the last 90 days, the charged events and what stopped the run. Uncharged.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyfetch/tiktok-shop-product-search").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("steadyfetch/tiktok-shop-product-search").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 '{}' |
apify call steadyfetch/tiktok-shop-product-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyfetch/tiktok-shop-product-search"
        }
    }
}
```

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/Scy3E8gcyVFXDcu08/builds/LidYk1rHpAhnd39Dg/openapi.json
