{
  "openapi": "3.0.1",
  "info": {
    "title": "1688.com Suppliers Scraper",
    "description": "1688.com Suppliers Scraper SD - 1688.com Suppliers Scraper is a sourcing tool that extracts 1688.com suppliers by keyword or offer: company, shop URL, location, years on 1688, factory and verified badges, repurchase rate, service score and a sample offer with price tiers.",
    "version": "1.0",
    "x-build-id": "5EuL8wlvD7E1GINXp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~1688-com-suppliers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-1688-com-suppliers-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/neuro-scraper~1688-com-suppliers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-1688-com-suppliers-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/neuro-scraper~1688-com-suppliers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-1688-com-suppliers-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 you want suppliers for, one per line, as you would type them into 1688 (Chinese works best). Each keyword gets its own maxSuppliersPerQuery. Example: 手机壳",
            "items": {
              "type": "string"
            }
          },
          "offerIds": {
            "title": "Offer IDs or URLs",
            "type": "array",
            "description": "1688 offer IDs or product URLs (https://detail.1688.com/offer/<ID>.html), one per line - each gives the supplier of that product. Example: 814052713229",
            "items": {
              "type": "string"
            }
          },
          "maxSuppliersPerQuery": {
            "title": "Max suppliers per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many unique suppliers to return for EACH keyword. A keyword's results show about 20 offers; more suppliers come from 1688's related searches that contain your keyword (see below). Example: 30",
            "default": 20
          },
          "expandRelatedKeywords": {
            "title": "Use related searches",
            "type": "boolean",
            "description": "Find more suppliers through the related searches 1688 lists for your keyword (only those that contain it, e.g. 苹果手机壳 for 手机壳). Off = suppliers of the first results page only.",
            "default": true
          },
          "maxRelatedKeywords": {
            "title": "Max related searches per keyword",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Safety limit on related searches read per keyword (one request each). Example: 10",
            "default": 10
          },
          "includeProfile": {
            "title": "Supplier profile",
            "type": "boolean",
            "description": "Open one product page per supplier to add the shop URL, credit page, location (province, city), factory status, 3-month buyer repurchase rate, good-review rate, service score and the sample offer's price tiers and MOQ. Off = faster, search data only.",
            "default": true
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "yearsOnPlatform",
              "repurchaseRate",
              "sellerServiceScore",
              "offersFound"
            ],
            "type": "string",
            "description": "Order of suppliers per keyword. Anything but Best match collects twice the wanted number and sorts them.",
            "default": "relevance"
          },
          "minPriceCny": {
            "title": "Min offer price (CNY)",
            "minimum": 0,
            "type": "integer",
            "description": "Only count offers at or above this price in yuan when finding suppliers (checked by the Actor). 0 = no minimum. Example: 5",
            "default": 0
          },
          "maxPriceCny": {
            "title": "Max offer price (CNY)",
            "minimum": 0,
            "type": "integer",
            "description": "Only count offers at or below this price in yuan (checked by the Actor). 0 = no maximum. Example: 50",
            "default": 0
          },
          "manufacturersOnly": {
            "title": "Factories only",
            "type": "boolean",
            "description": "Keep suppliers 1688 marks as a factory or super factory (needs the supplier profile).",
            "default": false
          },
          "superFactoryOnly": {
            "title": "Super factories only",
            "type": "boolean",
            "description": "Keep 1688 Super Factories (超级工厂) only.",
            "default": false
          },
          "verifiedOnly": {
            "title": "Verified merchants only",
            "type": "boolean",
            "description": "Keep 1688 verified / powerful merchants (实力商家) only.",
            "default": false
          },
          "provinces": {
            "title": "Provinces or cities",
            "type": "array",
            "description": "Keep suppliers shipping from these provinces or cities, in Chinese as on 1688 (needs the supplier profile). Example: 广东, 义乌",
            "items": {
              "type": "string"
            }
          },
          "minYearsOnPlatform": {
            "title": "Min years on 1688",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Keep suppliers selling on 1688 for at least this many years. 0 = any. Example: 3",
            "default": 0
          },
          "maxItems": {
            "title": "Max suppliers in total",
            "minimum": 1,
            "type": "integer",
            "description": "Safety limit for the whole run (all keywords and offers together). Example: 200",
            "default": 1000
          },
          "marketplaceProgram": {
            "title": "Marketplace program",
            "enum": [
              "any",
              "trustpass",
              "superFactory"
            ],
            "type": "string",
            "description": "Keep only suppliers of one 1688 program: TrustPass members or Super Factories (the program badges 1688 shows on the supplier).",
            "default": "any"
          },
          "verificationStatus": {
            "title": "Verification or inspection",
            "enum": [
              "any",
              "verified",
              "factoryInspected"
            ],
            "type": "string",
            "description": "verified = only suppliers with 1688's verified-merchant tag; factoryInspected = only suppliers that show factory evidence (factory card, super factory or factory dealer).",
            "default": "any"
          },
          "maxMinimumOrder": {
            "title": "Max minimum order (MOQ)",
            "minimum": 0,
            "type": "integer",
            "description": "Only suppliers whose sample offer can be ordered from at most this many units (needs the supplier profile, on by default)."
          },
          "monitoringStoreName": {
            "title": "Monitoring store name (only new suppliers)",
            "type": "string",
            "description": "Name of a key-value store that remembers the suppliers of earlier runs. With a name, each run returns only suppliers not seen before and adds them to the store - schedule the Actor for a feed of new suppliers."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxy in Hong Kong is the default (measured to work best for 1688 today; CN and other countries can be chosen). A blocked request is repeated on a new IP.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "HK"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}