{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Temu Scraper · 2,500 Free Products/Month",
    "description": "Temu Scraper gets you Temu products ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — prices, discounts, units sold, ratings, variants & stores from searches, categories and links. 💰 $2 per 1,000 products, no start fee. Scrape your first 2,500 products free every month 🚀",
    "version": "0.0",
    "x-build-id": "8PhLvizYBIVq6K0nh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~temu-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~temu-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~temu-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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 queries",
            "type": "array",
            "description": "Keywords to search Temu for, one per line.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Temu links or IDs",
            "type": "array",
            "description": "Temu links or IDs, one per line: a product link or product ID (full details), a category link or category ID (its products), or a search link (temu.com/search_result.html?search_key=…). Links from temu.com/uk and temu.com/ca use that storefront.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "🌍 Storefront",
            "enum": [
              "us",
              "gb",
              "ca"
            ],
            "type": "string",
            "description": "Which Temu storefront your search queries, category IDs and product IDs use. Prices and currency follow it.",
            "default": "us"
          },
          "category": {
            "title": "📂 Search inside a category",
            "type": "string",
            "description": "Optional: a category ID or temu.com category link — your search queries then only return products from it."
          },
          "sort": {
            "title": "↕️ Sort by",
            "enum": [
              "relevance",
              "top_sales",
              "newest",
              "price_low_to_high",
              "price_high_to_low"
            ],
            "type": "string",
            "description": "Order of search and category results.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "💲 Min price",
            "minimum": 0,
            "type": "number",
            "description": "Lowest price to include, in the storefront's currency."
          },
          "maxPrice": {
            "title": "💲 Max price",
            "minimum": 0,
            "type": "number",
            "description": "Highest price to include, in the storefront's currency."
          },
          "minRating": {
            "title": "⭐ Min rating",
            "enum": [
              "4",
              "3",
              "2",
              "1"
            ],
            "type": "string",
            "description": "Only products with at least this average rating."
          },
          "localWarehouse": {
            "title": "🏠 Local warehouse only",
            "type": "boolean",
            "description": "Only products that ship from a warehouse in the storefront's country.",
            "default": false
          },
          "minReviews": {
            "title": "💬 Min reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Skip products with fewer reviews. Skipped products are not charged."
          },
          "minSold": {
            "title": "📈 Min units sold",
            "minimum": 0,
            "type": "integer",
            "description": "Skip products that sold fewer units. Skipped products are not charged."
          },
          "minDiscount": {
            "title": "🏷️ Min discount %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Skip products discounted less than this. Skipped products are not charged."
          },
          "maxResultsPerInput": {
            "title": "📄 Max products per query or link",
            "minimum": 1,
            "maximum": 360,
            "type": "integer",
            "description": "Stop after this many products for each query or category (40 per page, Temu shows up to 9 pages).",
            "default": 100
          },
          "maxResults": {
            "title": "🧮 Max products in total",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap on products for the whole run — caps your cost."
          },
          "fullDetails": {
            "title": "📦 Full details",
            "type": "boolean",
            "description": "Open every product page and add every variant's price, stock and units sold, the full gallery, attributes, shipping options, returns, the store's rating and followers, and the first reviews. Billed as the Full product details add-on. Product links always get full details.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}