# TikTok Search Shop Listings (`datamagnet/tiktok-search-shop-listings`) Actor

Find TikTok Shop sellers in a chosen region with simple filters and sorting. Get a clean, ready-to-use list of seller performance details without dealing with pagination.

- **URL**: https://apify.com/datamagnet/tiktok-search-shop-listings.md
- **Developed by:** [Datamagnet](https://apify.com/datamagnet) (community)
- **Categories:** E-commerce, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Seller Search
Find TikTok Shop sellers in your chosen region, with simple filters and a clean, easy-to-read result list.

### What it does
- Helps you find sellers in a specific marketplace region.
- Lets you narrow results by category, store type, sales method, and sales trend.
- Sorts sellers so you can quickly see the ones that matter most to you.
- Automatically keeps loading more results until it reaches your requested total.
- Returns a tidy list with seller details and performance information in plain language.

### Use cases
- Find active sellers in a region before reaching out for partnerships, wholesale, or influencer collaborations.
- Compare stores by category, sales volume, and recent sales activity to spot promising competitors or market gaps.
- Build a shortlist of TikTok Shop sellers with strong GMV, product counts, or video activity for research and outreach.

### Input
| Field | Description | Required | Example |
|---|---|---:|---|
| Category ID | Optional main category ID to narrow the seller search. | No | 1729649010208641832 |
| Subcategory ID | Optional second-level category ID to narrow the seller search. | No | 1729649010208641832 |
| Third-level category ID | Optional third-level category ID to narrow the seller search. | No | 1729649010208641832 |
| Store type | Choose which store type to show: local store or cross-border store. | No | 1 |
| Maximum results | Maximum number of seller records to return. | No | 10 |
| Region | Region code such as US. | Yes | US |
| Sales method | Choose the main sales method: video or live. | No | 1 |
| Sales trend | Filter sellers by sales trend: stable, up, or down. | No | 0 |
| Sort by | Choose how to sort the seller list. | No | 1 |
| Sort order | Choose whether results are sorted by relevance or by most likes. | No | 1 |

### Output
| Field | Description |
|---|---|
| category_id | Main category ID for the seller's primary category. |
| category_l2_id | Second-level category ID for the seller. |
| category_l3_id | Third-level category ID for the seller. |
| cover_url | Seller cover image URL. |
| first_crawl_dt | Date the seller was first captured, in YYYYMMDD format. |
| from_flag | Store type flag showing whether the seller is local or cross-border. |
| most_product_category_list | The category where the seller appears most often. |
| product_category_list | Full list of product categories linked to the seller. |
| rating | Seller rating score. |
| region | Seller region code. |
| sales_flag | Sales method flag for the seller. |
| sales_trend_flag | Sales trend flag for the seller. |
| seller_id | Unique seller ID. |
| seller_link | Link to the seller's TikTok Shop page or profile. |
| seller_name | Seller name. |
| spu_avg_price | Average product price for the seller. |
| total_crawl_product_cnt | Number of products captured during crawling. |
| total_ifl_cnt | Total influencer/live-related count returned for the seller. |
| total_live_cnt | Number of live sessions. |
| total_product_cnt | Total number of products in the store. |
| total_sale_1d_cnt | Sales count in the last 1 day. |
| total_sale_30d_cnt | Sales count in the last 30 days. |
| total_sale_7d_cnt | Sales count in the last 7 days. |
| total_sale_90d_cnt | Sales count in the last 90 days. |
| total_sale_cnt | Total sales count. |
| total_sale_gmv_1d_amt | GMV in the last 1 day. |
| total_sale_gmv_30d_amt | GMV in the last 30 days. |
| total_sale_gmv_7d_amt | GMV in the last 7 days. |
| total_sale_gmv_90d_amt | GMV in the last 90 days. |
| total_sale_gmv_amt | Total GMV. |
| total_video_cnt | Number of videos associated with the seller. |
| user_id | Seller user ID, when available. |

### Sample output
```json
{
  "category_id": "600001",
  "category_l2_id": "852232",
  "category_l3_id": "600477",
  "cover_url": "https://echosell-images.tos-ap-southeast-1.volces.com/seller-cover/327/7494038883979791078.png",
  "first_crawl_dt": 20240806,
  "from_flag": 1,
  "most_product_category_list": "[{ \"category_name\":\"Home Supplies\",\"category_id\":\"600001\"}]",
  "product_category_list": "[{ \"category_name\":\"Automotive & Motorcycle\",\"category_id\":\"605196\"},{ \"category_name\":\"Home Supplies\",\"category_id\":\"600001\"}]",
  "rating": 4.8,
  "region": "US",
  "sales_flag": 1,
  "sales_trend_flag": 0,
  "seller_id": "7494038883979791078",
  "seller_link": "https://shop.tiktok.com/us/store/leah-amore-candles/7494038883979791078",
  "seller_name": "Leah Amore Candles",
  "spu_avg_price": 23.03,
  "total_crawl_product_cnt": 4,
  "total_ifl_cnt": 236,
  "total_live_cnt": 0,
  "total_product_cnt": 9,
  "total_sale_1d_cnt": 0,
  "total_sale_30d_cnt": 7,
  "total_sale_7d_cnt": 0,
  "total_sale_90d_cnt": 18,
  "total_sale_cnt": 2598,
  "total_sale_gmv_1d_amt": 0,
  "total_sale_gmv_30d_amt": 247.93,
  "total_sale_gmv_7d_amt": 0,
  "total_sale_gmv_90d_amt": 563.27,
  "total_sale_gmv_amt": 46386.14,
  "total_video_cnt": 214,
  "user_id": "6532051243538317313"
}
````

# Actor input Schema

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

Region code such as US.

## `from_flag` (type: `string`):

Choose which store type to show: local store or cross-border store.

## `sort_type` (type: `string`):

Choose whether results are sorted by relevance or by most likes.

## `sales_flag` (type: `string`):

Choose the main sales method: video or live.

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

Optional main category ID to narrow the seller search.

## `max_results` (type: `integer`):

Maximum number of seller records to return.

## `category_l2_id` (type: `string`):

Optional second-level category ID to narrow the seller search.

## `category_l3_id` (type: `string`):

Optional third-level category ID to narrow the seller search.

## `sales_trend_flag` (type: `string`):

Filter sellers by sales trend: stable, up, or down.

## `seller_sort_field` (type: `string`):

Choose how to sort the seller list.

## Actor input object example

```json
{
  "region": "US",
  "from_flag": "1",
  "sort_type": "1",
  "sales_flag": "1",
  "category_id": "1729649010208641832",
  "max_results": 10,
  "category_l2_id": "1729649010208641832",
  "category_l3_id": "1729649010208641832",
  "sales_trend_flag": "0",
  "seller_sort_field": "1"
}
```

# 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 = {
    "region": "US"
};

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

# Run the Actor and wait for it to finish
run = client.actor("datamagnet/tiktok-search-shop-listings").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "region": "US"
}' |
apify call datamagnet/tiktok-search-shop-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=datamagnet/tiktok-search-shop-listings",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "TikTok Search Shop Listings",
        "description": "Find TikTok Shop sellers in a chosen region with simple filters and sorting. Get a clean, ready-to-use list of seller performance details without dealing with pagination.",
        "version": "0.0",
        "x-build-id": "oaj9Ws5FcpqaAYtIJ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/datamagnet~tiktok-search-shop-listings/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-datamagnet-tiktok-search-shop-listings",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/datamagnet~tiktok-search-shop-listings/runs": {
            "post": {
                "operationId": "runs-sync-datamagnet-tiktok-search-shop-listings",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/datamagnet~tiktok-search-shop-listings/run-sync": {
            "post": {
                "operationId": "run-sync-datamagnet-tiktok-search-shop-listings",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "region"
                ],
                "properties": {
                    "region": {
                        "title": "Region",
                        "type": "string",
                        "description": "Region code such as US."
                    },
                    "from_flag": {
                        "title": "Store type",
                        "type": "string",
                        "description": "Choose which store type to show: local store or cross-border store."
                    },
                    "sort_type": {
                        "title": "Sort order",
                        "type": "string",
                        "description": "Choose whether results are sorted by relevance or by most likes."
                    },
                    "sales_flag": {
                        "title": "Sales method",
                        "type": "string",
                        "description": "Choose the main sales method: video or live."
                    },
                    "category_id": {
                        "title": "Category ID",
                        "type": "string",
                        "description": "Optional main category ID to narrow the seller search."
                    },
                    "max_results": {
                        "title": "Maximum results",
                        "type": "integer",
                        "description": "Maximum number of seller records to return.",
                        "default": 10
                    },
                    "category_l2_id": {
                        "title": "Subcategory ID",
                        "type": "string",
                        "description": "Optional second-level category ID to narrow the seller search."
                    },
                    "category_l3_id": {
                        "title": "Third-level category ID",
                        "type": "string",
                        "description": "Optional third-level category ID to narrow the seller search."
                    },
                    "sales_trend_flag": {
                        "title": "Sales trend",
                        "type": "string",
                        "description": "Filter sellers by sales trend: stable, up, or down."
                    },
                    "seller_sort_field": {
                        "title": "Sort by",
                        "type": "string",
                        "description": "Choose how to sort the seller list."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
