temu.com APItemu.com ↗
Access Temu product search, homepage featured listings, and product details including price, ratings, review counts, and sales volume via a structured JSON API.
curl -X GET 'https://api.parse.bot/scraper/19417d13-c955-4a31-bfb8-d40635cf048d/search_products?limit=5&query=wireless+earbuds&offset=0' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for products on Temu by keyword. Returns paginated results with product details including price, rating, and sales data.
| Param | Type | Description |
|---|---|---|
| limit | integer | Number of results to return. |
| queryrequired | string | Search keyword (e.g. 'wireless earbuds'). |
| offset | integer | Offset for pagination. |
{
"type": "object",
"fields": {
"has_more": "boolean indicating if more results are available",
"products": "array of product objects with product_id, title, price, market_price, discount_percent, rating, review_count, sold_count, thumbnail",
"total_count": "integer count of products returned in this response"
},
"sample": {
"data": {
"has_more": true,
"products": [
{
"price": "$5.61",
"title": "1pc True Wireless Earbuds With Mic",
"rating": 4.8,
"thumbnail": "https://img.kwcdn.com/product/fancy/f416fff2-352f-4e2d-aefc-e740b1b7a531.jpg",
"product_id": 601100422582933,
"sold_count": "18K+ sold",
"market_price": "$34.90",
"review_count": "3,162",
"discount_percent": "83"
}
],
"total_count": 40
},
"status": "success"
}
}About the temu.com API
The Temu API provides 3 endpoints covering product search, homepage featured listings, and individual product details from temu.com. The search_products endpoint accepts keyword queries and returns paginated arrays of products with fields including sale price, market price, discount percentage, rating, review count, sold count, and thumbnail URL — enough to build price trackers, comparison tools, or catalog mirrors against Temu's inventory.
Endpoints and What They Return
The API exposes three GET endpoints. search_products takes a required query string plus optional limit and offset integers for pagination, and returns a products array alongside total_count and a has_more boolean. Each product object carries product_id, title, price, market_price, discount_percent, rating, review_count, sold_count, and thumbnail. The get_homepage_featured endpoint uses the same pagination parameters and the same product object shape, but pulls from Temu's trending/recommended homepage surface rather than a keyword search.
Product Detail Lookup
get_product_details accepts a single product_id string — the numeric ID surfaced in products[*].product_id from either of the other endpoints — and returns a focused record with title, price, market_price, discount_percent, rating, review_count, sold_count, thumbnail, and the product_id itself as an integer. Prices are returned as formatted strings (e.g. '$5.61'), making them directly displayable without additional formatting.
Pagination and Data Shape
Both list endpoints (search_products and get_homepage_featured) use offset-based pagination via offset and limit. The has_more boolean in each response tells you whether additional pages exist, allowing straightforward sequential iteration. total_count on search_products reflects the count of products returned in the current response page, not the total catalog size for that query.
- Track price changes and discount percentages on specific Temu products over time using
priceandmarket_pricefields. - Build a product comparison tool that surfaces Temu listings alongside other marketplaces using
title,price, andrating. - Monitor trending products by polling
get_homepage_featuredand tracking shifts insold_countandreview_count. - Seed an affiliate product feed by querying
search_productswith category keywords and exportingthumbnail,title, andprice. - Analyze discount depth across a product category by collecting
discount_percentvalues from keyword search results. - Power a consumer deals alert that fires when
discount_percentfor a trackedproduct_idcrosses a defined threshold.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Temu have an official public developer API?+
What does `search_products` return beyond the title and price?+
search_products returns a products array where each object includes product_id, title, price (sale price), market_price (original price), discount_percent, rating (numeric average), review_count, sold_count, and thumbnail (image URL). The has_more boolean and total_count support pagination.Does the API return product descriptions, seller information, or variant data?+
How does pagination work across the list endpoints?+
search_products and get_homepage_featured accept integer offset and limit parameters. Each response includes a has_more boolean indicating whether another page of results exists. Increment offset by limit on each request to walk through result pages sequentially.Are category-based or filter-based searches supported?+
search_products accepts only a free-text query string. Filtering by category, price range, rating threshold, or shipping options is not currently supported. You can fork this API on Parse and revise it to add a category-browse or filtered-search endpoint.