# Track TikTok Shop competitor prices and stock

**Use case:** 

Watch rival storefronts on a schedule. Every run records price, discount, per SKU stock and units sold, so price history builds itself over time.

## Input

```json
{
  "productUrls": [
    "https://shop.tiktok.com/us/pdp/zero-sugar-best-seller-trio-goli-ashwagandha-gummies-vegan-non-gmo/1731194857673101831"
  ],
  "shopUrls": [
    "7495794203056835079"
  ],
  "categoryUrls": [],
  "creatorHandles": [],
  "videoUrls": [],
  "includeShopProducts": true,
  "maxProductsPerShop": 25,
  "includeProductDetail": true,
  "includeShoppableVideos": false,
  "maxVideosPerProduct": 20,
  "includeCreatorVideos": true,
  "maxVideosPerCreator": 50,
  "includeRecommendedProducts": false,
  "includeSampleReviews": false,
  "maxItems": 60,
  "region": "US",
  "includeRawData": false,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "US"
  }
}
```

## Output

```json
{
  "type": {
    "label": "Row type",
    "format": "string"
  },
  "productId": {
    "label": "Product ID",
    "format": "string"
  },
  "title": {
    "label": "Product title",
    "format": "string"
  },
  "mainImageUrl": {
    "label": "Main image",
    "format": "string"
  },
  "priceCurrent": {
    "label": "Price",
    "format": "number"
  },
  "priceOriginal": {
    "label": "Original price",
    "format": "number"
  },
  "discountPercent": {
    "label": "Discount %",
    "format": "number"
  },
  "priceMasked": {
    "label": "Price hidden",
    "format": "boolean"
  },
  "freeShipping": {
    "label": "Free shipping",
    "format": "boolean"
  },
  "shippingFee": {
    "label": "Shipping fee",
    "format": "number"
  },
  "soldCount": {
    "label": "Units sold",
    "format": "number"
  },
  "inStock": {
    "label": "In stock",
    "format": "boolean"
  },
  "totalStock": {
    "label": "Units available",
    "format": "number"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "shopName": {
    "label": "Shop name",
    "format": "string"
  },
  "shopRating": {
    "label": "Shop rating",
    "format": "number"
  },
  "categoryNames": {
    "label": "Categories",
    "format": "array"
  },
  "relatedVideoCount": {
    "label": "Shoppable videos",
    "format": "number"
  },
  "detailLevel": {
    "label": "Detail level",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The TikTok Shop USA Scraper: Products, Shops, Creators Actor is ready to run with the inputs already set for "Track TikTok Shop competitor prices and stock". [Sign up or log in](https://console.apify.com/create-task-from-example/LEYTmSTrj7Wb8WLVz) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Track TikTok Shop competitor prices and stock" task

The TikTok Shop USA Scraper: Products, Shops, Creators Actor will start running based on the input automatically. You can also change all the input fields, like product urls or ids, shop urls or seller ids, and more, to match your specific use case.

### 3. Receive the "Track TikTok Shop competitor prices and stock" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as row type, product id, product title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Track TikTok Shop competitor prices and stock" task via API](https://apify.com/capable_cauldron/tiktok-shop-usa-scraper.md).

## About this Actor

This example demonstrates how to use [TikTok Shop USA Scraper: Products, Shops, Creators](https://apify.com/capable_cauldron/tiktok-shop-usa-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/capable_cauldron/tiktok-shop-usa-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/capable_cauldron/tiktok-shop-usa-scraper.md

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`).
