# Temu Scraper (`gio21/temu-scraper`) Actor

Scrape Temu products by search keyword. Title, price, rating, reviews, image, shipping info. Pay per product.

- **URL**: https://apify.com/gio21/temu-scraper.md
- **Developed by:** [Gio](https://apify.com/gio21) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 213 total users, 16 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$3.00 / 1,000 product scrapeds

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 Products Database (95K Products)

Search and filter **95,189 Temu US marketplace products** with rich filtering: keyword, category, price range, sales volume, rating, reviews. Sort by best-sellers, cheapest, highest rated.

> ⚠️ **This is a curated snapshot database, NOT real-time scraping.** Use it for market research, pricing analysis, product discovery, category mining, and competitor intel. For real-time price monitoring of a specific product, use a different tool.

### Why this database

- Temu's anti-bot makes real-time scraping unreliable for most use cases
- 95K products gives statistically meaningful market data across 21 categories
- Snapshot includes sales volume, ratings, review counts — actual best-seller signals
- Pure data lookup, no proxies — fast, deterministic, no upstream blocks

### What's inside

- **95,189 products** across **21 categories** (Beauty, Home & Kitchen, Electronics, Toys, etc.)
- **189 sub-categories**
- Price range: $0.13 - $565.98 (avg $6.62)
- Sales: 1 - 39,011 units (best-sellers identified via salesVolume)
- Rating: 1.0 - 5.0 stars

### Input

| Field | Type | Description |
|-------|------|-------------|
| `keyword` | String | Substring match in title (case-insensitive). Example: `led lights`, `wireless earbuds`. |
| `l1Category` | String | Level 1 category exact match. See full list below. |
| `l2Category` | String | Level 2 sub-category exact match. |
| `priceMin` | Number | Minimum USD price. |
| `priceMax` | Number | Maximum USD price. |
| `minSoldCount` | Number | Only return products with this many sales or more. Try `1000` for best-sellers. |
| `minRating` | Number | Min rating (0-5). |
| `minReviews` | Number | Min review count. |
| `sortBy` | Select | `sales_desc` (default), `sales_asc`, `price_asc`, `price_desc`, `rating_desc`, `reviews_desc`. |
| `maxResults` | Integer | Cap on returned rows. Default 100, max 10000. |

### Output

```json
{
  "title": "1pc 30 LED Bubble Ball Lights Solar String Lights Outdoor Waterproof Lights",
  "goodsId": "6017592186061056",
  "l1Category": "Patio, Lawn & Garden",
  "l2Category": "Outdoor Supplies & Patio Furniture",
  "price": 6.55,
  "salesVolume": 5560,
  "salesText": "5,560 sold",
  "rating": 4.7,
  "reviewCount": 200,
  "url": "https://www.temu.com/--g-6017592186061056.html"
}
```

### L1 Categories (full list)

Automotive, Bags & Luggages, Beauty & Health, Electronics & Appliances, Health & Household, Home & Kitchen, Industrial & Commercial, Jewelry & Accessories, Kid Baby & Maternity, Men's Clothing, Musical Instruments, Office & School, Patio Lawn & Garden, Pet Supplies, Shoes, Sports & Outdoors, Tools & Home Improvement, Toys & Games, Underwear & Sleepwear, Women's Clothing.

### Use cases

- **Pricing intelligence**: Find Temu's typical price for a category
- **Product discovery**: Identify best-selling products to source/sell
- **Market sizing**: Distribution of sales volumes across categories
- **Competitor research**: What's selling well at what price
- **Dropshipping research**: Best-selling low-cost items with high ratings

### Limitations

- **Snapshot data — not real-time.** Prices/availability may have changed since snapshot.
- No product images URLs (use goods_id + Temu URL pattern to fetch product page).
- No seller info, no variants, no descriptions (only titles, prices, sales, ratings).
- US marketplace only.

### Pricing

Pay per record returned. Use filters to narrow results and control cost.

### Free Apify users

Get 5 mock sample records to see the data shape. Upgrade to a paid Apify plan to query the full 95K database.

If this actor helped you, please leave a review on the Apify Store.

# Actor input Schema

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

Substring match in product title (case-insensitive). Example: 'led lights', 'wireless earbuds', 'phone case'.

## `l1Category` (type: `string`):

Exact match. Choices: Automotive, Bags & Luggages, Beauty & Health, Electronics & Appliances, Health & Household, Home & Kitchen, Industrial & Commercial, Jewelry & Accessories, Kid Baby & Maternity, Men's Clothing, Musical Instruments, Office & School, Patio Lawn & Garden, Pet Supplies, Shoes, Sports & Outdoors, Tools & Home Improvement, Toys & Games, Underwear & Sleepwear, Women's Clothing.

## `l2Category` (type: `string`):

Exact match within L1 category. Examples: 'Outdoor Supplies & Patio Furniture', 'Wireless Audio', 'Cookware'.

## `priceMin` (type: `integer`):

Minimum product price in USD. Leave empty for no minimum.

## `priceMax` (type: `integer`):

Maximum product price in USD. Leave empty for no maximum.

## `minSoldCount` (type: `integer`):

Only return products with this many sales or more. Useful for finding best-sellers (try 1000+).

## `minRating` (type: `integer`):

Min product rating (1-5).

## `minReviews` (type: `integer`):

Only return products with at least this many reviews.

## `sortBy` (type: `string`):

How to sort matching products before returning top N.

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

Cap on number of results returned. Default 100, max 10000.

## Actor input object example

```json
{
  "keyword": "led lights",
  "sortBy": "sales_desc",
  "maxResults": 100
}
```

# Actor output Schema

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

All scraped items.

# 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": "led lights"
};

// Run the Actor and wait for it to finish
const run = await client.actor("gio21/temu-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": "led lights" }

# Run the Actor and wait for it to finish
run = client.actor("gio21/temu-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": "led lights"
}' |
apify call gio21/temu-scraper --silent --output-dataset

```

## MCP server setup

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