# TikTok Shop Category Trends: Daily Revenue & Units (`memo23/tiktok-shop-category-trends`) Actor

TikTok Shop Category Trends: daily units sold and revenue for a category in 15 markets. One row per day, in US dollars, with the change from the day before. A name such as Skincare, or any category id. Compare up to five categories in one run, across as many as 31 days.

- **URL**: https://apify.com/memo23/tiktok-shop-category-trends.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** E-commerce, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 days

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 Category Trends: Daily Revenue & Units

**See whether a TikTok Shop category is growing.** One row per day: units sold and revenue in US dollars, and the change from the day before.

Pick a market and a category. Beauty & Personal Care, Skincare, Makeup, or a numeric category id. Last 7, 14 or 30 days, or your own dates.

Category research before you open the product list.

### Why Use This Scraper?

- **A day, not a catalogue.** Units and revenue for the category itself, so you can see the week move before you pull products.
- **The change is on the row.** `unitsChange` and `revenueChange` are against the previous day in the same series.
- **The level you mean.** "Skincare" is Skincare. "Beauty & Personal Care" is the whole department. A numeric id reaches the level under that.
- **15 markets, one currency.** United States, United Kingdom, Germany, France, Italy, Spain, Brazil, Japan, Mexico, Indonesia, Thailand, Vietnam, Philippines, Malaysia and Singapore, all in USD.
- **The level below, when you want it.** One extra row per day for each category directly underneath.
- **Pay for days, not attempts.** $2.50 per 1,000 day rows on the Apify Free plan, $2.00 on Bronze, $1.80 on Silver and $1.60 on Gold and above, plus $0.005 when the run starts.

### Overview

This actor is for people deciding which TikTok Shop category to enter, stock or watch: brands, agencies and analysts.

You choose a market and up to five categories. Each category comes back as one row per day in the window. A category found by two different names is still one series.

The dataset exports as JSON, CSV, Excel or through the API. A `RUN_SUMMARY` record in the run's key-value store lists what each category delivered.

### Supported Inputs

| Input | Example | What you get |
|---|---|---|
| A second-level name | `Skincare` | That category's days. This is the default when the list is empty |
| A top-level name | `Beauty & Personal Care` | The whole department, summed from the categories under it |
| A category id | `601615` | That exact category, including levels that have no short name here |
| A window | `last7Days`, or `startDate` + `endDate` | Up to 31 days, ending yesterday when you use the preset |

A name that belongs to two categories is rejected. Pass the numeric id. This actor does not return products, shops or creators.

### Use Cases

| Who | What they do with a day row |
|---|---|
| Brands choosing a category | Compare Skincare and Makeup over the same 30 days before commissioning products |
| Agencies reporting a niche | Drop the seven days into a weekly deck, with the day-over-day change already on the row |
| Analysts watching a market | Schedule last-7-days for one category and alert when revenue steps down |
| Sellers entering a country | Read the same category in US and DE and see which market is moving |

### How It Works

