All scrapers

E-commerce

Alibaba Scraper

alibaba.com

100% Success rate
2.2s Avg response
Bot detection + rate limiting Protection
1,267 calls Measured over

Alibaba.com is served through two dedicated plugin endpoints rather than the generic page fetch. Give the search endpoint a keyword - like 'bluetooth speaker', in any language - and it returns the products already parsed: product id, title, URL, images and category, the price range in USD with Alibaba's price per quantity range and any promotion price, the minimum order quantity with its unit, how many have sold, the supplier's store rating and review count, the lead time in days, certifications, a sponsored flag, and the supplier card with name, store and profile URL, country, years on Alibaba, the Verified, Verified PRO and Gold Supplier flags, Trade Assurance and response rate. Sort by relevance or by sales over the last 180 days, keep only Verified or Verified PRO suppliers, Trade Assurance products or suppliers in one country, and collect up to 480 products per call at 48 per page, continuing from nextPage up to Alibaba's page 100. The product endpoint takes a product id or URL and returns one listing in full: the price per quantity range in the local currency and in USD, SKU variants with their prices, attributes, the minimum order, the lead time per quantity, packaging, where it ships from, Trade Assurance and the supplier's location, business type, rating, response time and on-time delivery rate. It reads Alibaba's public pages: no Alibaba account, buyer login or API key is involved.

What you can extract

  • Product id, title, URL, images and category
  • Price range in USD, the price per quantity range (price tiers) and any promotion price
  • Minimum order quantity (MOQ) with its unit, sold count and lead time in days
  • Supplier name, store and profile URL, country, years on Alibaba, Verified, Verified PRO and Gold Supplier flags, Trade Assurance and response rate
  • The supplier's store rating and review count, certifications and a sponsored flag
  • Search by keyword, sorted by relevance or sales, filtered to Verified or Verified PRO suppliers, Trade Assurance or a supplier country; up to 480 products per call
  • Product detail: SKU variants with their prices, attributes, lead time per quantity, packaging, ship-from and videos
  • Product detail supplier card: location, business type, rating, reviews, response time and on-time delivery rate
  • Product prices in the exit country's currency, with every figure also in USD

Dedicated endpoints

/marketplace/alibaba-search

A product search on Alibaba.com

Alibaba products for a keyword (q): a products array with productId, title, url, image, thumbnail, images, priceText, priceMin, priceMax, currency (USD), priceTiers (minQuantity, maxQuantity, price, promotionPrice), the promotion price, moq, moqUnit, sold, rating, reviewsCount, leadTimeDays, category, certifications, sponsored and supplier (name, url, profileUrl, country, yearsOnAlibaba, verified, verifiedPro, goldSupplier, tradeAssurance, responseRate), plus totalResults, pagesFetched, lastPageFetched, droppedFromLastPage, hasMore and nextPage. sort is relevance or sales; verified, verified_pro and trade_assurance (true or false) and supplier_country (ISO-2) filter the results; max_results 1-480 at 48 per page, and page (1-100) sets where to start.

/marketplace/alibaba-product

One Alibaba.com product in full

One product by product_id or url: title, categories, images, videos, priceText with priceMin and priceMax in the local currency and priceMinUsd and priceMaxUsd, priceTiers per quantity range (local and USD), moq and unit, variants (options and SKUs with their prices), attributes, leadTimes per quantity range, packaging, shippingMethods, shipFrom, tradeAssurance, tradeTerm and supplier (name, url, profileUrl, country, location, yearsOnAlibaba, businessType, goldSupplier, verified, verifiedBy, rating, reviewsCount, responseTime, onTimeDeliveryRate). proxy_country sets the local currency; a removed or unknown product answers 404.

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/marketplace/alibaba-search?q=bluetooth%20speaker&trade_assurance=true&max_results=48"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/marketplace/alibaba-search",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"q": "bluetooth speaker", "trade_assurance": "true", "max_results": "48"},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });

const results = await su.alibabaSearch('bluetooth speaker', {
  tradeAssurance: true,
  maxResults: 48,
});
const product = await su.alibabaProduct('1600535081811');
console.log(results);
console.log(product);

Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.

