Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Alibaba scraper

The Zenrows Alibaba scraper turns any Alibaba product or search URL into structured JSON: product name, ID, brand, price tiers, minimum order quantity, lead times, customization options, supplier name, location, years on platform and store rating. You send the URL, Fetch in Adaptive Stealth Mode opens the page, and Extract returns the fields. Run it from an API call, the CLI or an AI agent.

Site
alibaba.com
Returns
Wholesale products, price tiers, MOQ and supplier details
Runs on
Fetch, Extract, Batch, Crawl
Updated
{
  "price_tiers": [
    { "currency": "EGP", "max_quantity": 49, "min_quantity": 2, "unit_price": 5258.61 },
    { "currency": "EGP", "max_quantity": 99, "min_quantity": 50, "unit_price": 5134.88 },
    { "currency": "EGP", "max_quantity": null, "min_quantity": 100, "unit_price": 5011.15 }
  ],
  "lead_times": [
    { "lead_time_days": "10", "max_quantity": null, "min_quantity": null },
    { "lead_time_days": "35", "max_quantity": null, "min_quantity": null }
  ],
  "customization_options": [
    { "type": "Drawing-based customization" },
    { "type": "Full customization" }
  ],
  "packaging": { "gross_weight": null, "package_size": null, "selling_units": "Single item" },
  "product": {
    "id": "1601831268627",
    "name": "Hot Sale 2.43*4.8M Hexagonal LED Honeycomb Light for Office & Garage Workshop Car Repair Portable",
    "brand": "Tianfu",
    "color": "White",
    "model_number": "14 Honeycomb (with frame)",
    "application": "Workshop, Car Repair, Garages, Warehouse, Office",
    "availability": "in_stock",
    "units_sold": 12
  },
  "supplier": {
    "name": "Anhui Tianfu New Material Co., Ltd.",
    "business_type": "Multispecialty Supplier",
    "location": "Hefei, CN",
    "years_on_platform": 3,
    "store_rating": 3.7,
    "store_rating_count": 43,
    "on_time_dispatch_rate": "≥93%",
    "response_time": "≤2h",
    "reorder_rate": "10%"
  }
}

Request and output of a live call to an Alibaba product page on Oct 29, 2026, trimmed for length. A field is returned when the page shows it, and the currency of the price tiers follows the location the page is opened from.

What data can you scrape from Alibaba?

Product pages and search results each come back as their own set of fields.

These are the ones sourcing and lead generation teams use most, with the path where each lives in the JSON.

FieldWhat it holdsExample
product.id Alibaba's product ID, the key to join other datasets 1601831268627
product.name Full listing title Hot Sale 2.43*4.8M Hexagonal LED Honeycomb Light…
product.brand Brand name shown on the listing Tianfu
product.model_number Model or variant label 14 Honeycomb (with frame)
product.units_sold Units sold, when the listing shows it 12
price_tiers[] Unit price for each quantity band, with currency { "min_quantity": 50, "unit_price": 5134.88 }
lead_times[] Days to ship for each order size { "lead_time_days": "10" }
customization_options[] Customization the supplier offers { "type": "Full customization" }
packaging.selling_units How the item is sold Single item
supplier.name Company name of the supplier Anhui Tianfu New Material Co., Ltd.
supplier.location City and country of the supplier Hefei, CN
supplier.years_on_platform Years the supplier has sold on Alibaba 3
supplier.store_rating Store rating and the number of ratings behind it 3.7
supplier.on_time_dispatch_rate Share of orders dispatched on time ≥93%
product_listings[].price_range (search) The price range shown for each result $11.12-12.93
product_listings[].minimum_order_quantity (search) The minimum order shown for each result Min. order: 100 meters
product_listings[].is_verified_supplier (search) Whether the result carries the verified supplier mark true

How to scrape Alibaba with Zenrows

  1. Create a free Zenrows account and copy your API key from the dashboard.
  2. Pick the Alibaba URL. A product page (/product-detail/…) or a search results page (/trade/search?SearchText=…) works the same way.
  3. Send it with the default configuration: Adaptive Stealth Mode to open the page and Extract to return the fields.
  4. Read parsed from the response. A product page returns product, price_tiers and supplier; a search page returns product_listings. To keep only some fields, list their paths and the response returns just those.
  5. Run your full list in Batch once one URL returns what you need, with the product ID as your own key.
# pip install requests
import json
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": "https://www.alibaba.com/product-detail/Hot-Sale-2-43-4-8M_1601831268627.html",
    "mode": "auto",       # Adaptive Stealth Mode
    "extract": "auto",    # structured JSON
}
response = requests.get("https://api.zenrows.com/v1/", params=params, timeout=180)
response.raise_for_status()

