# 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
- **Stats:** 37 total users, 13 monthly users, 100.0% runs succeeded, 0 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/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

## 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("💾 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 '{
  "keyword": "led lights"
}' |
apify call gio21/temu-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=gio21/temu-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Temu Scraper",
        "description": "Scrape Temu products by search keyword. Title, price, rating, reviews, image, shipping info. Pay per product.",
        "version": "0.0",
        "x-build-id": "TZYWwmUpkFhKGxbk8"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/gio21~temu-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-gio21-temu-scraper",
                "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/gio21~temu-scraper/runs": {
            "post": {
                "operationId": "runs-sync-gio21-temu-scraper",
                "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/gio21~temu-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-gio21-temu-scraper",
                "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",
                "properties": {
                    "keyword": {
                        "title": "Keyword search",
                        "type": "string",
                        "description": "Substring match in product title (case-insensitive). Example: 'led lights', 'wireless earbuds', 'phone case'."
                    },
                    "l1Category": {
                        "title": "Level 1 category",
                        "type": "string",
                        "description": "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": {
                        "title": "Level 2 sub-category",
                        "type": "string",
                        "description": "Exact match within L1 category. Examples: 'Outdoor Supplies & Patio Furniture', 'Wireless Audio', 'Cookware'."
                    },
                    "priceMin": {
                        "title": "Min price (USD)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum product price in USD. Leave empty for no minimum."
                    },
                    "priceMax": {
                        "title": "Max price (USD)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum product price in USD. Leave empty for no maximum."
                    },
                    "minSoldCount": {
                        "title": "Min sales volume",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return products with this many sales or more. Useful for finding best-sellers (try 1000+)."
                    },
                    "minRating": {
                        "title": "Min rating",
                        "minimum": 0,
                        "maximum": 5,
                        "type": "integer",
                        "description": "Min product rating (1-5)."
                    },
                    "minReviews": {
                        "title": "Min review count",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return products with at least this many reviews."
                    },
                    "sortBy": {
                        "title": "Sort by",
                        "enum": [
                            "sales_desc",
                            "sales_asc",
                            "price_asc",
                            "price_desc",
                            "rating_desc",
                            "reviews_desc"
                        ],
                        "type": "string",
                        "description": "How to sort matching products before returning top N.",
                        "default": "sales_desc"
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Cap on number of results returned. Default 100, max 10000.",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
