Scrape Alibaba.com products, wholesale prices, MOQs, suppliers and buyer reviews as clean JSON β 100% free and open source.
Alibaba Scraper turns any Alibaba.com page into structured JSON β 12 endpoints covering product search with 16 filters, full product pages (volume price ladder, every SKU with its own price and stock, lead times, certifications), supplier profiles, buyer reviews, and reverse image search.
Perfect for product research, price monitoring, dropshipping and supplier sourcing. Free forever, unlimited requests, runs on your machine.
- Rated Excellent β 4.7 based on 33 reviews on Trustpilot. Our open source work is sponsored by 1000+ devs on GitHub.
1οΈβ£ Clone and install:
git clone https://github.com/omkarcloud/alibaba-scraper
cd alibaba-scraper
python -m pip install -r requirements.txt2οΈβ£ Start the API:
python run.py3οΈβ£ Get your first data:
curl "http://localhost:8000/products/search?query=raspberry+pi"{
"count": 20301,
"per_page": 48,
"current_page": 1,
"total_pages": 100,
"next": "http://localhost:8000/products/search?query=raspberry+pi&page=2",
"results": [
{
"id": 1601110348559,
"title": "Original Raspberry Pi 4 Model B 1GB/ 2GB/ 4GB/ 8GB SDRAM Raspberry PI 4B",
"link": "https://www.alibaba.com/product-detail/Original-Raspberry-Pi-4-Model-B_1601110348559.html",
"price": { "min": 79.0, "max": 79.0, "currency": "USD", "formatted": "$79" },
"moq": { "quantity": 1, "unit": "piece" },
"rating": { "review_score": 5.0, "review_count": 14 },
"supplier": { "name": "Shenzhen Silver Qiao Electronic Technology Co., Ltd.", "country_code": "CN", "years_on_alibaba": 5 }
}
]
}All 12 endpoints are now live at http://localhost:8000.
The same API is published on RapidAPI, and its playground is the easiest place to try parameters and see raw responses. Once a request looks right, run it locally.
- Subscribe to the free plan β 1,000 calls/month, no credit card.
- Try the endpoints in the playground β every param is pre-filled, so you see real data in one click.
- Copy the generated code and replace
https://best-alibaba-scraper-free-1000-calls.p.rapidapi.comwithhttp://localhost:8000. It now runs against your local API.
import requests
# generated by the playground, host swapped for the local API
response = requests.get(
"http://localhost:8000/products/search",
params={"query": "raspberry pi"},
)
print(response.json())Alibaba rate-limits by IP, so a bare home or server IP will get blocked. After a handful of requests you start getting 502s ("alibaba blocked the request") that clear on their own after a few minutes. Fine for trying things out β not for real scraping.
Fix it by pointing the scraper at any residential proxy provider:
export ALIBABA_PROXY="http://username:password@proxy.provider.com:port"
python run.pyEvery path also works with an /alibaba prefix, and all of them are GET.
| Endpoint | Path | Returns |
|---|---|---|
| Product Details | /products/details |
Price ladder, MOQ, every SKU with stock, images, attributes, certifications, supplier |
| Search Products | /products/search |
48 products/page β 16 filters: price, MOQ, rating, country, badges, certifications |
| Products By Category | /products/by-category |
A whole category, 48/page, with the same filters |
| Search By Image | /products/search-by-image |
Matching products from any photo URL, 20/page, with crop regions |
| Product Reviews | /products/reviews |
Buyer reviews β rating, translated text, photos, country, supplier reply |
| Autocomplete | /autocomplete |
Search-bar keyword suggestions |
| Categories | /categories |
The whole category tree with IDs |
| Trending Keywords | /trending-keywords |
What buyers are searching for right now |
| Search Suppliers | /suppliers/search |
20 manufacturers/page β years, badges, rating, response time |
| Supplier Details | /suppliers/details |
Company profile β verification, factory facts, markets, payment terms |
| Supplier Products | /suppliers/products |
Everything one supplier sells, 16/page, searchable & sortable |
| Supplier Reviews | /suppliers/reviews |
Every review across a supplier's catalog |
Every product, supplier, category and image param takes either an ID or the alibaba.com link you copied from your browser. List endpoints return count, per_page, current_page, total_pages and ready-to-follow next / previous links. Prices are numbers with a separate currency, dates are ISO, and anything missing is null.
- Google Maps Scraper (3,100+ GitHub Stars) β every business for any niche and location: name, address, phone, ratings, website. Up to 100K free leads a month.
- Website Email & Contact Scraper β emails, phones, 17 social platforms and the tech stack of any website.
- G2 Scraper API β G2 product pages as clean JSON: reviews, pricing, ratings, company details.
- Trustpilot Scraper API β real-time Trustpilot profiles and every review for any domain.
Message us anytime and we'll solve your query within 1 working day β you talk to the engineers who built the scraper, not a support script.
Love It? Star It β!
Star the repo β and become a star hero!
It's just 1 click, but it means the world to me.


