{
  "openapi": "3.0.1",
  "info": {
    "title": "Temu Product Scraper — Prices, Ratings & Sales",
    "description": "Collect supported Temu product and search results with returned prices and sales signals; coverage varies. Bulk export: JSON, CSV, Excel and API. PPE: $3/1K products; start fee, usage extra.",
    "version": "3.5",
    "x-build-id": "f560oCQLzIwmh4lri"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~temu-product-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-temu-product-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/apivault_labs~temu-product-scraper/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-temu-product-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/apivault_labs~temu-product-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-temu-product-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": {
          "searchKeywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "One search phrase per line, for example storage shelf. Leave empty for URL-only or featured-feed runs. Search availability is currently limited; a query may return no verified products.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product URLs or IDs",
            "type": "array",
            "description": "One Temu product URL or numeric product ID per line. Leave empty for keyword-only or featured-feed runs. A URL does not guarantee access to product data.",
            "items": {
              "type": "string"
            }
          },
          "region": {
            "title": "Region / Country",
            "enum": [
              "us",
              "uk",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "au",
              "ca",
              "br",
              "mx",
              "jp",
              "kr",
              "pl",
              "se",
              "at",
              "be",
              "pt",
              "cz",
              "ie"
            ],
            "type": "string",
            "description": "Country used for search and product-page URLs. The featured feed can return a different country/currency; this is recorded in results.",
            "default": "us"
          },
          "maxProductsPerKeyword": {
            "title": "Max products per keyword",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit per keyword, not a guaranteed count. Only delivered product rows incur the per-result charge; platform usage can still cost money on empty runs.",
            "default": 1000
          },
          "trendingNow": {
            "title": "Also collect featured products",
            "type": "boolean",
            "description": "Optional separate source: a small featured selection, NOT full search or proof of a market trend. To run it alone, leave keywords and URLs empty. Availability and currency can vary.",
            "default": false
          },
          "maxTrendingProducts": {
            "title": "Featured product limit",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of verified products to collect from the trending feed.",
            "default": 10
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "relevance",
              "top_sales",
              "newest",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Best-effort ordering of available search results. Price and top-sales sorting use fields that were actually returned; newest only applies when the source exposes an order or date.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop products below this USD price. 0 = no filter.",
            "default": 0
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop products above this USD price. 0 = no filter.",
            "default": 0
          },
          "minDemandScore": {
            "title": "Min demand score filter",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Drop products below this demand score (0-100). 0 = no filter.",
            "default": 0
          },
          "minHotProductScore": {
            "title": "Min hot-product score filter",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Estimated score threshold (0-100). 0 disables this filter. High thresholds or missing signals may produce no results.",
            "default": 0
          },
          "onlyTrending": {
            "title": "Keep products flagged as trending",
            "type": "boolean",
            "description": "Filters collected products using estimated trend signals. Different from collecting the featured feed. Missing signals can leave no results.",
            "default": false
          },
          "onlyFreeShipping": {
            "title": "Only free-shipping products",
            "type": "boolean",
            "description": "Keep only products with confirmed free-shipping information. Unknown shipping is excluded; this may leave no results.",
            "default": false
          },
          "exportFormat": {
            "title": "Export format",
            "enum": [
              "default",
              "shopify-csv",
              "google-merchant"
            ],
            "type": "string",
            "description": "Choose the Dataset row layout. Download the Dataset as CSV for Shopify-oriented rows. Shopify output is draft/zero inventory; review before importing. Merchant rows need review before submission. These are formats, not automatic integrations.",
            "default": "default"
          },
          "writeSummary": {
            "title": "Save research summary and top products",
            "type": "boolean",
            "description": "Save SUMMARY and TOP_PRODUCTS in the run's Key-value store, without extra product-row charges. RUN_SUMMARY diagnostics are always saved.",
            "default": true
          },
          "topProductsN": {
            "title": "Top products in research summary",
            "minimum": 5,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum products in TOP_PRODUCTS; used only when research summaries are enabled.",
            "default": 20
          },
          "extractTitle": {
            "title": "Product Title",
            "type": "boolean",
            "description": "Extract product name / title.",
            "default": true
          },
          "extractPrice": {
            "title": "Price",
            "type": "boolean",
            "description": "Include source price text and available parsed price/currency. Supported non-USD currencies may have an approximate USD conversion.",
            "default": true
          },
          "extractOriginalPrice": {
            "title": "Original Price",
            "type": "boolean",
            "description": "Original price before discount (raw text).",
            "default": true
          },
          "extractDiscount": {
            "title": "Discount %",
            "type": "boolean",
            "description": "Discount percentage displayed on the listing.",
            "default": true
          },
          "extractRating": {
            "title": "Rating",
            "type": "boolean",
            "description": "Star rating 1-5.",
            "default": true
          },
          "extractReviewsCount": {
            "title": "Reviews Count",
            "type": "boolean",
            "description": "Number of reviews (auto-parsed into reviewsCountInt).",
            "default": true
          },
          "extractSoldCount": {
            "title": "Sold Count (Temu's signature metric)",
            "type": "boolean",
            "description": "Collect the sold-count label when it is publicly available. Bucketed labels such as 10K+ are parsed as a lower bound and marked in the output.",
            "default": true
          },
          "extractShop": {
            "title": "Shop / Seller",
            "type": "boolean",
            "description": "Seller / shop name.",
            "default": true
          },
          "extractDescription": {
            "title": "Description",
            "type": "boolean",
            "description": "Product description.",
            "default": true
          },
          "extractCategory": {
            "title": "Category",
            "type": "boolean",
            "description": "Category breadcrumb from Temu.",
            "default": true
          },
          "extractShipping": {
            "title": "Shipping Info",
            "type": "boolean",
            "description": "Shipping time / free-shipping badge (auto-parsed into freeShipping bool).",
            "default": true
          },
          "extractAvailability": {
            "title": "Stock Status",
            "type": "boolean",
            "description": "In-stock / limited stock flag.",
            "default": true
          },
          "extractImage": {
            "title": "Main Image",
            "type": "boolean",
            "description": "Main product image URL.",
            "default": true
          },
          "extractImages": {
            "title": "Image Gallery",
            "type": "boolean",
            "description": "Include up to 10 image URLs when available.",
            "default": true
          },
          "extractVariants": {
            "title": "Variants (color, size, ...)",
            "type": "boolean",
            "description": "Include color/size options when the source exposes them. Many sources do not provide variants; complete migration is not guaranteed.",
            "default": true
          },
          "extractEnrichment": {
            "title": "Add research scores and price estimates",
            "type": "boolean",
            "description": "Calculate demand/trend heuristics, risk flags and retail-price estimates from available fields. These are estimates, not verified sales forecasts or guaranteed profit. No separate per-score charge.",
            "default": true
          },
          "retailMarkup": {
            "title": "Retail markup multiplier",
            "type": "string",
            "description": "Estimated retail price = source USD price × this multiplier. Example: 3.0 turns a $10 source price into a $30 estimate. This is not net profit and excludes fees, tax and shipping.",
            "default": "3.0"
          },
          "extractOutreachLinks": {
            "title": "Outreach / research links",
            "type": "boolean",
            "description": "Build one-click URLs to AliExpress, Amazon, eBay, Google Shopping, TikTok, YouTube reviews, Pinterest for product validation.",
            "default": true
          },
          "maxRunTimeSeconds": {
            "title": "Maximum run time (seconds)",
            "minimum": 60,
            "maximum": 480,
            "type": "integer",
            "description": "Work-time budget, not a dollar spending cap. Stop starting new work at the limit and keep delivered rows. In-flight requests and shutdown may take longer.",
            "default": 180
          },
          "maxFallbackDetails": {
            "title": "Max product-page fallbacks",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of incomplete search discoveries to enrich through a slower product-page fallback. Keep this low for economical keyword runs.",
            "default": 1
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Maximum number of products processed in parallel. The default is recommended for most runs.",
            "default": 3
          },
          "timeout": {
            "title": "Timeout per request (seconds)",
            "minimum": 20,
            "maximum": 60,
            "type": "integer",
            "description": "Maximum processing time allowed for each product request.",
            "default": 30
          },
          "maxRetries": {
            "title": "Retries on transient failure",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Retry count when a request returns a transient failure.",
            "default": 1
          },
          "usePaidSearchDiscovery": {
            "title": "Paid search discovery — experimental",
            "type": "boolean",
            "description": "Try metered broader search discovery. Recent tests returned no verified rows despite extra costs. Keep off for economical runs; it does not guarantee results.",
            "default": false
          },
          "useResidentialFeedFallback": {
            "title": "Paid featured-feed proxy — experimental",
            "type": "boolean",
            "description": "One paid US residential-proxy attempt if the featured feed fails. Recent cloud tests did NOT restore products. Keep off unless you explicitly accept extra proxy usage costs.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}