# Temu Trending Products & Lightning Deals Tracker (`magic-scraper/temu-trending-products-scraper`) Actor

Collect ~350 trending Temu products in seconds: lightning deals, 5-star rated, local warehouse and homepage trends with real prices, discounts, units sold, ratings, bestseller ranks and ad flags. No login.

- **URL**: https://apify.com/magic-scraper/temu-trending-products-scraper.md
- **Developed by:** [Magic](https://apify.com/magic-scraper) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.25 / 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/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

## ⚡ Temu Trending Products & Lightning Deals Tracker

[![Temu Trending Products](https://apify.com/actor-badge?actor=magic-scraper/temu-trending-products-scraper)](https://apify.com/magic-scraper/temu-trending-products-scraper)
![No Login](https://img.shields.io/badge/Login-Not%20Required-success?style=flat-square)
![Pay-Per-Result](https://img.shields.io/badge/Pricing-$3.00%20%2F%201K%20results-blue?style=flat-square)
![Run time](https://img.shields.io/badge/Run%20time-~5--10s-brightgreen?style=flat-square)

Collect **~350 trending Temu products in about 3 seconds** from the feeds Temu itself promotes: **Lightning Deals, 5-Star Rated, Local Warehouse (US) and Homepage trends**. Every product comes with real prices, discounts, units sold, ratings, review counts, **bestseller / top-rated category ranks** and sponsored-ad flags.

Built for **dropshippers, Amazon/Shopify sellers and product researchers** who want to see what Temu is pushing right now — without accounts or cookies.

***

### ✅ What you get

- **Real sales velocity:** `soldCount` parsed from Temu badges (`13K+ sold` → 13000) and `estimatedRevenue` = price × units sold (a lower-bound estimate).
- **Prices & discounts:** current price, Temu's listed market price, discount %.
- **Category ranks:** e.g. *Best sellers #3 in Refrigerators, Freezers & Accessories* or *Top rated #1 in Camping & Hiking* (`rankingType`, `rankingNumber`, `rankingCategory`).
- **Signals:** sponsored `isAd`, `isLocalWarehouse`, lightning-deal end time (`dealEndsAt`) and sold-through percentage.
- **Links:** clean canonical product URL, image URL, seller `mallId` and store URL.

Fields Temu does not show to guests are returned as `null` — nothing is guessed or filled with placeholders.

### ⚠️ What this Actor does not do

Temu shows **keyword search results and individual product pages only to logged-in users** (guests get a login wall or captcha). This Actor therefore does **not** run Temu site searches or scrape arbitrary product URLs. The optional **keyword filter** narrows the trending feeds by title — it is not a site search.

***

### 📖 How to use

1. Pick the **Trending Sources** (all four by default).
2. Optionally add **keywords** (e.g. `kitchen`, `led light`) and filters such as **Minimum Units Sold** or **Minimum Rating**.
3. Click **Start**. A full run takes about 3 s of work (5–10 s including container start) and collects ~350 unique products: Lightning Deals ~60, 5-Star Rated ~60, Local Warehouse ~40, Homepage feed ~200.

#### How it works

Plain HTTP, no browser: the Actor reads the product data Temu server-renders into each channel page and continues the Homepage feed through the same JSON endpoint the page uses while scrolling. If Temu sends an IP to a login or verification page, that source is retried on a fresh US IP (up to 4 IPs per source) instead of returning nothing.

#### Input

| Field | Type | Default | Description |
| :--- | :--- | :---: | :--- |
| `sources` | array | all four | `lightning_deals`, `five_star`, `local_warehouse`, `homepage` |
| `keywords` | array | `[]` | Keep products whose title contains all words of any keyword |
| `maxResults` | integer | `200` | Max products saved per run (sources are saved in the order listed) |
| `minSold` | integer | `0` | Minimum units sold |
| `minRating` | number | `0` | Minimum star rating |
| `onSaleOnly` | boolean | `false` | Only products priced below market price |
| `excludeAds` | boolean | `false` | Skip sponsored products |
| `proxyConfiguration` | object | off | Not needed: the first request goes direct, and a source Temu blocks is retried automatically on fresh US Apify Proxy IPs. Turn it on only to route every request through your own proxy settings. |

***

### 📤 Sample output (real record)

```json
{
  "goodsId": "607295605976896",
  "title": "Portable Tire Inflator Air Compressor, Cordless Electric Bike Pump, 200PSI ...",
  "price": 12.24,
  "originalPrice": 99.99,
  "currency": "USD",
  "discountPercentage": 87.8,
  "isOnSale": true,
  "soldCount": 13000,
  "soldCountText": "13K+ sold",
  "estimatedRevenue": 159120.0,
  "rating": 4.8,
  "reviewsCount": 694,
  "rankingType": "Top rated",
  "rankingNumber": 1,
  "rankingCategory": "Camping & Hiking",
  "brand": null,
  "isAd": true,
  "isLocalWarehouse": true,
  "dealEndsAt": "2026-10-31T06:59:59+00:00",
  "dealSoldPercent": 54,
  "mallId": "634418224400766",
  "mallUrl": "https://www.temu.com/mall.html?mall_id=634418224400766",
  "productUrl": "https://www.temu.com/portable-tire-inflator-air-compressor-...-g-607295605976896.html",
  "imageUrl": "https://img.kwcdn.com/product/fancy/02607298-897d-47fb-95d9-b1af4058b7eb.jpg",
  "tags": ["Local Warehouse"],
  "source": "local_warehouse",
  "matchedKeyword": null,
  "scrapedAt": "2026-10-29T08:35:51+00:00"
}
```

***

### 💳 Pricing

Pay-Per-Result: **$3.00 per 1,000 products** ($0.003 per product) + $0.00005 start fee per GB of memory; Apify's free $5 monthly credit covers about 1,660 products. You pay only for saved products; filters are applied before saving.

### 🎯 Use cases

- **Winning-product scouting:** `minSold: 1000` + `minRating: 4.5` to see proven sellers Temu is promoting.
- **Deal monitoring:** schedule the Actor hourly on `lightning_deals` and track `dealEndsAt` / `dealSoldPercent`.
- **Category leaders:** filter on `rankingType` = "Best sellers" to collect Temu's own category bestseller ranks.
- **Arbitrage research:** compare Temu prices with Amazon/eBay retail for the same products.

### 💻 Python API example

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("magic-scraper/temu-trending-products-scraper").call(run_input={
    "sources": ["lightning_deals", "five_star"],
    "minSold": 1000,
    "keywords": ["kitchen"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["soldCountText"], item["price"], item["rankingType"], item["rankingNumber"], item["title"][:60])
```

### 🤝 Support

Found a problem or need another Temu feed? Open an issue in the **Issues** tab.

***

### 🔗 Related E-commerce Scrapers

- 🧶 [Etsy Bestsellers & Tags Scraper](https://apify.com/magic-scraper/etsy-bestsellers-tags-scraper) — Etsy bestsellers with star-seller badges, real discounts, prices and Etsy's own keyword tags.
- 🔍 [TikTok Shop Search Scraper](https://apify.com/magic-scraper/tiktok-shop-search-scraper) — TikTok Shop products by keyword with live prices, units sold and estimated revenue.
- 📇 [eBay Seller Contact Scraper](https://apify.com/magic-scraper/ebay-seller-contact-scraper) — Business name, address, phone and email of eBay sellers from item IDs.

***

### SEO Keywords

Temu scraper, Temu trending products, Temu lightning deals tracker, Temu best sellers, Temu sales volume, Temu units sold, Temu product research, Temu winning products finder, Temu dropshipping research, Temu price tracker, Temu local warehouse products, Temu 5-star products, Temu category ranking, Temu revenue estimate, Temu data extractor.

# Actor input Schema

## `sources` (type: `array`):

Temu feeds to collect. Lightning Deals (~60 goods), 5-Star Rated (~60), Local Warehouse (~40), Homepage feed (~200).

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

Keep only trending products whose title contains all words of at least one keyword (e.g. 'kitchen', 'led light'). This filters the trending feeds; it is not a Temu site search.

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

Maximum number of products saved per run (after filters).

## `minSold` (type: `integer`):

Only save products that have sold at least this many units (e.g. 1000).

## `minRating` (type: `number`):

Only save products with a rating greater than or equal to this value (e.g. 4.5).

## `onSaleOnly` (type: `boolean`):

Only save products priced below their listed market price.

## `excludeAds` (type: `boolean`):

Skip products Temu marks as sponsored ads.

## `proxyConfiguration` (type: `object`):

Not needed. The first request goes direct; a source Temu blocks is retried automatically on fresh US Apify Proxy IPs (up to 4 per source). Turn it on only to route every request through your own proxy settings.

## Actor input object example

```json
{
  "sources": [
    "lightning_deals",
    "five_star",
    "local_warehouse",
    "homepage"
  ],
  "keywords": [],
  "maxResults": 100,
  "minSold": 0,
  "minRating": 0,
  "onSaleOnly": false,
  "excludeAds": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset items with prices, discounts, units sold, ratings, category ranks, ad flags and deal timers.

# 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 = {
    "sources": [
        "lightning_deals",
        "five_star",
        "local_warehouse",
        "homepage"
    ],
    "keywords": [],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("magic-scraper/temu-trending-products-scraper").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 = {
    "sources": [
        "lightning_deals",
        "five_star",
        "local_warehouse",
        "homepage",
    ],
    "keywords": [],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("magic-scraper/temu-trending-products-scraper").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 '{
  "sources": [
    "lightning_deals",
    "five_star",
    "local_warehouse",
    "homepage"
  ],
  "keywords": [],
  "maxResults": 100
}' |
apify call magic-scraper/temu-trending-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,magic-scraper/temu-trending-products-scraper"
        }
    }
}
```

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/pOkLf5DW2rLKE3bby/builds/cxqs1He6x9vtzZhep/openapi.json
