# Temu Products Scraper (`crw/temu-products-scraper`) Actor

Extract product data from Temu by search keyword. Collect prices, discounts, ratings, sales counts, and images. Supports sort options including relevance, top sales, most recent, and price order. Ideal for dropshipping research, price monitoring, and trend analysis.

- **URL**: https://apify.com/crw/temu-products-scraper.md
- **Developed by:** [CRW](https://apify.com/crw) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2,425 total users, 419 monthly users, 99.9% runs succeeded, 5 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$10.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.

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 Product Scraper

An Apify actor that scrapes product search results from Temu. Extracts comprehensive product information including title, price, market price, discount rate, sales volume, rating, review count, images, and direct product URLs.

***

### How to Use

#### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `keyword` | string | Yes | `"usb"` | Search keyword to query on Temu (max 100 characters) |
| `region` | string | No | `"US"` | Target region code. Currently only `US` is supported. |
| `sort` | string | No | `"relevance"` | Sort order for search results. See options below. |
| `max_items` | number | No | `40` | Maximum number of products to collect (10–100) |

#### Sort Options

| Value | Description |
|---|---|
| `relevance` | Relevance (default) |
| `top_sales` | Top sales |
| `most_recent` | Most recent |
| `price_low_to_high` | Price low to high |
| `price_high_to_low` | Price high to low |

#### Example Input

```json
{
  "keyword": "wireless earbuds",
  "region": "US",
  "sort": "top_sales",
  "max_items": 100
}
```

***

### Output

Results are pushed to the Apify dataset. Each record represents one product.

#### Output Fields

| Field | Type | Description |
|---|---|---|
| `goods_id` | number | Unique product identifier |
| `title` | string | Full product name |
| `price` | number | Current selling price as a raw numeric value from the API |
| `price_str` | string | Current selling price (formatted, e.g. `"$1.85"`) |
| `market_price` | number | Original/crossed-out price as a raw numeric value. `0` if not discounted |
| `market_price_str` | string | Original price (formatted, empty string if not discounted) |
| `reduction_pct` | number | Raw discount rate value from the API. `0` if not discounted |
| `currency` | string | Currency code (e.g. `"USD"`) |
| `sales_num` | string | Raw sales count value |
| `sales_tip` | string | Sales display text (e.g. `"3.2K+ sold"`) |
| `rating` | number | Product rating score (e.g. `4.6`) |
| `review_count` | number | Total number of reviews |
| `thumb_url` | string | Thumbnail image URL |
| `image_url` | string | Full-size product image URL |
| `video_url` | string | Product video URL (empty if none) |
| `link_url` | string | Full URL to the product page |
| `mall_id` | number | Seller/mall identifier |
| `mall_link` | string | URL to the seller's store page |
| `opt_id` | number | Product category/option identifier |
| `adult_goods` | boolean | Whether the product is age-restricted |

#### Example Output

```json
{
  "goods_id": 605663149315721,
  "title": "1 Pack Black Elastic Waist Tulle Tutu Skirt, Multiple Colors Available, Sweet & Versatile Style, for Daily Wear, Ballet Dance, Party Events, Ideal for Halloween Cosplay, Photo Shoot, Holiday Gift",
  "price": 185,
  "price_str": "$1.85",
  "market_price": 0,
  "market_price_str": "",
  "reduction_pct": 0,
  "currency": "USD",
  "sales_num": "879",
  "sales_tip": "879 sold",
  "rating": 0,
  "review_count": 0,
  "thumb_url": "https://img.kwcdn.com/product/fancy/c3c274a9-2d5d-4361-bf60-d9f999c274f5.jpg",
  "image_url": "https://img.kwcdn.com/product/fancy/c3c274a9-2d5d-4361-bf60-d9f999c274f5.jpg",
  "video_url": "https://goods-vod.kwcdn.com/goods-video/4235e6aabbb969fdc9952b76ef49dda6df01b501gs2CV.f30.mp4",
  "link_url": "https://www.temu.com/goods.html?_bg_fs=1&goods_id=605663149315721&refer_page_sn=10009",
  "mall_id": 634418229064892,
  "mall_link": "https://www.temu.com/mall.html?mall_id=634418229064892",
  "opt_id": 6973,
  "adult_goods": false
}
```

***

### You Might Also Need

If you're researching Temu products, you likely care about **what's trending** — not just individual keyword results.

#### 📊 [Temu Category Trend Report](https://apify.com/crw/temu-category-trend-report)

> Daily Temu category intelligence for brands, retailers, and agencies.

While this actor lets you search by keyword, the **Temu Category Trend Report** gives you a broader market view:

| | Temu Product Scraper | Temu Category Trend Report |
|---|---|---|
| **Use case** | Search specific keywords | Monitor category-level trends |
| **Data** | Product details, prices, reviews | Top 100 products, 7-day momentum, price shifts |
| **Coverage** | Any keyword | 30 categories (Fashion, Beauty, Home, ...) |
| **Best for** | Product research, price tracking | Market signals, sourcing decisions, competitor analysis |

→ **[Try Temu Category Trend Report](https://apify.com/crw/temu-category-trend-report)**

***

#### More price intelligence

Want to see how Temu prices compare across the full US market?

- **[SHEIN Product & Category Scraper](https://apify.com/crw/shein-product-category-scraper)** — Compare Temu's fast-fashion prices head-to-head with SHEIN. Extracts 23 fields per product — retail & sale prices, discount rates, ratings, review counts, QuickShip status, and multi-angle images. Supports keyword search and category URL scraping with six sort options. Built-in US residential proxies and anti-blocking, so it just works at scale. Perfect for dropshipping research, fashion trend analysis, and cross-platform price monitoring.
- **[Walmart Products Scraper](https://apify.com/crw/walmart-products-scraper)** — Compare Temu prices against Walmart US retail. Spot arbitrage opportunities instantly.
- **[eBay Search Scraper](https://apify.com/crw/ebay-search-scraper)** — Check what the same product fetches on the resale market. Collects up to 500 listings per search including price, condition (new/used/refurbished), listing type (auction vs. Buy It Now), seller rating, and shipping cost. If eBay buyers are paying more than Temu's landed cost, that's your margin.

***

### Supported Regions

Currently only the United States (`US`) is supported.

Example keywords: `"laptop"`, `"women dress"`, `"phone case"`

***

### Keyword Guidelines

#### Use descriptive search keywords

This actor is designed for **keyword-based product search**, the same way you would search on Temu's website.

Use natural, mid-specificity keywords — the kind a regular shopper would type. A good rule of thumb is **2–5 words** that describe a product category or type.

**Good examples:**

- `solar panel 100W`
- `wireless earbuds`
- `yoga mat non-slip`
- `women dress`
- `phone case`

#### What to avoid

Certain keyword patterns can affect search quality and may cause runs to return no results or be restricted to maintain service reliability for all users.

**Too vague or too short:**
Single characters, random strings (e.g. `a`, `zz`), or terms so broad they span hundreds of result pages. These fall outside normal shopper behavior and are unlikely to produce useful data.

**Too long or over-specified:**
Very long strings that read like a full product description rather than a search term. Keep it concise.

**Numeric-only input:**
Values like `601099514354254` are product IDs, not search terms. Temu's search engine does not accept them as queries. The actor will reject these immediately with an error message. Search for the product's name or category instead.

***

### Usage Limits

#### Per-user quota

Results are charged per item collected. The actor stops collecting as soon as your remaining quota is exhausted — both at the start of a run and between pages.

#### Concurrent run limit

Each user account may only run a limited number of concurrent instances of this actor. Runs that exceed this limit will exit immediately. The limit resets automatically as active runs finish.

> **Note:** The concurrent run limit may be adjusted at any time based on overall platform usage and service conditions, without prior notice.

# Actor input Schema

## `keyword` (type: `string`):

The keyword to search for on Temu (e.g. "wireless earbuds", "phone case"). Must contain at least one non-numeric character. Numeric-only values such as product IDs are not supported.

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

Target region code. Currently only US is supported.

## `sort` (type: `string`):

Controls the order in which search results are returned.

## `max_items` (type: `integer`):

Maximum number of products to collect. Cannot exceed 100.

## Actor input object example

```json
{
  "keyword": "wireless earbuds",
  "region": "US",
  "sort": "relevance",
  "max_items": 40
}
```

# Actor output Schema

## `api` (type: `string`):

REST API endpoint to download the dataset programmatically.

# 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 = {
    "keyword": "wireless earbuds",
    "region": "US",
    "sort": "relevance",
    "max_items": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("crw/temu-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 = {
    "keyword": "wireless earbuds",
    "region": "US",
    "sort": "relevance",
    "max_items": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("crw/temu-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 '{
  "keyword": "wireless earbuds",
  "region": "US",
  "sort": "relevance",
  "max_items": 40
}' |
apify call crw/temu-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crw/temu-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/dXoeNAkKt3ZRfOKvx/builds/pb4HM0KIQqa7MC17f/openapi.json
