{
  "openapi": "3.0.1",
  "info": {
    "title": "1688 Image Search Scraper - Find Suppliers by Photo, No Login",
    "description": "Search 1688.com by photo: paste image URLs from Amazon, Shopify, AliExpress or TikTok Shop and get every matching wholesale offer with price, MOQ, units sold, repeat-buyer rate, supplier, years and badges. Optional SKUs, stock, specs, weight. $0.20 per 1,000 matches.",
    "version": "0.1",
    "x-build-id": "Lizbet9MTBs2xyYNE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/topapi~1688-image-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-topapi-1688-image-search-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/topapi~1688-image-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-topapi-1688-image-search-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/topapi~1688-image-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-topapi-1688-image-search-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": {
          "imageUrls": {
            "title": "🖼️ Image URLs",
            "type": "array",
            "description": "Product photo links from anywhere: Amazon, Shopify, AliExpress, TikTok Shop, 1688 (JPG, PNG, WebP, GIF). A 1688 image-search link (s.1688.com/youyuan/...imageId=...) works too.",
            "items": {
              "type": "string"
            }
          },
          "imageFile": {
            "title": "📤 Upload a photo",
            "type": "string",
            "description": "A photo from your computer (JPG, PNG, WebP). It is searched like an image URL."
          },
          "imagesBase64": {
            "title": "🧬 Base64 photos (API)",
            "type": "array",
            "description": "Photos as base64 strings or data URIs, e.g. [\"data:image/jpeg;base64,/9j/4AAQ...\"]. For API and ERP callers that hold the bytes."
          },
          "similarToOffers": {
            "title": "🔁 Similar to these 1688 offers",
            "type": "array",
            "description": "1688 offer links or ids, e.g. \"https://detail.1688.com/offer/944759232751.html\" or \"944759232751\". The offer's main photo is read from its page and searched.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "bestSelling",
              "priceAsc",
              "priceDesc"
            ],
            "type": "string",
            "description": "The order 1688 returns matches in. Best match mixes visual similarity, sales and sponsored placement, as on 1688.com.",
            "default": "relevance"
          },
          "priceMin": {
            "title": "💴 Minimum price (CNY)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Only offers priced at or above this many yuan, e.g. 5. Empty = no floor."
          },
          "priceMax": {
            "title": "💴 Maximum price (CNY)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "number",
            "description": "Only offers priced at or below this many yuan, e.g. 30. Empty = no ceiling."
          },
          "provinces": {
            "title": "📍 Supplier provinces",
            "type": "array",
            "description": "Only suppliers in these provinces, in English or Chinese, e.g. \"Guangdong\", \"Zhejiang\", \"浙江\". Empty = all of China.",
            "items": {
              "type": "string"
            }
          },
          "verifiedFactoryOnly": {
            "title": "🏭 Verified factories only",
            "type": "boolean",
            "description": "Only suppliers 1688 has certified as real factories (真实工厂认证).",
            "default": false
          },
          "dropshippingOnly": {
            "title": "📦 One-piece dropshipping only",
            "type": "boolean",
            "description": "Only offers that ship a single piece to your customer (一件代发).",
            "default": false
          },
          "freeShippingOnly": {
            "title": "🚚 Free shipping only",
            "type": "boolean",
            "description": "Only offers with free domestic shipping in China (包邮).",
            "default": false
          },
          "supplierType": {
            "title": "Supplier type",
            "enum": [
              "any",
              "manufacturer",
              "wholesaler"
            ],
            "type": "string",
            "description": "Keep only suppliers of this business type. A match whose card names no type is left out when a type is chosen.",
            "default": "any"
          },
          "inspectedFactoryOnly": {
            "title": "Inspected factories only",
            "type": "boolean",
            "description": "Keep only suppliers with an on-site factory inspection (深度验厂).",
            "default": false
          },
          "minSupplierYears": {
            "title": "Minimum years on 1688",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Keep only suppliers trading on 1688 for at least this many years, e.g. 3."
          },
          "maxMoq": {
            "title": "Maximum MOQ",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Keep only offers whose minimum order is at most this many units, e.g. 50."
          },
          "minSimilarity": {
            "title": "Minimum similarity score",
            "minimum": 0,
            "maximum": 2,
            "type": "number",
            "description": "Keep only matches whose 1688 similarity score is at least this, e.g. 0.3. Scores are relative per photo (0.02-0.48 measured); the closest matches score highest."
          },
          "excludeAds": {
            "title": "Leave out sponsored offers",
            "type": "boolean",
            "description": "Drop paid placements (isAd = true). They are often less similar.",
            "default": false
          },
          "onePerSupplier": {
            "title": "One offer per supplier",
            "type": "boolean",
            "description": "For each photo, keep only the best-ranked offer of each supplier: a shortlist of distinct factories.",
            "default": false
          },
          "includeDetails": {
            "title": "📋 Offer-page details ($0.0027 per match)",
            "type": "boolean",
            "description": "Open each match's offer page: price tiers, MOQ, SKUs with price and stock, specs, images, video, weight and size, shipping, rating, dropship stats, supplier stats. Charged only when the page is read.",
            "default": false
          },
          "includeSkuDetails": {
            "title": "SKU matrix in details",
            "type": "boolean",
            "description": "With details on: every SKU's attributes, price, stock and image. Off = a shorter row.",
            "default": true
          },
          "includeDescription": {
            "title": "Seller description",
            "type": "boolean",
            "description": "With details on: the seller's long description as text plus its images (turns details on).",
            "default": false
          },
          "includeDescriptionHtml": {
            "title": "Description HTML",
            "type": "boolean",
            "description": "Also keep the description's raw HTML (turns details and description on).",
            "default": false
          },
          "translateTitles": {
            "title": "🌐 English titles",
            "type": "boolean",
            "description": "Add titleEn, attributesEn and (with details) specsEn: machine translations of 1688's Chinese text. Free.",
            "default": true
          },
          "targetMarket": {
            "title": "Landed cost for",
            "enum": [
              "none",
              "US",
              "EU",
              "UK",
              "AU",
              "global"
            ],
            "type": "string",
            "description": "With details on: estLandedCostUsd = unit price in USD + the offer's own weight x air freight per kg for this market.",
            "default": "none"
          },
          "usdPerCny": {
            "title": "USD per CNY",
            "minimum": 0.05,
            "maximum": 0.5,
            "type": "number",
            "description": "Exchange rate for priceUsd, e.g. 0.14. Empty = today's published rate."
          },
          "shippingUsdPerKg": {
            "title": "Freight USD per kg",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Your freight rate for the landed cost, e.g. 8.5. Empty = 9 (US), 10 (EU, UK, AU) or 11 (rest of world)."
          },
          "monitorMode": {
            "title": "Only new matches",
            "type": "boolean",
            "description": "Deliver only offers not delivered for the same photo by earlier runs with the same store name. The window is the top N matches (Max matches per photo).",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Named key-value store that remembers what was delivered. Use one name per watch list.",
            "default": "1688-image-search-monitor"
          },
          "maxResultsPerImage": {
            "title": "Max matches per photo",
            "minimum": 1,
            "maximum": 720,
            "type": "integer",
            "description": "Matches per photo in 1688's order, 60 per page. 1688 finds up to ~700 per photo (about 630 distinct offers after de-duplication).",
            "default": 60
          },
          "maxImages": {
            "title": "Max photos",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Search at most this many photos; extra photos are listed in RUN_SUMMARY, never searched or charged. Empty = all."
          },
          "maxItems": {
            "title": "Max matches per run",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Hard ceiling on rows (and on the bill) for the whole run. Empty = no ceiling."
          },
          "compact": {
            "title": "Compact rows",
            "type": "boolean",
            "description": "Core fields only (match, price, MOQ, sales, supplier basics), trimmed for spreadsheets and AI/MCP pipelines. Details fields stay when details are on.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Search proxy",
            "type": "object",
            "description": "Searches go out on the platform's own connection first, then on this proxy if 1688 shows its slider check, then residential. Set your own proxy to use only that one."
          },
          "detailProxyConfiguration": {
            "title": "Offer-page proxy",
            "type": "object",
            "description": "Offer pages (details) are read on a fresh residential China session each. Change only to use your own residential proxy."
          },
          "maxConcurrency": {
            "title": "Offer pages in parallel",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "How many offer pages are read at once with details on. More is faster but draws more timeouts from the residential proxy.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}