# TikTok Shop Product API — Sales, Revenue & Creators (`blueskyscraper/tiktok-shop-product-api`) Actor

Read any TikTok Shop product by keyword or link and get what the storefront hides: units sold, revenue split across videos, lives and the shop, commission rate and the creators promoting it. Free plan returns one complete row so you can see the exact shape before you pay.

- **URL**: https://apify.com/blueskyscraper/tiktok-shop-product-api.md
- **Developed by:** [BlueskyScraper](https://apify.com/blueskyscraper) (community)
- **Categories:** E-commerce, Social media
- **Features:** Limited permissions
- **Stats:** 8 total users, 4 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.80 / 1,000 product from the tiktok shop storefronts

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 API** attaches the sales figures to **every single product** — guaranteed, not as a fallback. Point it at a keyword, a category, the best-seller ranking, a store or a product link, and each row comes back as the storefront card **plus** the money behind it.

**What only this Actor guarantees**

| | |
| --- | --- |
| **Revenue, and where it came from** | total revenue, and the split between creator videos, live streams and the shop window |
| **Affiliate commission rate** | what the product pays creators — the number that decides whether it is worth promoting |
| **Creator count** | how many creators are pushing it right now |
| **Launch date and price range** | when it was listed, and the min/max across variants |
| **Region-locked products still arrive** | TikTok hides some products from some countries; here they come through the paid source instead of an error row |

Every such row carries `source: "paid-analytics"`, so you can tell at a glance which rows cost the analytics price.

**$25 per 1,000 products with analytics** ($0.025 a row, down to $0.0175 on higher Apify plans) — the **cheapest per-product analytics** we sell: [TikTok Shop Top Products](https://apify.com/lergassy/tiktok-shop-top-products-scraper) charges $0.04 for the same vendor figures. A product with no sales is billed as a plain storefront row at $0.004 instead. **One complete row is free on the Apify Free plan.**

**Pick a different door when:**

- you only need the **storefront card** — [TikTok Shop Scraper](https://apify.com/lergassy/tiktok-shop-scraper) at $0.004 a row buys the analytics only when TikTok refuses a product outright;
- you need **day-by-day sales pace** rather than vendor estimates — [TikTok Shop Sales Tracker](https://apify.com/lergassy/tiktok-shop-sales-tracker) measures it from our own daily history;
- you want to **browse the ranking by revenue, growth or commission** with filters on those figures — that is [TikTok Shop Top Products](https://apify.com/lergassy/tiktok-shop-top-products-scraper).

### Why this Actor exists

We already publish [TikTok Shop Scraper](https://apify.com/lergassy/tiktok-shop-scraper) — same collection engine, $4 per 1,000 products. There, the paid analytics source is a **fallback**: it is used only when TikTok Shop refuses a product for every region we try.

Here it is **always on**. If what you need is the sales data rather than the product card, this Actor buys it for every product, and the price says so from the first run. If you only need the card, the cheaper Actor is the right one — we would rather say that than sell you the expensive one twice.

### What one row contains

**From the TikTok Shop storefront** — title, price, original price and discount, rating, review count, units sold, variants with stock, shipping fee and days, category path, images, shop name, shop rating, shop units sold and followers.

**From the paid analytics source** — the part you cannot get by scraping:

| Field | What it is |
| --- | --- |
| `revenue` | total revenue of the product, USD |
| `revenueFromVideo` | how much of it came from creator videos |
| `revenueFromLive` | how much came from live streams |
| `revenueFromMall` | how much came from the shop page itself |
| `salesVolume` | units sold |
| `commissionRate` | commission the product pays creators |
| `creatorCount` | how many creators promote it |
| `videoCount`, `liveCount` | how many promo videos and lives it has |
| `launchDate` | when the product was listed |
| `priceMin`, `priceMax` | price range across variants |
| `deliveryType` | fulfilment type |

Every such row carries `source: "paid-analytics"` so you can tell at a glance which rows cost the analytics price.

**Region-locked products still arrive.** TikTok Shop hides some products from some countries entirely. Those come back through the paid source instead of an error row.

### What you can ask for

| Input | Meaning |
| --- | --- |
| `searchQueries` | keywords, e.g. `["air fryer"]` |
| `startUrls` | product, category, store or search links |
| `bestSellers` | take the best-seller ranking instead of a search |
| `country` | shop country, `US` by default |
| `maxProductsPerSource` | how many products per keyword or link (30 by default) |
| `sortBy` | relevance, units sold, revenue, rating or price |
| `includeCreators` | add the creators promoting each product, with followers and bio e-mail |
| `maxReviewsPerProduct` | add buyer reviews: stars, text, date, photos, variant |
| `minSoldCount`, `minPrice`, `maxPrice`, `minRating` | filter before anything is charged |

### What it costs

| Event | Price on the Free plan | On higher plans |
| --- | --- | --- |
| Run started | $0.001 | $0.0007 |
| **Product with sales analytics** | **$0.025** | $0.0175 |
| Product read from the storefront only | $0.004 | $0.0028 |
| Creator promoting a product | $0.004 | $0.0028 |
| Buyer review | $0.0015 | $0.00105 |

**A product with no sales is not charged the analytics price.** If TikTok Shop shows zero units sold, we do not even ask the paid source; if the source has a card but reports no sales in its window, the row still arrives — with `analytics: "no-sales-in-window"` and the money fields at zero — and is billed as a storefront row at $0.004. You pay $0.025 only for a product that actually sold something.

Products filtered out by your own `minPrice`, `minRating` or `minSoldCount` are **never charged**. Rows that could not be read are returned as free notice rows — you can filter them out with `type != "notice"`.

Set `maxTotalChargeUsd` on the run if you want a hard ceiling. The Actor stops cleanly when it reaches it and tells you in the run summary what it delivered.

### Honest limits

- Products TikTok Shop hides from the storefront still come back, from TikTok Shop sales analytics: units sold and revenue for 7, 28 and 90 days, creators and commission — but without the video / live / shop revenue split.
- The analytics source refreshes **daily**, not live. A product listed in the last day or two may have no analytics card yet; the row still arrives, with the storefront fields filled and the money fields empty.
- Revenue and units are the analytics provider's estimates, not TikTok's own books. They are the same numbers TikTok Shop research tools sell by subscription.
- Reviews come from the storefront and are capped by what TikTok Shop shows publicly.
- No login and no proxy setup on your side.

### Use it from anywhere

Apify console, the API, a scheduler, a spreadsheet, n8n, Make, or an AI agent through the Apify MCP server. Output is plain rows: JSON, CSV, Excel or a direct dataset link.

### Support

Something returned less than you expected, or a field looks wrong? Open an issue on the Actor page with the run id — runs are kept, and we read the actual run rather than guess.

# Changelog

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

# Actor input Schema

## `searchQueries` (type: `array`):

Give this, <b>Start URLs</b> or <b>Best sellers</b>. Product keywords as a shopper would type them — <b>air fryer</b>, <b>phone case</b>, <b>protein powder</b>. Each keyword is one source; up to <b>Max products per source</b> rows each. Keyword search works on TikTok Shop US. When a keyword runs out before the limit, the run widens to TikTok's related searches and category (see foundVia).

## `startUrls` (type: `array`):

Give this, <b>Search keywords</b> or <b>Best sellers</b>. TikTok Shop links: product (<code>/pdp/…</code>), store (<code>/store/…</code>), category (<code>/c/…</code>), search (<code>/s?q=…</code>) or best sellers (<code>/events/ranking-list</code>). Both <code>shop.tiktok.com/us/…</code> and <code>www.tiktok.com/shop/…</code> work. The country is taken from the link: US, UK, Thailand, Malaysia, Singapore, Philippines and Vietnam shops are supported.

## `bestSellers` (type: `boolean`):

Add TikTok Shop's own best-seller ranking ("Trending Now: Top Best Sellers") for the chosen country — the most sold products right now, up to Max products per source.

## `country` (type: `string`):

TikTok Shop market for keywords and best sellers. Keyword search and best sellers exist on the US shop; for the UK and Southeast Asia (Thailand, Malaysia, Singapore, Philippines, Vietnam) use category, store or product URLs. Links carry their own country.

## `maxProductsPerSource` (type: `integer`):

Upper limit of product rows from each keyword, category, store or ranking. Products dropped by filters and duplicates are not charged.

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

Any order other than TikTok's reads deeper into the list (up to 5× your limit) and returns the top products by this measure. Last 7 / 30 days come from our daily sales history; products we have not tracked yet go last.

## `productDetails` (type: `boolean`):

Open every product page: variants with stock, total stock, min/max price, rating breakdown 1–5, description, specifications, all images, shipping fee and delivery days, category path, latest reviews and shop stats (shop units sold, followers, rating). Included in the product price.

## `includeCreators` (type: `boolean`):

Adds one creator row per TikTok creator whose videos sell the products: username, promo videos with views and likes, "earns commission" flag, promoted products. Product rows get creatorCount and creatorVideoViews. Each creator row is charged as a creator.

## `creatorProfiles` (type: `boolean`):

With creators on: add followers, total likes, video count, bio, bio link, e-mail in bio and verified flag from each creator's TikTok profile. No extra charge.

## `maxCreatorsPerProduct` (type: `integer`):

How many creators to take from each product's video block (TikTok shows up to ~20 videos per product).

## `maxReviewsPerProduct` (type: `integer`):

0 = off. Adds one row per buyer review of each product: star rating, text, date, photos, variant bought, verified-purchase flag and reviewer. Up to 25,000 per product (TikTok shows about 5,000 per order and filter; above that the run walks every star rating, both orders, photo and verified filters and drops duplicates). TikTok Shop US and UK products. Each review row is charged as a review.

## `reviewsSort` (type: `string`):

Newest first is the one to schedule for tracking new reviews.

## `reviewsFilter` (type: `string`):

Pick one star rating to read complaints (1–2 stars) or praise (5 stars) in depth.

## `trackSales` (type: `boolean`):

Also remembers each product's units sold in your own account (key-value store <code>tiktok-shop-sales-history</code>) and adds soldSinceLastCheck and dailySalesEstimate from your second run on. Daily sales for the last 7 / 30 days (sold7d, sold30d) come from our shared history and do not need this.

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

Skip products with fewer units sold. Skipped products are free.

## `minPrice` (type: `integer`):

Skip products cheaper than this, in the market's currency (USD, GBP, THB, MYR, SGD, PHP, VND). 0 = no floor.

## `maxPrice` (type: `integer`):

Skip products more expensive than this, in the market's currency. 0 = no ceiling.

## `minRating` (type: `integer`):

Skip products rated below this (1–5). 0 = keep all, including products without reviews.

## `concurrency` (type: `integer`):

How many product pages to open at the same time.

## Actor input object example

```json
{
  "searchQueries": [
    "air fryer"
  ],
  "bestSellers": false,
  "country": "US",
  "maxProductsPerSource": 30,
  "sortBy": "relevance",
  "productDetails": true,
  "includeCreators": false,
  "creatorProfiles": true,
  "maxCreatorsPerProduct": 10,
  "maxReviewsPerProduct": 0,
  "reviewsSort": "newest",
  "reviewsFilter": "all",
  "trackSales": true,
  "minSoldCount": 0,
  "minPrice": 0,
  "maxPrice": 0,
  "minRating": 0,
  "concurrency": 5
}
```

# Actor output Schema

## `products` (type: `string`):

One row per TikTok Shop product: price, discount, units sold, estimated revenue, rating, variants with stock, shipping, shop stats and sales since the previous run.

## `creators` (type: `string`):

One row per creator promoting the products: followers, promo videos with views and likes, commission flag and promoted products. Present when creators are on.

## `reviews` (type: `string`):

One row per buyer review: stars, text, date, photos, variant, verified purchase. Present when full reviews are on.

## `allRows` (type: `string`):

Every row of the run, products, creators, reviews and notices, in one list; the type field tells them apart.

## `runStats` (type: `string`):

JSON counters for the run: rows delivered, filtered out, duplicates, errors and request statistics.

# 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 = {
    "searchQueries": [
        "air fryer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("blueskyscraper/tiktok-shop-product-api").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 = { "searchQueries": ["air fryer"] }

# Run the Actor and wait for it to finish
run = client.actor("blueskyscraper/tiktok-shop-product-api").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 '{
  "searchQueries": [
    "air fryer"
  ]
}' |
apify call blueskyscraper/tiktok-shop-product-api --silent --output-dataset

```

## MCP server setup

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

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/krRbYPUMnoMZQAqcC/builds/qsMmR91OGaHNVWFKK/openapi.json