![How it works](https://api.apify.com/v2/key-value-stores/XCCC0eJUd6RsJAH00/records/how-it-works-tiktok-shop-category-trends.png)

1. **Choose a market** and up to five categories. A top-level name, a second-level name, or a numeric id.
2. **Each day** of the window comes back with units sold and revenue in USD.
3. **The change** from the previous day in that series is on the same row.
4. **Optionally split** the category into the level directly below it, one row per day.
5. **Export** the dataset as JSON, CSV or Excel, or read it through the API.

### Input Configuration

| Field | Default | What it does |
|---|---|---|
| `market` | `US` | One of the 15 country codes. `UK` is accepted and read as `GB` |
| `period` | `last7Days` | `last7Days`, `last14Days` or `last30Days`, ending yesterday |
| `startDate` | empty | `YYYY-MM-DD`. Requires `endDate`. At most 31 days |
| `endDate` | empty | `YYYY-MM-DD`. The newest day with figures is usually yesterday |
| `categories` | `Skincare` | Up to 5 names or ids. An empty list reads Skincare |
| `includeSubcategories` | `false` | Also deliver the level directly below, one row per day |

#### Last 7 days of Skincare in the US

```json
{ "market": "US", "categories": ["Skincare"], "period": "last7Days" }
```

#### Beauty against Makeup, with the split

```json
{ "market": "US", "categories": ["Beauty & Personal Care", "Makeup"], "period": "last14Days", "includeSubcategories": true }
```

#### Your own dates, one deeper category

```json
{ "market": "GB", "categories": ["601615"], "startDate": "2026-11-01", "endDate": "2026-11-14" }
```

### Output Overview

Each row is one day of one category. `rowType` is `category` for the category you asked for, and `subcategory` for the level below it when that option is on. `unitsChange` and `revenueChange` are null on the first day of a series. `subcategories` counts how many categories underneath were summed into a category row, and is null on a subcategory row. Amounts are US dollars, rounded to the cent.

### Output Samples

Skincare in the United States, from a run on 20 Nov 2026 covering 13–19 Nov. Two of the seven days:

```json
{
  "date": "2026-11-16",
  "market": "US",
  "rowType": "category",
  "categoryId": "848776",
  "categoryName": "Skincare",
  "categoryLevel": 2,
  "parentCategoryId": "601450",
  "parentCategoryName": "Beauty & Personal Care",
  "unitsSold": 250186,
  "revenue": 17420426.35,
  "unitsChange": 43157,
  "revenueChange": 1226362.72,
  "subcategories": 13
}
```

```json
{
  "date": "2026-11-19",
  "market": "US",
  "rowType": "category",
  "categoryId": "848776",
  "categoryName": "Skincare",
  "categoryLevel": 2,
  "parentCategoryId": "601450",
  "parentCategoryName": "Beauty & Personal Care",
  "unitsSold": 238462,
  "revenue": 14954657.31,
  "unitsChange": 41100,
  "revenueChange": 2123915.34,
  "subcategories": 13
}
```

### Key Output Fields

**The day**

| Field | Meaning |
|---|---|
| `date` | The day, `YYYY-MM-DD` |
| `market` | Country code |
| `unitsSold` | Units sold that day |
| `revenue` | Revenue that day, USD |
| `unitsChange` | Units versus the previous day in this series |
| `revenueChange` | Revenue versus the previous day in this series, USD |

**The category**

| Field | Meaning |
|---|---|
| `categoryId` | Category id |
| `categoryName` | Category name, when this actor knows it |
| `categoryLevel` | 1, 2 or 3 |
| `parentCategoryId` | The category above, when there is one |
| `parentCategoryName` | That parent's name |
| `rowType` | `category` or `subcategory` |
| `subcategories` | How many categories underneath were summed. Null on a subcategory row |

### FAQ

**Does an empty category list rank the whole market?**
No. An empty list reads Skincare in the market you set. A whole department is a top-level name such as Beauty & Personal Care.

**Why does "Skincare" not return all of Beauty?**
Skincare is a category inside Beauty & Personal Care. The full department is the top-level name. A word that is both a nickname and a real category uses the real category.

**A name was rejected as ambiguous. What do I pass?**
The numeric category id. Some short names exist under two parents.

**Are the figures for today?**
The preset windows end yesterday. A custom `endDate` can be any day, and a day that has not been published yet simply does not appear.

**The same day showed two different totals somewhere. Which one is this?**
When one day of one category arrives twice, the row keeps the larger units figure and the revenue that came with it.

**A top-level category says the totals can be short.**
A whole department is every category under it. A very wide window can hit the read cap. The run log and `RUN_SUMMARY` say so, and `capped` on that category is true. Narrow the window or name the second-level category you actually want.

**Does this return the products in the category?**
No. For the products, use [TikTok Shop Top Products](https://apify.com/memo23/tiktok-shop-top-products).

### Support

Found a bug or missing a field? Open an issue on the actor's Issues tab with your run link and input.

### Additional Services

Need a scheduled category report or a market this actor does not cover? Ask on the Issues tab.

### Explore More Scrapers

- [**TikTok Shop Top Products**](https://apify.com/memo23/tiktok-shop-top-products): products ranked by revenue, with the video, LIVE and shop-window split.
- [**TikTok Shop Sellers**](https://apify.com/memo23/tiktok-shop-sellers): shops ranked by revenue, units and rating.
- [**TikTok Shop Creator Finder**](https://apify.com/memo23/tiktok-shop-creator-finder): affiliate creators with units sold and contact emails.
- [**TikTok Shop LIVE Sales**](https://apify.com/memo23/tiktok-shop-live-sales): the livestreams that sell the most, with revenue, viewers and top products.
- [**TikTok Shop Reviews Scraper**](https://apify.com/memo23/tiktok-shop-reviews-scraper): reviews for a product, with ratings and the summary row.

### 🤖 For AI agents & LLM apps

Daily units and revenue for one TikTok Shop category. One row per day, money in USD.

```json
{ "market": "US", "categories": ["Skincare"], "period": "last7Days" }
```

```json
{ "market": "US", "categories": ["Makeup"], "period": "last14Days", "includeSubcategories": true }
```

- **Output fields**: `date`, `market`, `rowType`, `categoryId`, `categoryName`, `categoryLevel`, `parentCategoryId`, `parentCategoryName`, `unitsSold`, `revenue`, `unitsChange`, `revenueChange`, `subcategories`.
- **Billing**: $0.0025 per day row on the Apify Free plan, $0.002 on Bronze, $0.0018 on Silver, $0.0016 on Gold and above. $0.005 when the run starts. A subcategory row is a day row too. A category the run could not resolve is not charged.
- **Behaviour**: empty `categories` reads Skincare. Preset windows end yesterday. At most 31 days and 5 categories. `UK` is read as `GB`. A run that cannot read the category ends FAILED with the reason.

### ⚠️ Disclaimer

This actor collects only publicly available category sales information displayed for TikTok Shop. It does not log in, does not bypass any paywall, and does not access private or personal data.

TikTok and TikTok Shop are trademarks of their owners. This actor is not affiliated with, endorsed by, or sponsored by TikTok. Category names, sales figures and related content remain the property of their respective owners.

You are responsible for ensuring your use of the data complies with TikTok's Terms of Service and all applicable laws in your jurisdiction, including GDPR, CCPA and equivalent data-protection regulations where relevant. This tool is provided for legitimate research, competitor analysis and market-analysis purposes.

### SEO Keywords

tiktok shop category trends, tiktok shop category sales, tiktok shop category revenue, tiktok shop category gmv, tiktok shop daily sales, tiktok shop skincare sales, tiktok shop beauty category, tiktok shop category growth, tiktok shop market size, tiktok shop niche research, tiktok shop units sold by category, tiktok shop category data, tiktok shop us category sales, tiktok shop uk category trends, tiktok shop product research, tiktok shop category report, tiktok shop department sales, tiktok shop category scraper, tiktok shop weekly category, tiktok shop category comparison, tiktok shop rising category, tiktok shop category analytics

# Actor input Schema

## `market` (type: `string`):

Which TikTok Shop country to read, for example US or GB. Default US. Money columns are in US dollars for all 15 countries.

## `period` (type: `string`):

How many days to return, ending yesterday. Ignored when both startDate and endDate are set. Default last 7 days.

## `startDate` (type: `string`):

First day to include, YYYY-MM-DD. Set endDate as well. The two dates can cover at most 31 days. Leave both empty to use the window above.

## `endDate` (type: `string`):

Last day to include, YYYY-MM-DD. The newest day with figures is usually yesterday.

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

Up to 5 categories. A top-level name (Beauty & Personal Care, Health, Household Appliances), a second-level name (Skincare, Makeup, Haircare & Styling), or a numeric category id for anything deeper. Empty reads Skincare. A name used by two categories needs the numeric id.

## `includeSubcategories` (type: `boolean`):

Also deliver each category one level down, one row per day. A top-level category splits into its second level. A second-level category splits into its third. A third-level category has nothing below it. Default off.

## Actor input object example

```json
{
  "market": "US",
  "period": "last7Days",
  "categories": [
    "Skincare"
  ],
  "includeSubcategories": false
}
```

# Actor output Schema

## `days` (type: `string`):

All rows in the default dataset.

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

What each category delivered or could not read.

# 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": [
        "Skincare"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/tiktok-shop-category-trends").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": ["Skincare"] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/tiktok-shop-category-trends").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": [
    "Skincare"
  ]
}' |
apify call memo23/tiktok-shop-category-trends --silent --output-dataset

```

## MCP server setup

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

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/7gXfdRFMAdCTDIbAl/builds/5Ih9in2DKp2B9P5gP/openapi.json