data = response.json()["parsed"]
supplier = data.get("supplier") or {}
tiers = data.get("price_tiers") or []
print(data["product"]["name"], supplier.get("name"))
for tier in tiers:
    print(tier["min_quantity"], tier["unit_price"], tier["currency"])
print(json.dumps(data, indent=2))

Input

The scraper takes one Alibaba URL per request, plus the options below.

The same parameters go into every task of a Batch job, so the input for a thousand products is a list of URLs with these settings.

ParameterTypeDefaultDescription
url string required Any Alibaba page: a product (/product-detail/…) or a search (/trade/search?SearchText=…)
mode string auto Adaptive Stealth Mode: starts with the lightest setup and adds rendering and protected-site handling only when the page needs them
extract string auto Returns the page's fields as JSON in parsed, next to the raw html
extract_fields string all fields Comma-separated paths to keep, such as product.name,price_tiers
proxy_country string any Two-letter country code. Alibaba shows the currency and some prices for the visitor's location
wait_for string none A CSS selector to wait for before the page is read
session_id integer none Reuse the same session across several requests, up to 10 minutes
Batch input
{
  "type": "regular",
  "status": "closed",
  "zenrows_params": {
    "mode": "auto",
    "extract": "auto"
  },
  "tasks": [
    { "url": "https://www.alibaba.com/product-detail/Hot-Sale-2-43-4-8M_1601831268627.html", "external_id": "1601831268627" },
    { "url": "https://www.alibaba.com/product-detail/Multicolour-LED-Neon-Flex-Rope-Light_1600954305924.html", "external_id": "1600954305924" },
    { "url": "https://www.alibaba.com/trade/search?SearchText=led+lights", "external_id": "search-led-lights" }
  ]
}

Output

Every response is JSON with two keys: html, the page as Alibaba served it, and parsed, the structured record. The shape of parsed follows the page type, so a product page and a search page return different groups. Both samples below are trimmed outputs of live requests.

Need a spreadsheet? Load parsed into pandas with pd.json_normalize(...) and write CSV or Excel. Need the page for an LLM? Ask for Markdown instead of JSON.

{
  "images": [
    { "url": "//s.alicdn.com/@sc04/kf/H8dd2bb8c76544678adfd73407ba2d4a65.png_960x960q80.jpg" }
  ],
  "price_tiers": [
    { "currency": "EGP", "max_quantity": 49, "min_quantity": 2, "unit_price": 5258.61 },
    { "currency": "EGP", "max_quantity": null, "min_quantity": 100, "unit_price": 5011.15 }
  ],
  "lead_times": [
    { "lead_time_days": "10", "max_quantity": null, "min_quantity": null }
  ],
  "product": {
    "id": "1601831268627",
    "name": "Hot Sale 2.43*4.8M Hexagonal LED Honeycomb Light for Office & Garage Workshop Car Repair Portable",
    "brand": "Tianfu",
    "color": "White",
    "availability": "in_stock",
    "units_sold": 12,
    "place_of_origin": null
  },
  "ratings": null,
  "sku_options": [],
  "supplier": {
    "name": "Anhui Tianfu New Material Co., Ltd.",
    "business_type": "Multispecialty Supplier",
    "location": "Hefei, CN",
    "years_on_platform": 3,
    "store_rating": 3.7,
    "store_rating_count": 43,
    "response_time": "≤2h"
  }
}

Connect the MCP server (Claude Code)

claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp

MCP config (Cursor, Claude Desktop, Windsurf)

{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": { "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY" }
    }
  }
}

Or run the CLI

npx -y @zenrows/cli init
zenrows extract "https://www.alibaba.com/trade/search?SearchText=led+lights"

Then ask your agent

Use Zenrows to open this Alibaba search, then list the suppliers with a
verified mark, their minimum order and price range, sorted by years on
the platform:
https://www.alibaba.com/trade/search?SearchText=led+lights

Scrape Alibaba from your coding agent

Claude Code, Cursor, Codex and any MCP client can scrape Alibaba from a prompt.

The agent calls the same Fetch and Extract request a developer would, so the JSON above is what it reads. Connect the Zenrows MCP server once, or install the CLI and let the agent run it in the terminal.

Scrape Alibaba at scale with Batch and Crawl

Batch runs a list of Alibaba URLs as one job: thousands of product pages in parallel, with your own ID on each result. Use it to track price tiers and minimum orders across a shortlist of suppliers every week.

Crawl finds the URLs for you. Start it on a search results page, keep the links that contain /product-detail/, and it returns every product page it reaches. Send that list to Batch.

Scheduled jobs run the same Batch job on a timetable, on Zenrows' side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can tell your app when a run finishes, and you can pause or resume the schedule at any time, with no cron server to keep alive.

