{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Alibaba Scraper · 5,000 Free Products/Month",
    "description": "Alibaba Scraper gets you Alibaba.com products ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — keyword & category search, every site filter, full pages with price ladder, MOQ, SKUs & supplier. 💰 $1 per 1,000 products, no start fee. Scrape your first 5,000 products free every month 🚀",
    "version": "0.0",
    "x-build-id": "KURJwpQq1kcrWgZQf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~alibaba-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~alibaba-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~alibaba-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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": {
          "queries": {
            "title": "Search Queries",
            "type": "array",
            "description": "Keywords exactly as you would type them into the site's search box (`raspberry pi`, `wireless earbuds`), or pasted alibaba.com URLs: a product page (`/product-detail/…_1600371615858.html`) is scraped in full, a category or catalog page (`/catalog/Consumer-Electronics_cid44`) is browsed like the Category field below, a search URL (`/trade/search?SearchText=…`) is searched. Rows carry a `search_query` field so you can tell searches apart.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Restrict every search to one category, or — with no keyword — browse the whole category (48 products a page, up to 100 pages). A category ID (`44`) or any alibaba.com category / catalog URL (`https://www.alibaba.com/catalog/Consumer-Electronics_cid44`)."
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "best_match",
              "orders",
              "response_rate"
            ],
            "type": "string",
            "description": "Order of the results.",
            "default": "best_match"
          },
          "minPrice": {
            "title": "Min Price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest unit price to return, in the Currency below."
          },
          "maxPrice": {
            "title": "Max Price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest unit price to return, in the Currency below."
          },
          "minMoq": {
            "title": "Min Order Quantity — from",
            "minimum": 1,
            "type": "integer",
            "description": "Only products whose minimum order quantity is at least this many units."
          },
          "maxMoq": {
            "title": "Min Order Quantity — up to",
            "minimum": 1,
            "type": "integer",
            "description": "Only products whose minimum order quantity is at most this many units — handy for small test orders."
          },
          "minReviewScore": {
            "title": "Supplier Review Score",
            "enum": [
              "",
              "4",
              "4.5",
              "5"
            ],
            "type": "string",
            "description": "Only products from suppliers rated at least this many stars.",
            "default": ""
          },
          "supplierCountry": {
            "title": "Supplier Country",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string",
            "description": "Only suppliers located in this country — a 2-letter ISO code such as `CN`, `US`, `IN`, `TR` or `VN`."
          },
          "tradeAssurance": {
            "title": "Trade Assurance only",
            "type": "boolean",
            "description": "Keep only products from Trade Assurance suppliers (order protection through Alibaba).",
            "default": false
          },
          "verifiedSupplier": {
            "title": "Verified Suppliers only",
            "type": "boolean",
            "description": "Keep only products from Verified Suppliers (third-party inspected).",
            "default": false
          },
          "verifiedPro": {
            "title": "Verified Pro Suppliers only",
            "type": "boolean",
            "description": "Keep only products from Verified Pro suppliers.",
            "default": false
          },
          "alibabaGuaranteed": {
            "title": "Alibaba Guaranteed only",
            "type": "boolean",
            "description": "Keep only Alibaba Guaranteed products (on-time delivery and money-back protection).",
            "default": false
          },
          "freeSample": {
            "title": "Sample available only",
            "type": "boolean",
            "description": "Keep only products that offer a sample order.",
            "default": false
          },
          "shipsFrom": {
            "title": "Local Warehouse",
            "enum": [
              "",
              "eu",
              "us",
              "gb",
              "de"
            ],
            "type": "string",
            "description": "Only products stocked in a local warehouse of this region.",
            "default": ""
          },
          "deliveryDays": {
            "title": "Delivery within (days)",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Only products with guaranteed delivery within this many days."
          },
          "supplierCertifications": {
            "title": "Supplier Certifications",
            "type": "array",
            "description": "Company certifications the supplier must hold — `ISO`, `BSCI`, `IATF 16949`, … Every row of a search response lists the ones available under `filters.supplier_certifications` on the API.",
            "items": {
              "type": "string"
            }
          },
          "productCertifications": {
            "title": "Product Certifications",
            "type": "array",
            "description": "Product certifications required — `CE`, `ROHS`, `FCC`, `UL`, …",
            "items": {
              "type": "string"
            }
          },
          "currency": {
            "title": "Currency",
            "pattern": "^[A-Za-z]{3}$",
            "type": "string",
            "description": "3-letter ISO 4217 code the prices are rendered in — `USD`, `EUR`, `GBP`, `INR`, `JPY`, … The Min / Max Price filters are read in this currency too.",
            "default": "USD"
          },
          "maxResultsPerQuery": {
            "title": "Max Results per Query",
            "minimum": 1,
            "maximum": 4800,
            "type": "integer",
            "description": "Maximum number of products to scrape per search query or category. Use this to control your cost (1,000 products ≈ $1). Alibaba serves at most 4,800 products per search (100 pages of 48). Ignored for pasted product URLs.",
            "default": 48
          },
          "scrapeDetails": {
            "title": "Scrape Full Product Pages",
            "type": "boolean",
            "description": "When enabled, every product found is also scraped in full — the complete `price` block with the quantity ladder, per-SKU prices and promotion, `variants` (every attribute with its values and every SKU with price and stock), `inventory` with ships-from warehouses and total stock, `lead_time` by quantity, `packaging`, `highlights`, `key_attributes`, `attributes`, `sales`, `certifications`, `samples`, `shipping` options, the `description` (details, specification, packing, FAQ) and the full `supplier` profile (business type, response time, on-time delivery rate, rating breakdown, half-year transactions, Trade Assurance amount, main markets). Still one dataset row per product, billed once at the detailed-product rate instead of the standard rate (1,000 detailed products ≈ $2.50 vs $1 standard). Pasted product URLs are always scraped in full.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}