{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Alibaba Supplier Scraper · 2,500 Free Suppliers/Month",
    "description": "Alibaba Supplier Scraper gets you verified manufacturers ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — keyword search with years on Alibaba, staff, response time & full company profile on demand. 💰 $2 per 1,000 suppliers, no start fee. Scrape your first 2,500 suppliers free every month 🚀",
    "version": "0.0",
    "x-build-id": "0Iy1tpAg4Ld1GF3h8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~alibaba-supplier-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-alibaba-supplier-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-supplier-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-alibaba-supplier-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-supplier-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-alibaba-supplier-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": "Product or industry keywords exactly as you would type them into the site's supplier search (`raspberry pi`, `led strip`, `silver jewelry`), or pasted supplier store URLs — `https://<store>.en.alibaba.com/…`, the host every Alibaba search result and product page links to — which are scraped as a full company profile. Rows carry a `search_query` field so you can tell searches apart.",
            "items": {
              "type": "string"
            }
          },
          "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`."
          },
          "verifiedSupplier": {
            "title": "Verified Suppliers only",
            "type": "boolean",
            "description": "Keep only Verified Suppliers (third-party inspected).",
            "default": false
          },
          "verifiedPro": {
            "title": "Verified Pro Suppliers only",
            "type": "boolean",
            "description": "Keep only Verified Pro suppliers.",
            "default": false
          },
          "tradeAssurance": {
            "title": "Trade Assurance only",
            "type": "boolean",
            "description": "Keep only Trade Assurance suppliers (order protection through Alibaba).",
            "default": false
          },
          "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"
            }
          },
          "maxResultsPerQuery": {
            "title": "Max Results per Query",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of suppliers to scrape per search query. Use this to control your cost (1,000 suppliers ≈ $2). Alibaba serves at most 2,000 suppliers per keyword (100 pages of 20). Ignored for pasted store URLs.",
            "default": 20
          },
          "scrapeDetails": {
            "title": "Scrape Full Company Profiles",
            "type": "boolean",
            "description": "When enabled, every supplier found is also scraped in full — `address`, `location` and `province`, `business_type`, `established_year`, `employees`, `supplier_stars`, `main_products` and `main_markets`, the company `description` and `about_images`, `management_certifications`, `total_annual_revenue`, `accepted_payment_methods`, `accepted_currencies` and `accepted_delivery_terms`, `contract_manufacturing` (OEM / design / buyer label), `capability_tags`, `identity` and `verification` (supplier assessment, on-site check, AV check, verified video), the `is_gold_supplier` / `is_verified_supplier` / `is_trade_assurance` / `is_local_supplier` flags, `performance` (response time, on-time delivery rate, half-year order amount and count, video call) and `rating`. Still one dataset row per supplier, billed once at the detailed-supplier rate instead of the standard rate (1,000 detailed suppliers ≈ $4 vs $2 standard). Pasted store URLs are always scraped in full.",
            "default": false
          },
          "includeProducts": {
            "title": "Scrape Each Supplier's Products",
            "type": "boolean",
            "description": "When enabled, for every supplier found the Actor also lists the products in its store — one extra dataset row per product with `row_type: \"product\"`, the `supplier` it belongs to (id, name, subdomain, link), title, images, price range, price unit, MOQ, 180-day sold count, order count, monthly views, review score, certifications and the ready-to-ship / Alibaba Guaranteed / customizable / fast-dispatch flags. Product rows are billed at the standard supplier rate ($2 per 1,000).",
            "default": false
          },
          "maxProductsPerSupplier": {
            "title": "Max Products per Supplier",
            "minimum": 1,
            "maximum": 8000,
            "type": "integer",
            "description": "Maximum number of products to list per supplier store. Alibaba serves 16 products a page for up to 500 pages, so one store yields at most 8,000 products.",
            "default": 16
          },
          "productQuery": {
            "title": "Product Keyword",
            "type": "string",
            "description": "Optional keyword to search within each store — only products matching it are listed (`necklace`, `compute module`). Leave empty for the whole catalogue."
          },
          "productSortBy": {
            "title": "Product Sort By",
            "enum": [
              "newest",
              "price",
              "orders",
              "relevance",
              "supplier_selected"
            ],
            "type": "string",
            "description": "Order of the products within each store.",
            "default": "newest"
          },
          "currency": {
            "title": "Currency",
            "pattern": "^[A-Za-z]{3}$",
            "type": "string",
            "description": "3-letter ISO 4217 code the product rows' prices are rendered in — `USD`, `EUR`, `GBP`, `INR`, `JPY`, …",
            "default": "USD"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}