curl -X POST "https://async.api.zenrows.com/v1/jobs" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "regular",
    "status": "closed",
    "zenrows_params": { "mode": "auto", "extract": "auto" },
    "tasks": [
      { "url": "https://www.alibaba.com/product-detail/Hot-Sale-2-43-4-8M_1601831268627.html", "external_id": "1601831268627" },
      { "url": "https://www.alibaba.com/product-detail/Multicolour-LED-Neon-Flex-Rope-Light_1600954305924.html", "external_id": "1600954305924" }
    ]
  }'

# Read the results when the job finishes
curl "https://async.api.zenrows.com/v1/jobs/JOB_ID/results?status=successful" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY"

What teams do with Alibaba data

Use caseData they pullWho runs it
Supplier sourcing Supplier name, location, years on platform, store rating, dispatch rate Procurement and sourcing teams
Landed cost modeling Price tiers, minimum order quantity, lead times, packaging Importers and ecommerce operators
Wholesale price tracking Price range and tier changes for the same product over time Pricing analysts and resellers
Product and trend research Units sold, ratings and listings per search keyword Product managers and market researchers
Supplier lead lists Company names, business type and location for a product category B2B sales and lead generation teams
AI sourcing agents The full product record, or the page as Markdown AI and data teams

Tips for scraping Alibaba

  • Use the product ID as your key. The ID in product.id and product_listings[].product_id is the number at the end of the product URL, so it joins search results to product pages without parsing titles.
  • Read price tiers, not a single price. A listing has one unit price per quantity band in price_tiers[]. Pick the tier that matches your order size and read min_quantity and max_quantity to know where it applies.
  • Set the country you buy from. The currency and some prices follow the visitor's location, so keep the same country on every request when you compare over time. The sample above returned prices in EGP from an unset location.
  • Search pages give the shortlist. /trade/search?SearchText=… returns price range, minimum order and supplier basics for each result. Request the product pages only for the listings you keep.
  • Expect empty fields. Specification fields such as product.rated_power or product.weight appear on the categories that use them and come back as null elsewhere, so read optional groups defensively.
  • Paginate searches with the page parameter. Add &page=2 to the search URL and request each page in Batch.

Frequently asked questions

  • Collecting publicly available data from Alibaba, such as product listings, price tiers and the business details suppliers publish, is common practice for sourcing and market research. Listings can include named individuals, and personal data is protected by laws such as the GDPR and the CCPA, so collect only what you have a legitimate reason to use. Check Alibaba's terms for your use case and ask your lawyer if you are unsure.

  • Alibaba.com has an Open Platform for sellers and approved partners, with access tied to a registered account and an approved application, and it focuses on managing your own products and orders. It does not return the public listing of any supplier on demand, which is why teams use a scraper for sourcing and competitor data.

  • Product pages (/product-detail/…) and search results (/trade/search?SearchText=…) on alibaba.com. Send the URL as it appears in your browser.

  • Yes. Product pages return every price tier with its quantity band and currency, and search results return the price range and the minimum order shown for each listing. Request from a fixed country so the currency stays the same between runs.

  • Send a GET request to https://api.zenrows.com/v1/ with your API key, the Alibaba URL, Adaptive Stealth Mode and Extract turned on, as in the Python example above. The response's parsed key holds the product as a Python dictionary. The zenrows package on PyPI wraps the same request.

  • Send one URL per request, or a whole list as a Batch job that runs the URLs in parallel and keeps your own ID on each result. One Batch job accepts more than 10,000 URLs, sent inline or as a CSV file.

  • No. Extract returns each field by name, so your code reads parsed instead of parsing Alibaba's HTML. For a field of your own, send a separate request with CSS selectors instead of Extract.

  • Yes. Connect the Zenrows MCP server to Claude, Cursor, Codex or any MCP client, or give your agent the Zenrows CLI. Ask for the suppliers or products you want in plain language and the agent calls Fetch and Extract for you.

  • Yes. Create a scheduled Batch job with your Alibaba URLs and the same settings as a single request, and Zenrows runs it on its side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can notify your app when a run finishes, and the schedule can be paused or resumed at any time.

  • Zenrows works with n8n, Make, Zapier, Clay, Dify, LangChain, LlamaIndex, CrewAI and Mastra, plus the Python, Node.js and Go SDKs and any HTTP client. Send results to Google Sheets, a database or a data warehouse from the workflow tool you already use. See the integrations page for the full list.

  • JSON by default, with the structured record in parsed and the original page in html. You can also ask for the page as Markdown or plain text, which is what most LLM and RAG pipelines want.

Turn the live web into usable data.

Start building free 5,000 credits/month, always