{
  "openapi": "3.0.1",
  "info": {
    "title": "Temu Product Scraper [Only $3] Prices, Ratings, Sales, Sort",
    "description": "[Only $3 per 1000 products] Scrape Temu product search by keyword in 38 stores (US, UK, Germany, France, Canada, Australia and more): price in local currency, discount, rating, reviews, units sold, seller link, images. Sort by top sales or price. Add product details and review summaries. No login.",
    "version": "0.3",
    "x-build-id": "E5nLetz8wOHSQdzbJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~temu-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-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/memo23~temu-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-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/memo23~temu-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search Temu for, one per line. In the United States store each keyword returns up to 100 products in one request; in other stores (see Temu store) about 20. Example: `iphone case`. Leave empty when you only scrape product links below.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product links or ids",
            "type": "array",
            "description": "Specific Temu products, one per line: a product link (`https://www.temu.com/goods.html?goods_id=601101644004370`, or a page link ending in `-g-601101644004370.html`), a share link from the Temu app (`https://share.temu.com/…`) or the numeric goods id. Each is returned with its product-page details (category, gallery, video, specifications, variants) and billed as a product plus product details. Filters do not apply to these.",
            "items": {
              "type": "string"
            }
          },
          "market": {
            "title": "Temu store",
            "enum": [
              "us",
              "uk",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "be",
              "at",
              "ie",
              "pt",
              "fi",
              "gr",
              "pl",
              "cz",
              "ro",
              "hu",
              "se",
              "dk",
              "no",
              "ch",
              "tr",
              "il",
              "sa",
              "ae",
              "za",
              "ca",
              "mx",
              "br",
              "cl",
              "au",
              "nz",
              "jp",
              "kr",
              "sg",
              "my",
              "th",
              "ph"
            ],
            "type": "string",
            "description": "Which Temu store to search, with its prices and currency. United States (default): up to 100 products per keyword, every sort. Any other store: one page of about 20 products per keyword, in relevance order (price and units-sold sorts are applied within that page; newest first is not available). Product links that name their own store (`temu.com/fr/...`) are read in that store. In Canada, Mexico, Brazil, Chile, Australia, New Zealand, Japan, South Korea, Singapore, Malaysia, Thailand and the Philippines, product details come without variants, category or specifications.",
            "default": "us"
          },
          "includeDetails": {
            "title": "Add product details to search results",
            "type": "boolean",
            "description": "ON: every search row also gets its product-page details: category, full image gallery, video link, specifications and variants (color, size, model) with images. Billed per product as the product-details add-on, and adds about 12 s per 5 products. OFF (default): search fields only.",
            "default": false
          },
          "includeReviewSummary": {
            "title": "Add review summary",
            "type": "boolean",
            "description": "ON: every product also gets its review summary as the product page shows it: average rating, review count, Temu's review tags with their counts (\"Perfect Fit\": 64), the fit summary for clothing, the store's rating, and up to the first 4 reviews with text, date, variant bought and photos. Available for the United States, United Kingdom, Germany, France, Spain, Italy and Turkey stores. Billed per product that gets a summary; a run reads at most 200 (5 on the Apify free plan). OFF (default): no summary.",
            "default": false
          },
          "maxItems": {
            "title": "Max products (total)",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on product rows for the whole run, across all keywords. Example: `20`. Default: `100`. Runs on the Apify free plan are capped at 100.",
            "default": 100
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "top_sales",
              "newest",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order of results for each keyword: `relevance` (Temu default), `top_sales`, `newest`, `price_asc` or `price_desc`. Default: `relevance`. In the United States store sorted keywords return up to 100 products; in other stores the sort is applied within the page of about 20, and `newest` keeps relevance order.",
            "default": "relevance"
          },
          "maxItemsPerSearch": {
            "title": "Max products per keyword",
            "minimum": 1,
            "type": "integer",
            "description": "Cap per keyword, up to 100 (Temu search returns at most 100 products per keyword in the United States store, about 20 in the others; a higher value is treated as the most there is). Example: `50`. Default: `100`.",
            "default": 100
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Keep products priced at or above this, in the store's currency (USD in the United States store). Example: `5`. Empty or 0: no filter. Filters apply to the products found per keyword, so narrow filters return fewer rows; removed products are not charged."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Keep products priced at or below this, in the store's currency (USD in the United States store). Example: `20`. Empty or 0: no filter. Filters apply to the products found per keyword, so narrow filters return fewer rows; removed products are not charged."
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "type": "number",
            "description": "Keep products rated at least this many stars (0-5). Example: `4.5`. Empty or 0: no filter. Products without a rating are removed. Filters apply to the up-to-100 products found per keyword, so narrow filters return fewer rows; removed products are not charged."
          },
          "minReviews": {
            "title": "Minimum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep products with at least this many reviews. Example: `100`. Empty or 0: no filter. Filters apply to the up-to-100 products found per keyword, so narrow filters return fewer rows; removed products are not charged."
          },
          "minSold": {
            "title": "Minimum units sold",
            "minimum": 0,
            "type": "integer",
            "description": "Keep products with at least this many units sold (Temu shows rounded numbers like 10K+). Example: `1000`. Empty or 0: no filter. Filters apply to the up-to-100 products found per keyword, so narrow filters return fewer rows; removed products are not charged."
          },
          "minDiscount": {
            "title": "Minimum discount (%)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep products discounted at least this percent off their original price. Example: `30`. Empty or 0: no filter. Products without a discount are removed. Filters apply to the up-to-100 products found per keyword, so narrow filters return fewer rows; removed products are not charged."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}