Example response

{
  "query": "bluetooth speaker",
  "filters": {
    "sort": "relevance",
    "verified": false,
    "verified_pro": false,
    "trade_assurance": true,
    "supplier_country": null
  },
  "page": 1,
  "products": [
    {
      "productId": "1601207586306",
      "title": "Portable Mini Bluetooth Wireless Speakers Outdoor Sports Waterproof Portable Subwoofer Super Bass Wireless BT Speaker",
      "url": "https://www.alibaba.com/product-detail/Portable-Mini-Bluetooth-Wireless-Speakers-Outdoor_1601207586306.html",
      "image": "https://s.alicdn.com/@sc04/kf/H96bf8f906a7242c2a3a05b30d7c2c4act.jpg",
      "thumbnail": "https://s.alicdn.com/@sc04/kf/H96bf8f906a7242c2a3a05b30d7c2c4act.jpg_300x300.jpg",
      "priceText": "US $2.79-$2.99",
      "priceMin": 2.79,
      "priceMax": 2.99,
      "currency": "USD",
      "priceTiers": [
        { "minQuantity": 2, "maxQuantity": 99, "price": 2.99, "promotionPrice": 2.69 },
        { "minQuantity": 100, "maxQuantity": 999, "price": 2.95, "promotionPrice": 2.65 },
        { "minQuantity": 1000, "maxQuantity": 99999, "price": 2.89, "promotionPrice": 2.6 },
        { "minQuantity": 100000, "maxQuantity": null, "price": 2.79, "promotionPrice": 2.51 }
      ],
      "promotionPriceText": "US $2.51-$2.69",
      "discountText": "10% off",
      "moq": 2,
      "moqUnit": "pieces",
      "moqText": "2 pieces",
      "sold": 1625,
      "soldText": "1,625 sold",
      "rating": 4.4,
      "reviewsCount": 111,
      "leadTimeDays": 7,
      "category": "Speakers",
      "sponsored": false,
      "certifications": ["FCC", "DECLARATION OF CONFORMITY"],
      "supplier": {
        "name": "Shenzhen Yuzhuo Technology Co., Ltd.",
        "companyId": "231401697",
        "url": "https://szyz.en.alibaba.com/",
        "profileUrl": "https://szyz.en.alibaba.com/company_profile.html",
        "country": "CN",
        "yearsOnAlibaba": 13,
        "verified": true,
        "verifiedPro": false,
        "goldSupplier": true,
        "tradeAssurance": true,
        "responseRate": "84.8%"
      }
    },
    {
      "productId": "1600535081811",
      "title": "Professional Portable Wireless Bluetooth Speaker With Super Bass Active Stereo Waterproof Loud Sound Woofer Outdoor Use",
      "url": "https://www.alibaba.com/product-detail/Professional-Portable-Wireless-Bluetooth-Speaker-With_1600535081811.html",
      "image": "https://s.alicdn.com/@sc04/kf/Hc86d8b202768487fa63d3347a61ca8e81.png",
      "thumbnail": "https://s.alicdn.com/@sc04/kf/Hc86d8b202768487fa63d3347a61ca8e81.png_300x300.png",
      "priceText": "US $12.20-$12.51",
      "priceMin": 12.2,
      "priceMax": 12.51,
      "currency": "USD",
      "priceTiers": [
        { "minQuantity": 500, "maxQuantity": 2999, "price": 12.51, "promotionPrice": null },
        { "minQuantity": 3000, "maxQuantity": null, "price": 12.2, "promotionPrice": null }
      ],
      "promotionPriceText": null,
      "discountText": null,
      "moq": 500,
      "moqUnit": "pieces",
      "moqText": "500 pieces",
      "sold": 46,
      "soldText": "46 sold",
      "rating": 4.8,
      "reviewsCount": 10,
      "leadTimeDays": 25,
      "category": "Speakers",
      "sponsored": false,
      "certifications": ["EMC", "ROHS", "FCC"],
      "supplier": {
        "name": "Shenzhen Form Electronics Co., Ltd.",
        "companyId": "200012573",
        "url": "https://form-e.en.alibaba.com/",
        "profileUrl": "https://form-e.en.alibaba.com/company_profile.html",
        "country": "CN",
        "yearsOnAlibaba": 19,
        "verified": true,
        "verifiedPro": false,
        "goldSupplier": true,
        "tradeAssurance": true,
        "responseRate": "97.8%"
      }
    }
  ],
  "resultsCollected": 48,
  "totalResults": 396885,
  "lastPage": 100,
  "pagesFetched": 1,
  "lastPageFetched": 1,
  "droppedFromLastPage": 0,
  "hasMore": true,
  "nextPage": 2,
  "visitCountry": "DE"
}

