{
  "openapi": "3.0.1",
  "info": {
    "title": "Alibaba Scraper | Products, Supplier Companies and Prices",
    "description": "Alibaba scraper that turns keyword search into structured supplier data: price range, MOQ, certifications, dispatch time, review scores, and verified or gold supplier badges. No Alibaba account required. Export sourcing and procurement leads to JSON, CSV, or Excel for spreadsheets and pipelines.",
    "version": "1.0",
    "x-build-id": "lA0bbcPlLxqDmINL8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~alibaba-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-alibaba-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/silentflow~alibaba-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-alibaba-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/silentflow~alibaba-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-alibaba-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": "🔎 Keywords",
            "type": "array",
            "description": "What to search on Alibaba.com, one keyword per line, as you would type it in the search bar (<code>wireless earbuds</code>, <code>led strip lights</code>, <code>yoga mat</code>). English keywords match best. Each keyword lists 48 products per page in the order buyers see them, and a common keyword runs to thousands of products.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Product or search pages",
            "type": "array",
            "description": "Alibaba.com addresses from your browser. A search page is read like its keyword, from the page it shows: <code>alibaba.com/premium/yoga-mat/3.html</code> starts at results page 3, to skip the pages you already have. A product page (<code>alibaba.com/product-detail/..._1601721674813.html</code>) gives one full row with its price tiers, lead times, attributes and supplier figures. Search pages read: <code>alibaba.com/trade/search?SearchText=yoga+mat&amp;page=2</code>, <code>alibaba.com/premium/yoga-mat.html</code>, <code>alibaba.com/showroom/yoga-mat.html</code>. Pasted products are delivered whatever the filters.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "🔢 Max products",
            "minimum": 1,
            "type": "integer",
            "description": "How many rows to save for the whole run, all keywords together. A page holds 48 products, so <code>100</code> reads three pages of one keyword or the first pages of several. Cost scales with the rows delivered, so set it to what you need.",
            "default": 100
          },
          "minPrice": {
            "title": "💵 Min price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Lowest unit price you accept, in US dollars, compared with the product's starting price (<code>2.5</code>). Leave empty for no floor."
          },
          "maxPrice": {
            "title": "💵 Max price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Highest unit price you accept, in US dollars, compared with the product's starting price (<code>20</code>). Leave empty for no ceiling."
          },
          "minMoq": {
            "title": "📦 Min MOQ",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest minimum order quantity you accept (<code>500</code> keeps products a supplier sells from 500 units up), to find the factories that work in bulk. For wireless earbuds, <code>1000</code> keeps about one product in five. Leave empty for no floor."
          },
          "maxMoq": {
            "title": "📦 Max MOQ",
            "minimum": 0,
            "type": "integer",
            "description": "Largest minimum order quantity you accept (<code>50</code> keeps products a supplier sells from 50 units or fewer). Useful to find suppliers open to sample-size orders. Leave empty for no limit."
          },
          "supplierCountries": {
            "title": "🌍 Supplier countries",
            "type": "array",
            "description": "Keep only suppliers based in these countries, to source beyond China. Pick from the list or type a two-letter code (<code>IN</code>), a three-letter code (<code>VNM</code>) or an English name (<code>Türkiye</code>). For wireless earbuds, India and Vietnam together list 122 products where the whole search lists over 20,000. Leave empty for every country.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "CN",
                "IN",
                "VN",
                "TR",
                "PK",
                "BD",
                "TH",
                "ID",
                "MY",
                "HK",
                "TW",
                "KR",
                "JP",
                "US",
                "MX",
                "BR",
                "DE",
                "IT",
                "ES",
                "PT",
                "PL",
                "GB",
                "FR",
                "EG",
                "ZA",
                "AE"
              ],
              "enumTitles": [
                "China",
                "India",
                "Vietnam",
                "Türkiye",
                "Pakistan",
                "Bangladesh",
                "Thailand",
                "Indonesia",
                "Malaysia",
                "Hong Kong",
                "Taiwan",
                "South Korea",
                "Japan",
                "United States",
                "Mexico",
                "Brazil",
                "Germany",
                "Italy",
                "Spain",
                "Portugal",
                "Poland",
                "United Kingdom",
                "France",
                "Egypt",
                "South Africa",
                "United Arab Emirates"
              ]
            }
          },
          "qualityFilters": {
            "title": "🏅 Badges and store rating",
            "type": "array",
            "description": "Keep only the products that carry every badge you tick. <b>Verified supplier</b>: inspected by a third party, roughly half of the listings. <b>Verified Pro supplier</b>: Alibaba's top verification tier (wireless earbuds count 426 such products out of over 20,000). <b>Alibaba Guaranteed</b>: delivery by the date shown and money back for order issues (523 wireless earbuds products). <b>Store rating</b>: the supplier's rating from its buyers, 4.0, 4.5 or 5.0 and up. Leave empty for every product.",
            "items": {
              "type": "string",
              "enum": [
                "verified",
                "verifiedPro",
                "alibabaGuaranteed",
                "rating4",
                "rating4.5",
                "rating5"
              ],
              "enumTitles": [
                "Verified supplier",
                "Verified Pro supplier",
                "Alibaba Guaranteed",
                "Store rating 4.0 and up",
                "Store rating 4.5 and up",
                "Store rating 5.0"
              ]
            }
          },
          "includeDetails": {
            "title": "📄 Read product pages",
            "type": "boolean",
            "description": "On: each product's page is read to add its specifications, variants (SKUs) with their price and stock, sample price, customization options (logo, packaging), category path, production lead times, unit weight and size, and the supplier's record: business type, staff and factory size, on-time delivery, response time, dispute rate, online revenue and orders of the last six months, top buyers served, store rating. About one second per product. A row whose page cannot be read keeps its listing fields, and after a few unreadable pages in a row the run stops asking for them. Off: the listing fields only, fastest.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}