{
  "openapi": "3.0.1",
  "info": {
    "title": "1688 Scraper: Products, SKUs & Suppliers, $0.99/1K",
    "description": "$0.99/1K offers, no start fee. One of the fastest 1688 scrapers on Apify. No login. Input keywords (Chinese or English), offer links or product photos: prices in CNY and USD, tiers, MOQ, sales, every SKU with price and stock, supplier profile. English translation, price tracking.",
    "version": "0.4",
    "x-build-id": "rfxsnbfpIGI1zy1Tu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/laptime~1688-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-laptime-1688-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/laptime~1688-scraper/runs": {
      "post": {
        "operationId": "runs-sync-laptime-1688-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/laptime~1688-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-laptime-1688-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": {
          "keywords": {
            "title": "Search keywords (关键词)",
            "type": "array",
            "description": "Products to search on 1688, one per line, in Chinese (手机壳, 蓝牙耳机) or English (phone case, dog toy). Chinese keywords give the most precise results (中文关键词最精准); \"Search in Chinese\" translates other languages for you. Offer links pasted here are read as offers; shop links are skipped, not charged. Optional if you give offer links or photos.",
            "items": {
              "type": "string"
            }
          },
          "offerIds": {
            "title": "Offer links or ids (商品链接)",
            "type": "array",
            "description": "1688 offers to read in full, one per line: an id (694308108048) or any offer link (https://detail.1688.com/offer/694308108048.html, m.1688.com, links with tracking parameters). Each row gets every SKU with price and stock, tiers, attributes, gallery and shipping (product + product-details events). Removed offers return a free row with detailsError. Optional.",
            "items": {
              "type": "string"
            }
          },
          "imageUrls": {
            "title": "Search by image: photo links (以图搜货)",
            "type": "array",
            "description": "Find 1688 suppliers by photo: links to product photos, one per line (on Amazon, AliExpress, TikTok Shop or any shop, right-click the photo and choose \"Copy image address\"). JPEG, PNG, WebP or GIF. Each photo returns up to \"Max offers per keyword or photo\" look-alike offers, closest first, at $0.49 per 1,000 matches. A product shot on a plain background matches best. Optional.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max offers per keyword or photo",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many offers each keyword (and each photo) returns, 1–2,000. Default 20. One search reads up to about 240 offers; past that the deep scan (Advanced) reads other sort orders and price bands. Offer links are not limited by this.",
            "default": 20
          },
          "includeDetails": {
            "title": "Include offer details: SKUs, stock, attributes (商品详情)",
            "type": "boolean",
            "description": "Opens each offer's page: every SKU with its price and stock, quantity tiers, attributes, all images and video, weight, ship-from city, dispatch promise and the review summary. +$0.99 per 1,000 offers (product-details event) and a few seconds more. Off: the search fields only (price, tiers, MOQ, sales, supplier).",
            "default": false
          },
          "searchInChinese": {
            "title": "Search in Chinese (翻译成中文搜索)",
            "type": "boolean",
            "description": "Translates keywords that aren't Chinese (English, other languages, pinyin, typos) into the Chinese term 1688 sellers use before searching: phone case → 手机壳, zapatos de mujer → 女鞋. Chinese searches find more offers and fewer off-topic ones. Rows keep your keyword in searchKeyword and show the Chinese one in searchKeywordChinese. Free. Ticked in this form for new runs (recommended); API calls and saved tasks that don't set it search as typed.",
            "default": false
          },
          "translateToEnglish": {
            "title": "Translate results to English",
            "type": "boolean",
            "description": "Adds English copies next to the Chinese text: titleEn, supplierNameEn, categoryNameEn and, with details, attribute and SKU names. The original Chinese fields never change. +$0.50 per 1,000 translated rows (translation event; free plan: 100 rows per run). US dollar prices are on every row without this option.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by (排序)",
            "type": "string",
            "description": "Order of the search results: relevance (1688's default), sales (best sellers first), price-asc (cheapest first), price-desc. Keywords only: photo matches always come closest first.",
            "default": "relevance"
          },
          "priceMin": {
            "title": "Min price, yuan (最低价)",
            "minimum": 0,
            "type": "number",
            "description": "Only offers priced at or above this many yuan (CNY), e.g. 5. Empty: no minimum."
          },
          "priceMax": {
            "title": "Max price, yuan (最高价)",
            "minimum": 0,
            "type": "number",
            "description": "Only offers priced at or below this many yuan (CNY), e.g. 50. Empty: no maximum."
          },
          "maxMinOrderQuantity": {
            "title": "Max MOQ (起批量上限)",
            "minimum": 1,
            "type": "integer",
            "description": "Only offers you can order in this quantity or less (minimum order quantity ≤ this), e.g. 10. When a search card shows no MOQ, the offer page is checked (free). Empty: any MOQ. Also accepted as minOrderQuantity."
          },
          "merchantType": {
            "title": "Supplier type (商家类型)",
            "type": "string",
            "description": "All suppliers; factories (manufacturers, Super Factories and 1688-audited factories, 源头工厂); Super Factories only; 实力商家 (verified power merchants, checked on the offer page); or traders (wholesalers, and suppliers that show no factory credentials). Default: all. Offers dropped by the filter are free.",
            "default": "all"
          },
          "minSupplierYears": {
            "title": "Min years on 1688 (诚信通年限)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only suppliers that have traded on 1688 (TrustPass) for at least this many years; suppliers without a known history are dropped. Dropped offers are free. Empty: any. Also accepts supplierYears."
          },
          "province": {
            "title": "Supplier province (省份)",
            "type": "string",
            "description": "Only suppliers in this province, in Chinese or pinyin: 广东 or Guangdong, 浙江 or Zhejiang, 江苏, 福建, 山东. Empty: anywhere."
          },
          "city": {
            "title": "Supplier city (城市)",
            "type": "string",
            "description": "Only suppliers in this city, in Chinese or pinyin (义乌 or Yiwu, 深圳 or Shenzhen, 东莞...). Empty: anywhere."
          },
          "excludeKeywords": {
            "title": "Exclude titles containing (排除词)",
            "type": "array",
            "description": "Drop offers whose title contains any of these words (case-insensitive), e.g. 二手 (second-hand), 定制 (custom-made).",
            "items": {
              "type": "string"
            }
          },
          "excludeAds": {
            "title": "Skip paid placements (排除广告)",
            "type": "boolean",
            "description": "Drop the sponsored (P4P) offers 1688 mixes into search results.",
            "default": false
          },
          "includeSupplierProfile": {
            "title": "Supplier profile: shop card (店铺信息)",
            "type": "boolean",
            "description": "With details: adds the supplier's 1688 shop card to each row: star level (1-5), quality pass rate, fulfilment rate, shop repeat-buyer rate, followers, main category and shop type. One small request per supplier, no extra charge. Also accepts includeFactoryProfile.",
            "default": false
          },
          "includeDescription": {
            "title": "Long description: text and images (详情描述)",
            "type": "boolean",
            "description": "With details: adds the offer's long description below the listing: its text (descriptionText) and image links (descriptionImages). One CDN request per offer, no extra charge.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name (price tracking)",
            "type": "string",
            "description": "A name for a scheduled watch (e.g. \"phone-cases-daily\"). The Actor remembers the offers and prices it delivered under this name: later runs add isNewOffer, previousPrice, priceChange, priceChangePct and soldCountChange to every row, and with onlyNew deliver only offers it has not seen. Also accepts snapshotName, or compareWithPreviousRun: true (a name derived from the input). Empty: no memory."
          },
          "onlyNew": {
            "title": "Only new offers",
            "type": "boolean",
            "description": "With a monitorName: skip offers delivered by earlier runs of the same monitor. A run with nothing new ends successfully and costs nothing.",
            "default": false
          },
          "similarToOffers": {
            "title": "Offers similar to these 1688 offers (找同款)",
            "type": "array",
            "description": "1688 offer links or ids: each offer's main photo is searched by image and its look-alikes are returned (the offer itself is left out), e.g. to find cheaper suppliers of the same product. Charged as image matches. Optional.",
            "items": {
              "type": "string"
            }
          },
          "deepScan": {
            "title": "Deep scan past the ~100-offer search limit",
            "type": "boolean",
            "description": "When a keyword needs more offers than one search returns (about 240), also search the other sort orders and price bands. Rows then say which variant found them (searchQuery). Off: one search per keyword.",
            "default": true
          },
          "proxyCountry": {
            "title": "Proxy country",
            "type": "string",
            "description": "Country of the residential IPs (1688 serves logged-out visitors outside mainland China). US is the fastest in our tests; HK, SG, JP and others work too, and the run switches country by itself when one is refused. CN is replaced with US. Default US.",
            "default": "US"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}