Read the API docs

Frequently asked questions

Is it legal to scrape Alibaba?

Collecting publicly available Alibaba.com data such as product titles, prices, minimum orders and supplier details is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. ScrapeUnblocker returns the public listings; what you collect and how you use it is your responsibility.

How do I scrape Alibaba without getting blocked?

Alibaba answers an address it does not trust with a slider captcha page sent as a normal 200 response, so a plain scraper stores the captcha as if it were data. The /marketplace/alibaba-search plugin reads the same JSON results service the alibaba.com search page pages through, draws a fresh exit when the captcha comes back, up to three tries, and then tries the server-rendered results page once before it answers 502 rather than returning the captcha. The product endpoint reads the product page the same way, and no browser is involved. In ScrapeUnblocker's benchmark it returned real data on 100% of 1,267 calls, about 2.2s per call: 828 searches, each a different query (some in other languages, on later pages or with filters), at about 2.5s, and 439 product pages at about 1.5s.

What Alibaba data can I get?

The search endpoint returns, for each product, its id, title, URL, images and category, the USD price range with the price per quantity range and any promotion price, the minimum order with its unit, the sold count, the supplier's store rating and review count, the lead time in days, certifications, a sponsored flag and the supplier card: name, store and profile URL, country, years on Alibaba, Verified, Verified PRO and Gold Supplier flags, Trade Assurance and response rate. The product endpoint adds the full listing: SKU variants with their prices, attributes, lead time per quantity, packaging, ship-from, trade term, videos, and the supplier's location, business type, response time and on-time delivery rate. Alibaba hides some listings in some countries; a product that is not shown in the first exit's country is read once more through a US exit before it is called missing (404).

How many Alibaba products can I get per search?

Alibaba serves 48 products per results page and stops paging a query at page 100. One call collects up to 480 products (max_results 1-480, ten pages); to go further, call again with page set to the nextPage of the previous response. nextPage is always the next page none of whose products were returned, so when max_results ends inside a page the rest of that page is skipped (droppedFromLastPage counts it); ask in multiples of 48 to get every product. Alibaba offers two orders on its product tab, relevance and sales (most sold over the last 180 days), and the filters are the ones its own search page has: verified and verified_pro for inspected suppliers, trade_assurance for products covered by Trade Assurance and supplier_country for suppliers located in one country, such as CN, US or IN. totalResults shows how many products match.

What currency are Alibaba prices in?

Search results are priced in USD, the way Alibaba's results service returns them; if the plugin has to fall back to the results page, prices come in the exit country's currency and currency says which. The product endpoint returns the exit country's currency, which you can pin with proxy_country, together with the USD figures priceMinUsd and priceMaxUsd, and every quantity tier in both. Price tiers are Alibaba's wholesale steps, for example 2-99 pieces at USD 2.99 and 100-999 pieces at USD 2.95, and moq with its unit is the smallest order the supplier accepts.

How much does it cost to scrape Alibaba?

A search is billed one request per results page served: up to 48 products is 1 request, 480 products up to 10, and pagesFetched shows the exact number. A product is one request. 1 request = 1 credit, EUR 1.00 per 1,000 on pay as you go, down to about EUR 0.55 per 1,000 on the Ultimate plan. Blocks and timeouts are not billed, and the free trial includes 500 requests with no card.

Related scrapers

Start scraping this site today

Free tier included. No credit card required to test it.